You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
848 B
41 lines
848 B
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"standard",
|
|
"standard-jsx",
|
|
"standard-react",
|
|
"prettier/react",
|
|
"prettier/standard",
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 11,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
],
|
|
"rules": {
|
|
"indent":"off",
|
|
"jsx-quotes": ["error", "prefer-double"],
|
|
"react/destructuring-assignment": [ 1, "always" ],
|
|
"react/self-closing-comp": [ 1, {
|
|
"component": true,
|
|
"html": true
|
|
} ],
|
|
"react/jsx-indent": [ 1, 2, {
|
|
"checkAttributes": true,
|
|
"indentLogicalExpressions": true
|
|
} ],
|
|
"react/jsx-indent-props": [ 1, 2 ],
|
|
"react/jsx-no-useless-fragment": [ 1, true ]
|
|
}
|
|
}
|