forked from getsolus/help-center-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
24 lines (24 loc) · 945 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"extends": [
"eslint:recommended",
"plugin:@docusaurus/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": ["./tsconfig.json"] },
"plugins": ["@typescript-eslint"],
"rules": {
"import/no-unresolved": [2, { "ignore": ["@theme", "@docusaurus", "@site"] }],
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-includes": "error",
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/prefer-optional-chain": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error"
},
"ignorePatterns": ["**/dist/*", "next.config.js"]
}