-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (34 loc) · 846 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
30
31
32
33
34
35
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals",
"plugin:prettier/recommended",
"next/core-web-vitals", "next/typescript"
],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"rules": {
"semi": ["error", "always"],
"no-var": "error",
"prefer-const": "warn",
"eqeqeq": ["error", "always"],
"no-unused-vars": "warn",
"no-undef": "error",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-async-promise-executor": "error",
"require-await": "error",
"no-return-await": "error",
"curly": ["error", "all"],
"consistent-return": "warn",
"allowSingleLine": "true"
}
}