-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
28 lines (28 loc) · 942 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
{
"env": {
"node": true,
"es2022": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"quotes": ["warn", "double", { "avoidEscape": true }],
"no-unused-vars": "warn",
"no-alert": "error",
"no-undef": "error",
"object-shorthand": ["warn", "never"],
"no-underscore-dangle": ["warn", { "allow": ["_path", "__filename", "__dirname"] }],
"camelcase": ["warn"],
"no-eval": "error",
"import/no-useless-path-segments": ["error", { "noUselessIndex": true }],
"no-case-declarations": "off",
"no-prototype-builtins": "off",
"no-inner-declarations": "off",
"no-extra-semi": "off"
}
}