55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
{
|
|
"rules": {
|
|
"default-case": 0,
|
|
"indent": [ 2, 2 ],
|
|
"linebreak-style": [ 2, "unix" ],
|
|
"max-len": [1, 100, 2, { "ignoreComments": true }],
|
|
"no-cond-assign": [2, "except-parens"],
|
|
"no-else-return": 0,
|
|
"no-param-reassign": 0,
|
|
"no-unused-vars": [1, {"vars": "local", "args": "none"}],
|
|
"quotes": [ 2, "single" ],
|
|
"quote-props": [1, "consistent-as-needed"],
|
|
"radix": 0,
|
|
"react/jsx-boolean-value": [1, "never"],
|
|
"react/jsx-curly-spacing": [1, "never"],
|
|
"react/jsx-no-duplicate-props": 1,
|
|
"react/jsx-no-undef": 1,
|
|
"jsx-quotes": [1, "prefer-double"],
|
|
"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/require-extension": 1,
|
|
"react/self-closing-comp": 1,
|
|
"react/sort-comp": 1,
|
|
"react/wrap-multilines": 1,
|
|
"space-infix-ops": 0,
|
|
"semi": [ 2, "always" ],
|
|
"strict": 0
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"jasmine": true,
|
|
"node": true,
|
|
"jest": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"ecmaFeatures": {
|
|
"jsx": true,
|
|
"experimentalObjectRestSpread": true
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"parser": "babel-eslint"
|
|
}
|