-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.eslintrc.json
More file actions
23 lines (23 loc) · 883 Bytes
/
.eslintrc.json
File metadata and controls
23 lines (23 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "next"],
"rules": {
// "quotes": ["error", "single"],
// "semi": ["error", "always"],
// "linebreak-style": ["error", "unix"],
"no-console": "off",
"max-len": "off",
"@typescript-eslint/no-var-requires": "off",
"@next/next/inline-script-id": "off",
"react/jsx-key": "off",
"no-async-promise-executor": "off",
"no-undef": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
"@typescript-eslint/no-inferrable-types": "off",
"no-prototype-builtins": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@next/next/no-before-interactive-script-outside-document": "off",
"prefer-const": "warn"
}
}