2020-10-01 22:09:28 +08:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"es6": true,
|
|
|
|
"jest": true,
|
|
|
|
"browser": true
|
|
|
|
},
|
2020-10-06 23:21:14 +08:00
|
|
|
"extends": ["prettier"],
|
2020-10-01 22:09:28 +08:00
|
|
|
"plugins": ["prettier"],
|
|
|
|
"rules": {
|
2020-10-06 23:21:14 +08:00
|
|
|
"prettier/prettier": "error",
|
|
|
|
"import/no-cycle": "warn",
|
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"no-param-reassign": "warn",
|
|
|
|
"no-nested-ternary": "warn",
|
|
|
|
"react/jsx-filename-extension": "off",
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"react/jsx-curly-newline": "off",
|
|
|
|
"react/jsx-one-expression-per-line": "off",
|
|
|
|
"react/no-array-index-key": "off",
|
|
|
|
"react/jsx-wrap-multilines": "off",
|
|
|
|
"react/jsx-indent": "off",
|
|
|
|
"react/jsx-props-no-spreading": "warn",
|
|
|
|
"react/destructuring-assignment": "off",
|
|
|
|
"jsx-a11y/anchor-is-valid": "off",
|
|
|
|
"jsx-a11y/click-events-have-key-events": "off",
|
|
|
|
"jsx-a11y/no-static-element-interactions": "off"
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module"
|
2020-10-01 22:09:28 +08:00
|
|
|
}
|
|
|
|
}
|