ente/.eslintrc.json

60 lines
2.2 KiB
JSON
Raw Normal View History

2021-05-29 06:27:52 +00:00
{
2022-03-07 07:46:07 +00:00
"root": true,
"parserOptions": {
"project": ["./tsconfig.json"]
2021-05-29 06:27:52 +00:00
},
"extends": [
"next/core-web-vitals",
2021-05-29 06:27:52 +00:00
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
2021-05-29 06:27:52 +00:00
],
"plugins": ["@typescript-eslint"],
2021-05-29 06:27:52 +00:00
"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",
"@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",
"object-curly-spacing": ["error", "always"],
"space-before-function-paren": "off",
"operator-linebreak": [
"error",
"after",
{ "overrides": { "?": "before", ":": "before" } }
2022-11-19 11:37:12 +00:00
],
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"react-hooks/rules-of-hooks": "off",
"react-hooks/exhaustive-deps": "off",
"@next/next/no-img-element": "off",
2022-11-29 19:27:43 +00:00
"@typescript-eslint/no-unsafe-argument": "off",
"jsx-a11y/alt-text": "off"
2021-05-29 06:27:52 +00:00
}
}