forked from ScripterSugar/graphql-authorize-subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
66 lines (66 loc) · 1.28 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"import",
"@typescript-eslint"
],
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": [
"node_modules",
"lib/"
],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"import/no-unresolved": [
"error",
{
"ignore": [
"env"
]
}
],
"import/extensions": [
"error",
{
"ignore": [
"env"
]
}
],
"linebreak-style": 0,
"no-console": 0,
"no-continue": 0,
"no-alert": 1,
"max-len": "off",
"no-bitwise": "off",
"array-callback-return": "off",
"consistent-return": "off",
"no-mixed-operators": "off",
"func-names": "off",
"no-restricted-syntax": "off",
"import/prefer-default-export": "off",
"no-underscore-dangle": "off",
"@typescript-eslint/ban-ts-comment": "off"
},
"env": {
"browser": true,
"node": true
}
}