mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
more lodash eslint rules
This commit is contained in:
parent
4b57b3195a
commit
56b8f58bb7
11
.eslintrc
11
.eslintrc
@ -140,6 +140,9 @@
|
|||||||
"object-curly-spacing": [2, "never"],
|
"object-curly-spacing": [2, "never"],
|
||||||
"no-throw-literal": 2,
|
"no-throw-literal": 2,
|
||||||
|
|
||||||
|
"no-useless-concat": 1,
|
||||||
|
"block-spacing": [0, "always"],
|
||||||
|
|
||||||
"react/display-name": 2,
|
"react/display-name": 2,
|
||||||
"react/jsx-boolean-value": 1,
|
"react/jsx-boolean-value": 1,
|
||||||
"react/jsx-quotes": 1,
|
"react/jsx-quotes": 1,
|
||||||
@ -167,7 +170,13 @@
|
|||||||
"lodash3/prefer-filter": 2,
|
"lodash3/prefer-filter": 2,
|
||||||
"lodash3/no-unnecessary-bind": 2,
|
"lodash3/no-unnecessary-bind": 2,
|
||||||
"lodash3/unwrap": 2,
|
"lodash3/unwrap": 2,
|
||||||
"lodash3/prefer-compact": 2
|
"lodash3/prefer-compact": 2,
|
||||||
|
"lodash3/prefer-compact": 2,
|
||||||
|
"lodash3/no-double-unwrap": 2,
|
||||||
|
"lodash3/prefer-map": 2,
|
||||||
|
"lodash3/prefer-wrapper-method": 2,
|
||||||
|
"lodash3/prefer-invoke": 2,
|
||||||
|
"lodash3/prefer-thru": 2
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"browser": false,
|
"browser": false,
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
"brace": "^0.5.1",
|
"brace": "^0.5.1",
|
||||||
"brfs": "^1.4.1",
|
"brfs": "^1.4.1",
|
||||||
"coveralls": "^2.11.4",
|
"coveralls": "^2.11.4",
|
||||||
"eslint-plugin-lodash3": "^0.1.3",
|
"eslint-plugin-lodash3": "^0.1.6",
|
||||||
"eslint-plugin-react": "^3.2.3",
|
"eslint-plugin-react": "^3.3.1",
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
"grunt-browserify": "^3.8.0",
|
"grunt-browserify": "^3.8.0",
|
||||||
"grunt-contrib-requirejs": "^0.4.4",
|
"grunt-contrib-requirejs": "^0.4.4",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user