This repository was archived by the owner on Mar 7, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +2
-20
lines changed Expand file tree Collapse file tree 4 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -129,16 +129,6 @@ module.exports = {
129
129
// This rule aims to ensure having consistent line endings independent of operating system.
130
130
'linebreak-style' : [ 'error' , 'unix' ] ,
131
131
132
- // Require or disallow newlines around directives
133
- // This rule requires or disallows blank newlines around directive prologues. This rule does not
134
- // enforce any conventions about blank newlines between the individual directives. In addition,
135
- // it does not require blank newlines before directive prologues unless they are preceded by a
136
- // comment.
137
- 'lines-around-directive' : [ 'warn' , {
138
- before : 'always' ,
139
- after : 'always' ,
140
- } ] ,
141
-
142
132
// Require Parens for Constructors
143
133
// This rule is aimed at highlighting a lack of convention and increasing code clarity by
144
134
// requiring the use of parentheses when invoking a constructor via the new keyword.
Original file line number Diff line number Diff line change @@ -30,10 +30,6 @@ module.exports = {
30
30
// Hit this limit? You are doing it wrong -> refactor!
31
31
'max-statements' : [ 'warn' , 15 ] ,
32
32
33
- // Require newline before return statement
34
- // Make your returns obvious!
35
- 'newline-before-return' : 'warn' ,
36
-
37
33
// Disallow use of negated expressions in conditions
38
34
'no-negated-condition' : 'warn' ,
39
35
Original file line number Diff line number Diff line change 12
12
"eslint-plugin-react" : " ^6.10.3"
13
13
},
14
14
"devDependencies" : {
15
- "eslint" : " ^3.19 .0"
15
+ "eslint" : " ^4.0 .0"
16
16
},
17
17
"engines" : {},
18
18
"homepage" : " https://github.com/strvcom/eslint-config-javascript" ,
23
23
"license" : " BSD-3-Clause" ,
24
24
"main" : " default" ,
25
25
"peerDependencies" : {
26
- "eslint" : " ^3.19.0"
26
+ "eslint" : " ^3.19.0||^4.0 "
27
27
},
28
28
"repository" : {
29
29
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -31,10 +31,6 @@ module.exports = {
31
31
// Unused, no one cares.
32
32
'max-lines' : 0 ,
33
33
34
- // Require or disallow an empty newline after variable declarations
35
- // Unused, too restrictive.
36
- 'newline-after-var' : 0 ,
37
-
38
34
// Disallow Bitwise Operators
39
35
// Unused, too restrictive.
40
36
'no-bitwise' : 0 ,
You can’t perform that action at this time.
0 commit comments