forked from heremaps/harp.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
106 lines (100 loc) · 3.91 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"plugins": ["@typescript-eslint", "prettier", "simple-import-sort"],
"extends": ["standard-with-typescript", "prettier/@typescript-eslint"],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"prettier/prettier": [
"error",
{
"arrowParens": "avoid",
"trailingComma": "none"
}
],
"@typescript-eslint/no-unused-vars": [
"error",
{ "varsIgnorePattern": "^_", "args": "none" }
],
"@typescript-eslint/default-param-last": "off",
"@typescript-eslint/prefer-reduce-type-parameter": "off",
"@typescript-eslint/prefer-ts-expect-error": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-array-constructor": "off",
"@typescript-eslint/no-dynamic-delete": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/require-array-sort-compare": "off",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-extraneous-class": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/prefer-optional-chain": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/method-signature-style": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"simple-import-sort/imports": "error",
"sort-imports": "off",
"import/order": "off",
"max-len": [
"error",
{
"code": 100,
"tabWidth": 4,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
"ignoreUrls": true,
"ignoreComments": true
}
],
"no-console": ["error"],
"accessor-pairs": "off",
"generator-star-spacing": "off",
"handle-callback-err": "off",
"import/export": "off",
"import/first": "off",
"import/no-webpack-loader-syntax": "off",
"new-cap": "off",
"no-async-promise-executor": "off",
"no-case-declarations": "off",
"no-extra-boolean-cast": "off",
"no-inner-declarations": "off",
"no-irregular-whitespace": "off",
"no-multi-spaces": "off",
"no-multi-str": "off",
"no-new": "off",
"no-path-concat": "off",
"no-proto": "off",
"no-prototype-builtins": "off",
"no-redeclare": "off",
"no-self-assign": "off",
"no-tabs": "off",
"no-unneeded-ternary": "off",
"no-useless-call": "off",
"no-useless-computed-key": "off",
"no-useless-escape": "off",
"no-useless-return": "off",
"no-return-await": "off",
"operator-linebreak": "off",
"prefer-promise-reject-errors": "off",
"promise/param-names": "off",
"quote-props": "off",
"space-in-parens": "off",
"spaced-comment": "off",
"standard/no-callback-literal": "off",
"valid-typeof": "off",
"wrap-iife": "off"
}
}