This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
51 lines (51 loc) · 1.4 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": false
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "import", "prettier"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"prettier"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts", ".json"],
"moduleDirectory": ["node_modules", "src"]
}
}
},
"env": {
"es6": true,
"browser": false,
"node": true,
"jquery": false,
"jest": true
},
"rules": {
"quotes": "off",
"no-console": "warn",
"no-debugger": "warn",
"no-var": "error",
"no-trailing-spaces": "warn",
"eol-last": "warn",
"no-underscore-dangle": "off",
"no-alert": "error",
"no-lone-blocks": "off",
"import/extensions": ["warn", { "json": "always" }],
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/no-named-as-default": "warn",
"prettier/prettier": "error"
},
"globals": {}
}