-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
38 lines (38 loc) · 860 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
36
37
38
{
// "defaultSeverity": "",
"root": true,
"extends": [
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
// "linterOptions": {
// "exclude": ["node_modules/**/*"],
// "ordered-imports": false
// },
// "jsRules": {},
"parserOptions": {
"ecmaVersion": "latest",
"tsconfigRootDir": "./",
"project": "tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"env": {
"es6": true,
"node": true
},
"rules": {
"no-irregular-whitespace": 2,
// "no-unused-expression": 1,
// "no-duplicate-variable": 1,
// "no-unused-variable": 2,
// "curly": 1,
// "class-name": 1,
"no-console": 2,
"semicolon": 0
// "triple-equals": 1
}
// "rulesDirectory": []
}