Skip to content

Commit 4213ff1

Browse files
committedJan 14, 2021
consistent .eslintrc.js, few formatting fixes #139
1 parent 659f3d6 commit 4213ff1

File tree

43 files changed

+85
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+85
-121
lines changed
 

‎.vscode/settings.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
},
1717
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
1818
"editor.formatOnSave": true,
19-
"eslint.alwaysShowStatus": true,
2019
"editor.codeActionsOnSave": {
2120
"source.fixAll.eslint": true
2221
},
22+
"eslint.alwaysShowStatus": true,
2323
"eslint.workingDirectories": [
24-
{ "directory": "./app", "changeProcessCWD": true },
25-
{ "directory": "./api", "changeProcessCWD": true },
26-
{ "directory": "./lambda", "changeProcessCWD": true },
24+
{ "directory": "./saas/app", "changeProcessCWD": true },
25+
{ "directory": "./saas/api", "changeProcessCWD": true },
26+
{ "directory": "./saas/lambda", "changeProcessCWD": true },
2727
{ "directory": "./book/1-end/app", "changeProcessCWD": true },
2828
{ "directory": "./book/2-begin/app", "changeProcessCWD": true },
2929
{ "directory": "./book/2-end/app", "changeProcessCWD": true },

‎book/1-end/app/.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
es6: true,
99
node: true,
1010
},
11+
plugins: ['prettier', 'react'],
1112
rules: {
1213
'prettier/prettier': [
1314
'error',
@@ -27,5 +28,4 @@ module.exports = {
2728
'prefer-arrow-callback': 'error',
2829
'@typescript-eslint/explicit-module-boundary-types': 'off',
2930
},
30-
plugins: ['prettier', 'react'],
3131
};

0 commit comments

Comments
 (0)
Please sign in to comment.