mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 23:50:52 +01:00
35 lines
758 B
JSON
35 lines
758 B
JSON
{
|
|
"settings": {
|
|
"react": {
|
|
"pragma": "React",
|
|
"version": "17.0.2"
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"plugin:react/recommended",
|
|
"plugin:react/jsx-runtime"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"indent": ["error", 4, {"SwitchCase": 1}],
|
|
"array-bracket-spacing": ["error", "always"],
|
|
"brace-style": ["error", "allman"],
|
|
"react/prop-types": ["off"]
|
|
}
|
|
}
|