21 lines
355 B
Plaintext
21 lines
355 B
Plaintext
|
{
|
||
|
"env": {
|
||
|
"commonjs": true,
|
||
|
"es6": true
|
||
|
},
|
||
|
"ecmaFeatures": {
|
||
|
"jsx": true
|
||
|
},
|
||
|
"plugins": [
|
||
|
"react"
|
||
|
],
|
||
|
"rules": {
|
||
|
"react/jsx-no-duplicate-props": 2,
|
||
|
"react/jsx-no-undef": 2,
|
||
|
"react/jsx-uses-react": 2,
|
||
|
"react/no-direct-mutation-state": 1,
|
||
|
"react/prefer-es6-class": 1,
|
||
|
"react/react-in-jsx-scope": 2
|
||
|
}
|
||
|
}
|