Updated ESLint rules (#304)
* Updated ESLint rules * Updated ESLint version
This commit is contained in:
parent
24e4fb5311
commit
764de28fa6
2 changed files with 4 additions and 4 deletions
|
|
@ -39,7 +39,7 @@
|
|||
"block-scoped-var": 2,
|
||||
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
|
||||
"camelcase": [2, {"properties": "never"}],
|
||||
"class-methods-use-this": 1,
|
||||
"class-methods-use-this": 0,
|
||||
"comma-dangle": [2, "never"],
|
||||
"comma-spacing": [2, {"before": false, "after": true}],
|
||||
"comma-style": [2, "last"],
|
||||
|
|
@ -162,7 +162,7 @@
|
|||
"no-unsafe-negation": 2,
|
||||
"no-unused-expressions": 2,
|
||||
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
|
||||
"no-use-before-define": [2, "nofunc"],
|
||||
"no-use-before-define": [2, {"classes": false, "functions": false, "variables": false}],
|
||||
"no-useless-computed-key": 2,
|
||||
"no-useless-concat": 2,
|
||||
"no-useless-constructor": 2,
|
||||
|
|
@ -173,7 +173,7 @@
|
|||
"no-warning-comments": 1,
|
||||
"no-whitespace-before-property": 2,
|
||||
"no-with": 2,
|
||||
"object-curly-newline": 0,
|
||||
"object-curly-newline": 0,
|
||||
"object-curly-spacing": [2, "never"],
|
||||
"object-property-newline": [2, {"allowMultiplePropertiesPerLine": true}],
|
||||
"object-shorthand": [2, "always"],
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
"chai-enzyme": "0.6.1",
|
||||
"deep-freeze": "0.0.1",
|
||||
"enzyme": "2.7.1",
|
||||
"eslint": "3.12.2",
|
||||
"eslint": "3.15.0",
|
||||
"eslint-plugin-mocha": "4.8.0",
|
||||
"eslint-plugin-react": "6.8.0",
|
||||
"fetch-mock": "5.8.1",
|
||||
|
|
|
|||
Loading…
Reference in a new issue