-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
29 lines (29 loc) · 857 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "formatjs"],
"extends": [
"next/core-web-vitals",
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"rules": {
"no-console": "warn",
"no-else-return": "warn",
"no-irregular-whitespace": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-multiple-empty-lines": "warn",
"no-trailing-spaces": "warn",
"no-unexpected-multiline": "warn",
"no-const-assign": "error",
"no-unreachable": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-unused-vars": "error",
"valid-typeof": "error",
"formatjs/no-offset": "error"
}
}