File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
packages/eslint-config-airbnb-base Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 49
49
"babel-preset-airbnb" : " ^2.2.3" ,
50
50
"babel-tape-runner" : " ^2.0.1" ,
51
51
"editorconfig-tools" : " ^0.1.1" ,
52
- "eslint" : " ^3.16.1 " ,
52
+ "eslint" : " ^3.17.0 " ,
53
53
"eslint-find-rules" : " ^1.14.3" ,
54
54
"eslint-plugin-import" : " ^2.2.0" ,
55
55
"in-publish" : " ^2.0.0" ,
56
56
"safe-publish-latest" : " ^1.1.1" ,
57
57
"tape" : " ^4.6.3"
58
58
},
59
59
"peerDependencies" : {
60
- "eslint" : " ^3.16.1 " ,
60
+ "eslint" : " ^3.17.0 " ,
61
61
"eslint-plugin-import" : " ^2.2.0"
62
62
},
63
63
"engines" : {
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ module.exports = {
13
13
// http://eslint.org/docs/rules/no-await-in-loop
14
14
'no-await-in-loop' : 'error' ,
15
15
16
+ // Disallow comparisons to negative zero
17
+ // http://eslint.org/docs/rules/no-compare-neg-zero
18
+ // TODO: enable (semver-major)
19
+ 'no-compare-neg-zero' : 'off' ,
20
+
16
21
// disallow assignment in conditional expressions
17
22
'no-cond-assign' : [ 'error' , 'always' ] ,
18
23
Original file line number Diff line number Diff line change @@ -286,6 +286,10 @@ module.exports = {
286
286
// http://eslint.org/docs/rules/no-whitespace-before-property
287
287
'no-whitespace-before-property' : 'error' ,
288
288
289
+ // enforce the location of single-line statements
290
+ // http://eslint.org/docs/rules/nonblock-statement-body-position
291
+ 'nonblock-statement-body-position' : 'off' ,
292
+
289
293
// require padding inside curly braces
290
294
'object-curly-spacing' : [ 'error' , 'always' ] ,
291
295
You can’t perform that action at this time.
0 commit comments