File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## 2.20.0
4+ - Enforcing errors/no-console rule
5+ - Added errors/no-await-in-loop rule
6+ - Removed best-practices/no-case-declarations rule
7+
38## 2.19.0
49- Removed style/id-length rule
510- Added react/no-array-index-key rule
Original file line number Diff line number Diff line change 11{
22 "name" : " eslint-config-smartthings" ,
3- "version" : " 2.19 .0" ,
3+ "version" : " 2.20 .0" ,
44 "description" : " SmartThings's ESLint config" ,
55 "main" : " index.js" ,
66 "repository" : {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module.exports = {
2929 // disallow use of arguments.caller or arguments.callee
3030 'no-caller' : 2 ,
3131 // disallow lexical declarations in case clauses
32- 'no-case-declarations' : 2 ,
32+ 'no-case-declarations' : 0 ,
3333 // disallow division operators explicitly at beginning of regular expression
3434 'no-div-regex' : 0 ,
3535 // disallow else after a return in an if
Original file line number Diff line number Diff line change 11module . exports = {
22 'rules' : {
3+ // Disallow await inside of loops (no-await-in-loop)
4+ 'no-await-in-loop' : 2 ,
35 // disallow assignment in conditional expressions
46 'no-cond-assign' : [ 2 , 'always' ] ,
57 // disallow use of console
6- 'no-console' : 1 ,
8+ 'no-console' : 2 ,
79 // disallow use of constant expressions in conditions
810 'no-constant-condition' : 2 ,
911 // disallow control characters in regular expressions
You can’t perform that action at this time.
0 commit comments