File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -113,18 +113,10 @@ module.exports = {
113
113
} ] ,
114
114
'require-jsdoc' : [ 1 ] ,
115
115
'semi' : [ 2 , 'always' ] ,
116
- 'space-before-function-paren' : [ 2 , 'always' ] ,
117
-
118
- // Node/CommonJS
119
- 'global-require' : [ 2 ] ,
120
- 'handle-callback-err' : [ 1 ] ,
121
- 'no-mixed-requires' : [ 2 ] ,
122
- 'no-new-require' : [ 2 ] ,
123
- 'no-path-concat' : [ 2 ] ,
116
+ 'space-before-function-paren' : [ 2 , 'always' ]
124
117
} ,
125
118
env : {
126
- browser : true ,
127
- node : true
119
+ commonjs : true
128
120
} ,
129
121
extends : [ 'eslint:recommended' ]
130
122
} ;
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ rules : {
3
+ // Node/CommonJS
4
+ 'global-require' : [ 2 ] ,
5
+ 'handle-callback-err' : [ 1 ] ,
6
+ 'no-mixed-requires' : [ 2 ] ,
7
+ 'no-new-require' : [ 2 ] ,
8
+ 'no-path-concat' : [ 2 ]
9
+ }
10
+ } ;
You can’t perform that action at this time.
0 commit comments