65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"plugin:react/recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"rules": {
|
|
"react/prop-types": "off",
|
|
"@typescript-eslint/explicit-member-accessibility": [
|
|
"off",
|
|
{
|
|
"accessibility": "explicit"
|
|
}
|
|
],
|
|
"@typescript-eslint/member-delimiter-style": [
|
|
"warn",
|
|
{
|
|
"multiline": {
|
|
"delimiter": "semi",
|
|
"requireLast": true
|
|
},
|
|
"singleline": {
|
|
"delimiter": "semi",
|
|
"requireLast": false
|
|
}
|
|
}
|
|
],
|
|
"@typescript-eslint/quotes": "warn",
|
|
"sort-imports": "off",
|
|
"no-console": "warn",
|
|
"prefer-const": "warn",
|
|
"react/jsx-boolean-value": "warn",
|
|
"react/jsx-curly-spacing": [
|
|
"warn",
|
|
{
|
|
"when": "never"
|
|
}
|
|
],
|
|
"react/jsx-equals-spacing": ["warn", "never"],
|
|
"react/jsx-key": "warn",
|
|
"react/jsx-no-bind": [
|
|
"warn",
|
|
{
|
|
"allowArrowFunctions": true
|
|
}
|
|
],
|
|
"react/jsx-wrap-multilines": "warn",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"semi": "warn"
|
|
}
|
|
}
|