This repository was archived by the owner on May 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-11
lines changed
packages/eslint-config-atlauncher Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module.exports = {
3737 node : true ,
3838 es6 : true ,
3939 browser : true ,
40- mocha : true ,
40+ jest : true ,
4141 } ,
4242 parser : 'babel-eslint' ,
4343 parserOptions : {
Original file line number Diff line number Diff line change 11module . exports = {
22 rules : {
3- // require braces unless straight returning a simple value
4- 'arrow-body-style' : [ 'error' , 'as-needed ' ] ,
3+ // always require braces in arrow functions
4+ 'arrow-body-style' : [ 'error' , 'always ' ] ,
55
66 // always require the start of an arrow function to be wrapped in parenthesis
77 'arrow-parens' : [ 'error' , 'always' ] ,
88
99 // require spaces before and after the `=>` in an arrow function
10- 'arrow-spacing' : [ 'error' , {
11- before : true ,
12- after : true ,
13- } ] ,
10+ 'arrow-spacing' : [
11+ 'error' ,
12+ {
13+ before : true ,
14+ after : true ,
15+ } ,
16+ ] ,
1417
1518 // require calling super when defining a constructor in a sub class
1619 'constructor-super' : 'error' ,
1720
1821 // require generators to be defined as `function*()`
19- 'generator-star-spacing' : [ 'error' , {
20- before : false ,
21- after : false ,
22- } ] ,
22+ 'generator-star-spacing' : [
23+ 'error' ,
24+ {
25+ before : false ,
26+ after : false ,
27+ } ,
28+ ] ,
2329
2430 // don't allow reassigning class definitions
2531 'no-class-assign' : 'error' ,
You can’t perform that action at this time.
0 commit comments