Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 85f1efe

Browse files
committed
prettier rule change
1 parent 6fd8800 commit 85f1efe

File tree

24 files changed

+54
-52
lines changed

24 files changed

+54
-52
lines changed

‎.prettierrc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2-
'singleQuote': true,
3-
'trailingComma': 'es5',
4-
}
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"trailingComma": "all"
8+
}

‎src/containers/App/Backend/Access/Permissions/Form.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ const withReducer = injectReducer({ key: 'permissions', reducer });
215215

216216
const withConnect = connect(
217217
mapStateToProps,
218-
{ postPermission, onFormLoad, onFormUnLoad }
218+
{ postPermission, onFormLoad, onFormUnLoad },
219219
);
220220

221221
export default compose(
222222
withReducer,
223223
withreduxForm,
224-
withConnect
224+
withConnect,
225225
)(Form);

‎src/containers/App/Backend/Access/Permissions/List.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,10 @@ const withConnect = connect(
266266
onClickDeleteAction,
267267
onLoadAction,
268268
onLoadRequestAction,
269-
}
269+
},
270270
);
271271

272272
export default compose(
273273
withReducer,
274-
withConnect
274+
withConnect,
275275
)(List);

‎src/containers/App/Backend/Access/Permissions/View.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ const withReducer = injectReducer({ key: 'permissions', reducer });
123123

124124
const withConnect = connect(
125125
mapStateToProps,
126-
{ onViewPageLoad, onViewUnload }
126+
{ onViewPageLoad, onViewUnload },
127127
);
128128

129129
export default compose(
130130
withReducer,
131-
withConnect
131+
withConnect,
132132
)(View);

‎src/containers/App/Backend/Access/Permissions/agent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Permission = {
1010
requests.get(
1111
`/permissions?page=${requestObj.page + 1}&orderBy=${
1212
requestObj.orderBy
13-
}&sortBy=${requestObj.sortBy}`
13+
}&sortBy=${requestObj.sortBy}`,
1414
),
1515
get: id => requests.get(`/permissions/${id}`),
1616
del: id => requests.del(`/permissions/${id}`),

‎src/containers/App/Backend/Access/Permissions/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default (state = initialState, action) => {
5353
return {
5454
...state,
5555
permissions: state.permissions.filter(
56-
permission => permission.id !== action.payload.data
56+
permission => permission.id !== action.payload.data,
5757
),
5858
};
5959

‎src/containers/App/Backend/Access/Roles/Form.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ const withReducer = injectReducer({ key: 'roles', reducer });
249249

250250
const withConnect = connect(
251251
mapStateToProps,
252-
{ postRole, onFormLoad, onFormUnLoad, onLoadPermissionsAction }
252+
{ postRole, onFormLoad, onFormUnLoad, onLoadPermissionsAction },
253253
);
254254

255255
export default compose(
256256
withReducer,
257257
withreduxForm,
258-
withConnect
258+
withConnect,
259259
)(Form);

‎src/containers/App/Backend/Access/Roles/List.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@ const withConnect = connect(
294294
onClickDeleteAction,
295295
onLoadAction,
296296
onLoadRequestAction,
297-
}
297+
},
298298
);
299299

300300
export default compose(
301301
withReducer,
302-
withConnect
302+
withConnect,
303303
)(List);

‎src/containers/App/Backend/Access/Roles/View.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ const withReducer = injectReducer({ key: 'roles', reducer });
159159

160160
const withConnect = connect(
161161
mapStateToProps,
162-
{ onViewPageLoad, onViewUnload }
162+
{ onViewPageLoad, onViewUnload },
163163
);
164164

165165
export default compose(
166166
withReducer,
167-
withConnect
167+
withConnect,
168168
)(View);

‎src/containers/App/Backend/Access/Roles/agent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Role = {
55
requests.get(
66
`/roles?page=${requestObj.page + 1}&orderBy=${
77
requestObj.orderBy
8-
}&sortBy=${requestObj.sortBy}`
8+
}&sortBy=${requestObj.sortBy}`,
99
),
1010
get: id => requests.get(`/roles/${id}`),
1111
del: id => requests.del(`/roles/${id}`),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /