-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.eslintrc
More file actions
28 lines (28 loc) · 727 Bytes
/
.eslintrc
File metadata and controls
28 lines (28 loc) · 727 Bytes
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
{
"ignorePatterns": ["*.js", "*.d.ts"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"env": {
"node": true,
"es6": true
},
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
"curly": ["error", "multi-line"],
"consistent-return": "off",
"quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "never"],
"strict": ["error", "global"],
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"no-unused-vars": "off",
"no-undef": "error"
}
}