29 lines
644 B
Text
29 lines
644 B
Text
{
|
|
"extends": ["semistandard"],
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"rules": {
|
|
"react/display-name": 1 ,
|
|
"react/jsx-no-duplicate-props": 2,
|
|
"react/jsx-no-undef": 2,
|
|
"react/jsx-uses-react": 2,
|
|
"react/jsx-uses-vars": 2,
|
|
"react/no-danger": 0,
|
|
"react/no-deprecated": 2,
|
|
"react/no-did-mount-set-state": [2],
|
|
"react/no-did-update-set-state": [2],
|
|
"react/no-direct-mutation-state": 2,
|
|
"react/no-is-mounted": 2,
|
|
"react/no-unknown-property": 2,
|
|
"react/prop-types": 2,
|
|
"react/react-in-jsx-scope": 2
|
|
}
|
|
}
|