File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ module.exports = {
77 server : true , // mirage
88 withFeature : true // feature flag
99 } ,
10-
1110 parserOptions : {
1211 ecmaVersion : 2017 ,
1312 sourceType : "module"
@@ -26,20 +25,36 @@ module.exports = {
2625 ".eslintrc.js" ,
2726 ".template-lintrc.js" ,
2827 "ember-cli-build.js" ,
28+ "index.js" ,
2929 "testem.js" ,
3030 "blueprints/*/index.js" ,
3131 "config/**/*.js" ,
32+ "tests/dummy/config/**/*.js" ,
3233 "lib/*/index.js" ,
3334 "server/**/*.js"
3435 ] ,
36+ excludedFiles : [
37+ "addon/**" ,
38+ "addon-test-support/**" ,
39+ "app/**" ,
40+ "tests/dummy/app/**"
41+ ] ,
3542 parserOptions : {
3643 sourceType : "script" ,
3744 ecmaVersion : 2015
3845 } ,
3946 env : {
4047 browser : false ,
4148 node : true
42- }
49+ } ,
50+ plugins : [ "node" ] ,
51+ rules : Object . assign (
52+ { } ,
53+ require ( "eslint-plugin-node" ) . configs . recommended . rules ,
54+ {
55+ // add your custom rules and overrides for node files here
56+ }
57+ )
4358 }
4459 ]
4560}
Original file line number Diff line number Diff line change 88 "eslint-plugin-ember" : " 6.x.x" ,
99 "eslint-plugin-ember-suave" : " 1.x.x" ,
1010 "eslint-plugin-es5" : " 1.x.x" ,
11+ "eslint-plugin-node" : " 9.x.x" ,
1112 "eslint-plugin-prettier" : " 3.x.x" ,
1213 "prettier" : " 1.x.x" ,
13- "prettier-eslint-cli" : " 4 .x.x"
14+ "prettier-eslint-cli" : " 5 .x.x"
1415 },
1516 "files" : [
1617 " core.js" ,
You can’t perform that action at this time.
0 commit comments