44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
{
|
|
"rules": {
|
|
"arrow-body-style": [2, "as-needed"],
|
|
"default-case": 0,
|
|
"linebreak-style": [2, "unix"],
|
|
"no-cond-assign": [2, "except-parens"],
|
|
"no-console": 2,
|
|
"no-else-return": 0,
|
|
"no-param-reassign": 0,
|
|
"no-unneeded-ternary": 1,
|
|
"no-unused-vars": [1, { "vars": "local", "args": "none" }],
|
|
"radix": 0,
|
|
"prettier/prettier": ["error", { "singleQuote": true }],
|
|
"react/jsx-boolean-value": [1, "never"],
|
|
"react/jsx-no-duplicate-props": 1,
|
|
"react/jsx-no-undef": 1,
|
|
"react/sort-prop-types": 1,
|
|
"react/jsx-sort-props": 0,
|
|
"react/jsx-uses-react": 1,
|
|
"react/jsx-uses-vars": 1,
|
|
"react/no-danger": 1,
|
|
"react/no-did-mount-set-state": 1,
|
|
"react/no-did-update-set-state": 1,
|
|
"react/no-multi-comp": 0,
|
|
"react/no-unknown-property": 1,
|
|
"react/prop-types": 1,
|
|
"react/react-in-jsx-scope": 1,
|
|
"react/self-closing-comp": 1,
|
|
"react/sort-comp": 1,
|
|
"space-infix-ops": 0,
|
|
"strict": 0
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"jasmine": true,
|
|
"node": true,
|
|
"jest": true
|
|
},
|
|
"extends": ["prettier", "prettier/react"],
|
|
"plugins": ["prettier", "react"],
|
|
"parser": "babel-eslint"
|
|
}
|