File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
packages/eslint-config-airbnb Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 4343 "homepage" : " https://github.com/airbnb/javascript" ,
4444 "devDependencies" : {
4545 "babel-tape-runner" : " ^1.3.1" ,
46- "eslint" : " ^2.2 .0" ,
47- "eslint-plugin-react" : " ^4.0 .0" ,
46+ "eslint" : " ^2.3 .0" ,
47+ "eslint-plugin-react" : " ^4.1 .0" ,
4848 "react" : " ^0.14.7" ,
49- "tape" : " ^4.4 .0" ,
49+ "tape" : " ^4.5 .0" ,
5050 "parallelshell" : " ^2.0.0"
5151 },
5252 "peerDependencies" : {
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ module.exports = {
3636 // disallow symbol constructor
3737 // http://eslint.org/docs/rules/no-new-symbol
3838 'no-new-symbol' : 2 ,
39+ // disallow specific globals
40+ 'no-restricted-globals' : 0 ,
3941 // disallow specific imports
4042 // http://eslint.org/docs/rules/no-restricted-imports
4143 'no-restricted-imports' : 0 ,
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ module.exports = {
5959 'new-parens' : 0 ,
6060 // allow/disallow an empty newline after var statement
6161 'newline-after-var' : 0 ,
62+ // http://eslint.org/docs/rules/newline-before-return
63+ 'newline-before-return' : 0 ,
6264 // enforces new line after each method call in the chain to make it
6365 // more readable and easy to maintain
6466 // http://eslint.org/docs/rules/newline-per-chained-call
You can’t perform that action at this time.
0 commit comments