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 4949 "babel-preset-airbnb" : " ^2.2.3" ,
5050 "babel-tape-runner" : " ^2.0.1" ,
5151 "editorconfig-tools" : " ^0.1.1" ,
52- "eslint" : " ^3.16.1 " ,
52+ "eslint" : " ^3.17.0 " ,
5353 "eslint-find-rules" : " ^1.14.3" ,
5454 "eslint-plugin-import" : " ^2.2.0" ,
5555 "in-publish" : " ^2.0.0" ,
5656 "safe-publish-latest" : " ^1.1.1" ,
5757 "tape" : " ^4.6.3"
5858 },
5959 "peerDependencies" : {
60- "eslint" : " ^3.16.1 " ,
60+ "eslint" : " ^3.17.0 " ,
6161 "eslint-plugin-import" : " ^2.2.0"
6262 },
6363 "engines" : {
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ module.exports = {
1313 // http://eslint.org/docs/rules/no-await-in-loop
1414 'no-await-in-loop' : 'error' ,
1515
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+
1621 // disallow assignment in conditional expressions
1722 'no-cond-assign' : [ 'error' , 'always' ] ,
1823
Original file line number Diff line number Diff line change @@ -286,6 +286,10 @@ module.exports = {
286286 // http://eslint.org/docs/rules/no-whitespace-before-property
287287 'no-whitespace-before-property' : 'error' ,
288288
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+
289293 // require padding inside curly braces
290294 'object-curly-spacing' : [ 'error' , 'always' ] ,
291295
You can’t perform that action at this time.
0 commit comments