-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 921 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
29
30
31
32
33
34
35
36
37
38
39
{
"env": {
"node": true,
"mocha": true
},
//"extends": ["prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
},
"typescript": { "paths": ["src"] }
}
},
"rules": {
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "variable",
"format": ["camelCase"]
}
],
"import/prefer-default-export": "off",
"sort-imports": "off",
"no-use-before-define": "off",
"object-curly-newline": "off",
"prefer-const": "error",
"comma-dangle": "off",
"no-console": ["warn", { "allow": ["warn", "error", "info"] }],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "ignoreRestSiblings": true }]
}
}