mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"plugins": ["@typescript-eslint", "jsx-a11y", "prettier"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:inferno/recommended",
|
|
"plugin:jsx-a11y/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json",
|
|
"warnOnUnsupportedTypeScriptVersion": false
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/ban-ts-comment": 0,
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"@typescript-eslint/explicit-module-boundary-types": 0,
|
|
"@typescript-eslint/no-empty-function": 0,
|
|
"arrow-body-style": 0,
|
|
"curly": 0,
|
|
"eol-last": 0,
|
|
"eqeqeq": 0,
|
|
"func-style": 0,
|
|
"import/no-duplicates": 0,
|
|
"max-statements": 0,
|
|
"max-params": 0,
|
|
"new-cap": 0,
|
|
"no-console": 0,
|
|
"no-duplicate-imports": 0,
|
|
"no-extra-parens": 0,
|
|
"no-return-assign": 0,
|
|
"no-throw-literal": 0,
|
|
"no-trailing-spaces": 0,
|
|
"no-unused-expressions": 0,
|
|
"no-useless-constructor": 0,
|
|
"no-useless-escape": 0,
|
|
"no-var": 0,
|
|
"prefer-const": 1,
|
|
"prefer-rest-params": 0,
|
|
"prettier/prettier": "error",
|
|
"quote-props": 0,
|
|
"unicorn/filename-case": 0
|
|
}
|
|
}
|