chinese-colors/.eslintrc

33 lines
694 B
Plaintext
Raw Normal View History

2019-08-27 17:27:26 +08:00
{
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"plugins": ["react-hooks"],
"rules": {
"semi": 2,
"no-console": "off",
"react/prop-types": 0,
"no-unused-vars": ["error", { "ignoreRestSiblings": true }],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"max-lines": ["warn", 400]
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true,
"serviceworker": true
},
"settings": {
"react": {
"version": "16.8"
}
}
}