File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/eslint-config-airbnb-base Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 47
47
"devDependencies" : {
48
48
"babel-preset-airbnb" : " ^2.1.1" ,
49
49
"babel-tape-runner" : " ^2.0.1" ,
50
- "eslint" : " ^3.11.1 " ,
50
+ "eslint" : " ^3.12.0 " ,
51
51
"eslint-find-rules" : " ^1.14.3" ,
52
52
"eslint-plugin-import" : " ^2.2.0" ,
53
53
"in-publish" : " ^2.0.0" ,
54
54
"safe-publish-latest" : " ^1.1.1" ,
55
55
"tape" : " ^4.6.3"
56
56
},
57
57
"peerDependencies" : {
58
- "eslint" : " ^3.11.1 " ,
58
+ "eslint" : " ^3.12.0 " ,
59
59
"eslint-plugin-import" : " ^2.2.0"
60
60
},
61
61
"engines" : {
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ module.exports = {
9
9
functions : 'always-multiline' ,
10
10
} ] ,
11
11
12
+ // Disallow await inside of loops
13
+ // http://eslint.org/docs/rules/no-await-in-loop
14
+ 'no-await-in-loop' : 'error' ,
15
+
12
16
// disallow assignment in conditional expressions
13
17
'no-cond-assign' : [ 'error' , 'always' ] ,
14
18
You can’t perform that action at this time.
0 commit comments