ente/.eslintrc.json

61 lines
1.5 KiB
JSON
Raw Normal View History

2021-05-29 06:27:52 +00:00
{
2022-03-07 07:46:07 +00:00
"root": true,
2021-05-29 06:27:52 +00:00
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"plugin:react/recommended",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"google",
"prettier"
2021-05-29 06:27:52 +00:00
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"indent":"off",
2021-05-29 06:27:52 +00:00
"class-methods-use-this": "off",
"react/prop-types": "off",
"react/display-name": "off",
"react/no-unescaped-entities": "off",
"no-unused-vars": "off",
2021-06-03 08:46:54 +00:00
"@typescript-eslint/no-unused-vars": [
"error"
],
2021-05-29 06:27:52 +00:00
"require-jsdoc": "off",
"valid-jsdoc": "off",
"max-len": "off",
"new-cap": "off",
"no-invalid-this": "off",
2021-05-30 16:56:48 +00:00
"eqeqeq": "error",
2021-06-03 08:46:54 +00:00
"object-curly-spacing": [
"error",
"always"
],
"space-before-function-paren": "off",
"operator-linebreak":["error","after", { "overrides": { "?": "before", ":": "before" } }]
2021-05-29 06:27:52 +00:00
},
"settings": {
"react": {
"version": "detect"
}
},
"globals": {
"JSX": "readonly",
"NodeJS": "readonly",
"ReadableStreamDefaultController": "readonly"
}
}