mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
update eslint rules
This commit is contained in:
parent
4fb2646502
commit
195ae9dcea
17
.eslintrc
17
.eslintrc
@ -1,10 +1,23 @@
|
||||
{
|
||||
"extends": "eslint-config-airbnb",
|
||||
"extends": "airbnb-base",
|
||||
"rules": {
|
||||
"comma-dangle": 0,
|
||||
"func-names": 0,
|
||||
"no-alert": 1,
|
||||
"no-console": 1,
|
||||
"no-use-before-define": 1
|
||||
"no-use-before-define": 0,
|
||||
"prefer-rest-params": 0,
|
||||
"prefer-template": 0,
|
||||
"no-mixed-operators": 0,
|
||||
"no-undef": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"prefer-arrow-callback": 0,
|
||||
"space-before-function-paren": 0,
|
||||
"global-require": 0,
|
||||
"object-shorthand": 0,
|
||||
"max-len": 0,
|
||||
"no-param-reassign": 0,
|
||||
"consistent-return": 0,
|
||||
"no-restricted-syntax": 1
|
||||
}
|
||||
}
|
@ -30,10 +30,12 @@
|
||||
"css-loader": "^0.16.0",
|
||||
"esdoc": "^0.2.1",
|
||||
"esdoc-es7-plugin": "0.0.1",
|
||||
"eslint": "^1.1.0",
|
||||
"eslint-config-airbnb": "0.0.7",
|
||||
"eslint": "^3.4.0",
|
||||
"eslint-config-airbnb-base": "^5.0.3",
|
||||
"eslint-loader": "^1.0.0",
|
||||
"eslint-plugin-react": "^3.2.2",
|
||||
"eslint-plugin-import": "^1.14.0",
|
||||
"eslint-plugin-jsx-a11y": "^2.2.1",
|
||||
"eslint-plugin-react": "^6.2.0",
|
||||
"extend": "^3.0.0",
|
||||
"html-loader": "^0.3.0",
|
||||
"node-sass": "^3.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user