-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
32 lines (32 loc) · 1.07 KB
/
Copy path.eslintrc
File metadata and controls
32 lines (32 loc) · 1.07 KB
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": ["prettier", "plugin:@typescript-eslint/recommended", "plugin:import/recommended", "plugin:import/typescript"],
"plugins": ["prettier", "@typescript-eslint", "import"],
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"rules": {
"prettier/prettier": ["error"],
"no-undef": "error",
"no-var": "warn",
"func-names": "off",
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"prefer-const": "warn",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-extra-semi": "off",
"@typescript-eslint/no-empty-interface": "off",
"import/no-named-as-default": "off"
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
}
}