File tree 3 files changed +18
-18
lines changed
3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 14
14
15
15
"plugins" : [
16
16
" import" ,
17
- " node " ,
17
+ " n " ,
18
18
" promise"
19
19
],
20
20
231
231
"import/no-named-default" : " error" ,
232
232
"import/no-webpack-loader-syntax" : " error" ,
233
233
234
- "node /handle-callback-err" : [" error" , " ^(err|error)$" ],
235
- "node /no-callback-literal" : " error" ,
236
- "node /no-deprecated-api" : " error" ,
237
- "node /no-exports-assign" : " error" ,
238
- "node /no-new-require" : " error" ,
239
- "node /no-path-concat" : " error" ,
240
- "node /process-exit-as-throw" : " error" ,
234
+ "n /handle-callback-err" : [" error" , " ^(err|error)$" ],
235
+ "n /no-callback-literal" : " error" ,
236
+ "n /no-deprecated-api" : " error" ,
237
+ "n /no-exports-assign" : " error" ,
238
+ "n /no-new-require" : " error" ,
239
+ "n /no-path-concat" : " error" ,
240
+ "n /process-exit-as-throw" : " error" ,
241
241
242
242
"promise/param-names" : " error"
243
243
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ The above steps will automatically set up an ESLint configuration and install th
41
41
** If you want to set up the config manually** , run the following command:
42
42
43
43
``` bash
44
- npm install --save-dev eslint-config-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
44
+ npm install --save-dev eslint-config-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-n
45
45
```
46
46
47
47
Then, add this to your ` .eslintrc ` file:
Original file line number Diff line number Diff line change 11
11
"url" : " https://github.com/standard/eslint-config-standard/issues"
12
12
},
13
13
"devDependencies" : {
14
- "eslint" : " ^7.12.1 " ,
15
- "eslint-plugin-import" : " ^2.22.1 " ,
16
- "eslint-plugin-node " : " ^11.1 .0" ,
17
- "eslint-plugin-promise" : " ^4.2.1 " ,
18
- "tape" : " ^5.0.1 "
14
+ "eslint" : " ^8.5.0 " ,
15
+ "eslint-plugin-import" : " ^2.25.3 " ,
16
+ "eslint-plugin-n " : " ^14.0 .0" ,
17
+ "eslint-plugin-promise" : " ^6.0.0 " ,
18
+ "tape" : " ^5.3.2 "
19
19
},
20
20
"homepage" : " https://github.com/standard/eslint-config-standard" ,
21
21
"keywords" : [
47
47
"license" : " MIT" ,
48
48
"main" : " index.js" ,
49
49
"peerDependencies" : {
50
- "eslint" : " ^7.12 .1" ,
51
- "eslint-plugin-import" : " ^2.22.1 " ,
52
- "eslint-plugin-node " : " ^11.1 .0" ,
53
- "eslint-plugin-promise" : " ^4.2.1 || ^5 .0.0"
50
+ "eslint" : " ^8.0 .1" ,
51
+ "eslint-plugin-import" : " ^2.25.2 " ,
52
+ "eslint-plugin-n " : " ^14.0 .0" ,
53
+ "eslint-plugin-promise" : " ^6 .0.0"
54
54
},
55
55
"repository" : {
56
56
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments