55 lines
1.4 KiB
Text
55 lines
1.4 KiB
Text
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"google",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"rules": {
|
|
"indent": "off",
|
|
"class-methods-use-this": "off",
|
|
"react/prop-types": "off",
|
|
"react/display-name": "off",
|
|
"react/no-unescaped-entities": "off",
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": ["error"],
|
|
"require-jsdoc": "off",
|
|
"valid-jsdoc": "off",
|
|
"max-len": "off",
|
|
"new-cap": "off",
|
|
"no-invalid-this": "off",
|
|
"eqeqeq": "error",
|
|
"object-curly-spacing": ["error", "always"],
|
|
"space-before-function-paren": "off",
|
|
"operator-linebreak": [
|
|
"error",
|
|
"after",
|
|
{ "overrides": { "?": "before", ":": "before" } }
|
|
]
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"globals": {
|
|
"JSX": "readonly",
|
|
"NodeJS": "readonly",
|
|
"ReadableStreamDefaultController": "readonly"
|
|
}
|
|
}
|