File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 33
33
"devDependencies" : {
34
34
"babel-eslint" : " ^4.1.4" ,
35
35
"eslint" : " >=1.6.0" ,
36
+ "eslint-config-import" : " ^0.9.1" ,
36
37
"eslint-plugin-babel" : " ^2.1.1" ,
38
+ "eslint-plugin-import" : " ^0.10.0" ,
37
39
"eslint-plugin-react" : " ^3.8.0"
38
40
}
39
41
}
Original file line number Diff line number Diff line change 3
3
module . exports = {
4
4
'rules' : {
5
5
// Specify curly brace conventions for all control statements
6
- 'curly' : [ 2 , 'multi-line' ] ,
6
+ 'curly' : [ 2 , 'multi-line' ] ,
7
+ // Disallow the type conversions with shorter notations
8
+ 'no-implicit-coercion' : [ 2 ] ,
7
9
// Disallow use of multiple spaces
8
- 'no-multi-spaces' : [ 2 ] ,
10
+ 'no-multi-spaces' : [ 2 ] ,
9
11
// Disallow reassignment of function parameters
10
- 'no-param-reassign' : [ 2 ] ,
12
+ 'no-param-reassign' : [ 2 ] ,
11
13
// Disallow comparisons where both sides are exactly the same
12
- 'no-self-compare' : [ 2 ] ,
14
+ 'no-self-compare' : [ 2 ] ,
13
15
// Disallow usage of expressions in statement position
14
- 'no-throw-literal' : [ 2 ] ,
16
+ 'no-throw-literal' : [ 2 ] ,
15
17
} ,
16
18
} ;
You can’t perform that action at this time.
0 commit comments