UNPKG

8.8 kBJavaScriptView Raw
1"use strict";
2// THIS CODE WAS AUTOMATICALLY GENERATED
3// DO NOT EDIT THIS CODE BY HAND
4// YOU CAN REGENERATE IT USING yarn generate:configs
5module.exports = {
6 extends: ['./configs/base', './configs/eslint-recommended'],
7 rules: {
8 '@typescript-eslint/adjacent-overload-signatures': 'error',
9 '@typescript-eslint/array-type': 'error',
10 '@typescript-eslint/await-thenable': 'error',
11 '@typescript-eslint/ban-ts-comment': 'error',
12 '@typescript-eslint/ban-tslint-comment': 'error',
13 '@typescript-eslint/ban-types': 'error',
14 'brace-style': 'off',
15 '@typescript-eslint/brace-style': 'error',
16 '@typescript-eslint/class-literal-property-style': 'error',
17 'comma-dangle': 'off',
18 '@typescript-eslint/comma-dangle': 'error',
19 'comma-spacing': 'off',
20 '@typescript-eslint/comma-spacing': 'error',
21 '@typescript-eslint/consistent-indexed-object-style': 'error',
22 '@typescript-eslint/consistent-type-assertions': 'error',
23 '@typescript-eslint/consistent-type-definitions': 'error',
24 '@typescript-eslint/consistent-type-imports': 'error',
25 '@typescript-eslint/consistent-type-exports': 'error',
26 'default-param-last': 'off',
27 '@typescript-eslint/default-param-last': 'error',
28 'dot-notation': 'off',
29 '@typescript-eslint/dot-notation': 'error',
30 '@typescript-eslint/explicit-function-return-type': 'error',
31 '@typescript-eslint/explicit-member-accessibility': 'error',
32 '@typescript-eslint/explicit-module-boundary-types': 'error',
33 'func-call-spacing': 'off',
34 '@typescript-eslint/func-call-spacing': 'error',
35 indent: 'off',
36 '@typescript-eslint/indent': 'error',
37 'init-declarations': 'off',
38 '@typescript-eslint/init-declarations': 'error',
39 'keyword-spacing': 'off',
40 '@typescript-eslint/keyword-spacing': 'error',
41 'lines-between-class-members': 'off',
42 '@typescript-eslint/lines-between-class-members': 'error',
43 '@typescript-eslint/member-delimiter-style': 'error',
44 '@typescript-eslint/member-ordering': 'error',
45 '@typescript-eslint/method-signature-style': 'error',
46 '@typescript-eslint/naming-convention': 'error',
47 'no-array-constructor': 'off',
48 '@typescript-eslint/no-array-constructor': 'error',
49 '@typescript-eslint/no-base-to-string': 'error',
50 '@typescript-eslint/no-confusing-non-null-assertion': 'error',
51 '@typescript-eslint/no-confusing-void-expression': 'error',
52 'no-dupe-class-members': 'off',
53 '@typescript-eslint/no-dupe-class-members': 'error',
54 'no-duplicate-imports': 'off',
55 '@typescript-eslint/no-duplicate-imports': 'error',
56 '@typescript-eslint/no-dynamic-delete': 'error',
57 'no-empty-function': 'off',
58 '@typescript-eslint/no-empty-function': 'error',
59 '@typescript-eslint/no-empty-interface': 'error',
60 '@typescript-eslint/no-explicit-any': 'error',
61 '@typescript-eslint/no-extra-non-null-assertion': 'error',
62 'no-extra-parens': 'off',
63 '@typescript-eslint/no-extra-parens': 'error',
64 'no-extra-semi': 'off',
65 '@typescript-eslint/no-extra-semi': 'error',
66 '@typescript-eslint/no-extraneous-class': 'error',
67 '@typescript-eslint/no-floating-promises': 'error',
68 '@typescript-eslint/no-for-in-array': 'error',
69 'no-implied-eval': 'off',
70 '@typescript-eslint/no-implied-eval': 'error',
71 '@typescript-eslint/no-inferrable-types': 'error',
72 'no-invalid-this': 'off',
73 '@typescript-eslint/no-invalid-this': 'error',
74 '@typescript-eslint/no-invalid-void-type': 'error',
75 'no-loop-func': 'off',
76 '@typescript-eslint/no-loop-func': 'error',
77 'no-loss-of-precision': 'off',
78 '@typescript-eslint/no-loss-of-precision': 'error',
79 'no-magic-numbers': 'off',
80 '@typescript-eslint/no-magic-numbers': 'error',
81 '@typescript-eslint/no-meaningless-void-operator': 'error',
82 '@typescript-eslint/no-misused-new': 'error',
83 '@typescript-eslint/no-misused-promises': 'error',
84 '@typescript-eslint/no-namespace': 'error',
85 '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
86 '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
87 '@typescript-eslint/no-non-null-assertion': 'error',
88 '@typescript-eslint/no-parameter-properties': 'error',
89 'no-redeclare': 'off',
90 '@typescript-eslint/no-redeclare': 'error',
91 '@typescript-eslint/no-require-imports': 'error',
92 'no-restricted-imports': 'off',
93 '@typescript-eslint/no-restricted-imports': 'error',
94 'no-shadow': 'off',
95 '@typescript-eslint/no-shadow': 'error',
96 '@typescript-eslint/no-this-alias': 'error',
97 'no-throw-literal': 'off',
98 '@typescript-eslint/no-throw-literal': 'error',
99 '@typescript-eslint/no-type-alias': 'error',
100 '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
101 '@typescript-eslint/no-unnecessary-condition': 'error',
102 '@typescript-eslint/no-unnecessary-qualifier': 'error',
103 '@typescript-eslint/no-unnecessary-type-arguments': 'error',
104 '@typescript-eslint/no-unnecessary-type-assertion': 'error',
105 '@typescript-eslint/no-unnecessary-type-constraint': 'error',
106 '@typescript-eslint/no-unsafe-argument': 'error',
107 '@typescript-eslint/no-unsafe-assignment': 'error',
108 '@typescript-eslint/no-unsafe-call': 'error',
109 '@typescript-eslint/no-unsafe-member-access': 'error',
110 '@typescript-eslint/no-unsafe-return': 'error',
111 'no-unused-expressions': 'off',
112 '@typescript-eslint/no-unused-expressions': 'error',
113 'no-unused-vars': 'off',
114 '@typescript-eslint/no-unused-vars': 'error',
115 'no-use-before-define': 'off',
116 '@typescript-eslint/no-use-before-define': 'error',
117 'no-useless-constructor': 'off',
118 '@typescript-eslint/no-useless-constructor': 'error',
119 '@typescript-eslint/no-var-requires': 'error',
120 '@typescript-eslint/non-nullable-type-assertion-style': 'error',
121 'object-curly-spacing': 'off',
122 '@typescript-eslint/object-curly-spacing': 'error',
123 'padding-line-between-statements': 'off',
124 '@typescript-eslint/padding-line-between-statements': 'error',
125 '@typescript-eslint/prefer-as-const': 'error',
126 '@typescript-eslint/prefer-enum-initializers': 'error',
127 '@typescript-eslint/prefer-for-of': 'error',
128 '@typescript-eslint/prefer-function-type': 'error',
129 '@typescript-eslint/prefer-includes': 'error',
130 '@typescript-eslint/prefer-literal-enum-member': 'error',
131 '@typescript-eslint/prefer-namespace-keyword': 'error',
132 '@typescript-eslint/prefer-nullish-coalescing': 'error',
133 '@typescript-eslint/prefer-optional-chain': 'error',
134 '@typescript-eslint/prefer-readonly': 'error',
135 '@typescript-eslint/prefer-readonly-parameter-types': 'error',
136 '@typescript-eslint/prefer-reduce-type-parameter': 'error',
137 '@typescript-eslint/prefer-regexp-exec': 'error',
138 '@typescript-eslint/prefer-return-this-type': 'error',
139 '@typescript-eslint/prefer-string-starts-ends-with': 'error',
140 '@typescript-eslint/prefer-ts-expect-error': 'error',
141 '@typescript-eslint/promise-function-async': 'error',
142 quotes: 'off',
143 '@typescript-eslint/quotes': 'error',
144 '@typescript-eslint/require-array-sort-compare': 'error',
145 'require-await': 'off',
146 '@typescript-eslint/require-await': 'error',
147 '@typescript-eslint/restrict-plus-operands': 'error',
148 '@typescript-eslint/restrict-template-expressions': 'error',
149 'no-return-await': 'off',
150 '@typescript-eslint/return-await': 'error',
151 semi: 'off',
152 '@typescript-eslint/semi': 'error',
153 '@typescript-eslint/sort-type-union-intersection-members': 'error',
154 'space-before-function-paren': 'off',
155 '@typescript-eslint/space-before-function-paren': 'error',
156 'space-infix-ops': 'off',
157 '@typescript-eslint/space-infix-ops': 'error',
158 '@typescript-eslint/strict-boolean-expressions': 'error',
159 '@typescript-eslint/switch-exhaustiveness-check': 'error',
160 '@typescript-eslint/triple-slash-reference': 'error',
161 '@typescript-eslint/type-annotation-spacing': 'error',
162 '@typescript-eslint/typedef': 'error',
163 '@typescript-eslint/unbound-method': 'error',
164 '@typescript-eslint/unified-signatures': 'error',
165 },
166};
167//# sourceMappingURL=all.js.map
\No newline at end of file