forked from Anatole-Godard/rsr-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
31 lines (30 loc) · 839 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
25
26
27
28
29
30
31
{
"root": true,
"plugins": [
"react",
"react-hooks",
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals"
],
"rules": {
"no-undef": "off",
"no-unused-vars": "warn",
"no-console": "warn",
"no-empty-function": "warn",
"prefer-const": "warn",
"no-useless-escape": "warn",
"@typescript-eslint/no-empty-interface": "warn",
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-this-alias": "warn",
"@typescript-eslint/no-extra-semi": "warn"
}
}