forked from MahdiEbrp/taxiservice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
executable file
·63 lines (61 loc) · 1.61 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"extends": [
"next/core-web-vitals", "plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"node_modules/",
"out/",
"next.config.js",
"next-env.d.ts",
"lib/languages/*"
],
"rules": {
"no-console": "warn",
"no-undef": "warn",
"no-unused-expressions": "warn",
"no-unused-labels": "warn",
"semi": "error",
"no-trailing-spaces": "error",
"no-duplicate-case": "error",
"no-extra-semi": "error",
"no-extra-parens": "error",
"no-extra-boolean-cast": "error",
"no-debugger": "error",
"no-empty": "error",
"no-duplicate-imports": "error",
"no-empty-character-class": "error",
"no-empty-pattern": "error",
"no-eval": "error",
"no-unused-vars": "off",
"no-useless-escape": "error",
"max-lines": [
"error", {
"max": 250,
"skipBlankLines": true,
"skipComments": true
}
],
"@typescript-eslint/no-unused-vars": [
"warn", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
"eqeqeq": [
"error", "allow-null"
],
"quotes": ["error", "single", "avoid-escape"]
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"plugins": ["@typescript-eslint"]
}