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 = {
129129 // This rule aims to ensure having consistent line endings independent of operating system.
130130 'linebreak-style' : [ 'error' , 'unix' ] ,
131131
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-
142132 // Require Parens for Constructors
143133 // This rule is aimed at highlighting a lack of convention and increasing code clarity by
144134 // 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 = {
3030 // Hit this limit? You are doing it wrong -> refactor!
3131 'max-statements' : [ 'warn' , 15 ] ,
3232
33- // Require newline before return statement
34- // Make your returns obvious!
35- 'newline-before-return' : 'warn' ,
36-
3733 // Disallow use of negated expressions in conditions
3834 'no-negated-condition' : 'warn' ,
3935
Original file line number Diff line number Diff line change 1212 "eslint-plugin-react" : " ^6.10.3"
1313 },
1414 "devDependencies" : {
15- "eslint" : " ^3.19 .0"
15+ "eslint" : " ^4.0 .0"
1616 },
1717 "engines" : {},
1818 "homepage" : " https://github.com/strvcom/eslint-config-javascript" ,
2323 "license" : " BSD-3-Clause" ,
2424 "main" : " default" ,
2525 "peerDependencies" : {
26- "eslint" : " ^3.19.0"
26+ "eslint" : " ^3.19.0||^4.0 "
2727 },
2828 "repository" : {
2929 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -31,10 +31,6 @@ module.exports = {
3131 // Unused, no one cares.
3232 'max-lines' : 0 ,
3333
34- // Require or disallow an empty newline after variable declarations
35- // Unused, too restrictive.
36- 'newline-after-var' : 0 ,
37-
3834 // Disallow Bitwise Operators
3935 // Unused, too restrictive.
4036 'no-bitwise' : 0 ,
You can’t perform that action at this time.
0 commit comments