@pawover/eslint-rules 0.0.0-alpha.3 → 0.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,194 +1,194 @@
1
1
  declare const _default: {
2
- "class-methods-use-this": number;
3
- "default-param-last": number;
4
- "dot-notation": number;
5
- "init-declarations": number;
6
- "max-params": number;
7
- "no-array-constructor": number;
8
- "no-dupe-class-members": number;
9
- "no-empty-function": number;
10
- "no-implied-eval": number;
11
- "no-loop-func": number;
12
- "no-magic-numbers": number;
13
- "no-redeclare": number;
14
- "no-restricted-imports": number;
15
- "no-shadow": number;
16
- "no-unused-expressions": number;
17
- "no-unused-vars": number;
18
- "no-use-before-define": number;
19
- "no-useless-constructor": number;
20
- "prefer-destructuring": number;
21
- "prefer-promise-reject-errors": number;
22
- "require-await": number;
23
- "ts/adjacent-overload-signatures": number;
24
- "ts/array-type": number;
25
- "ts/await-thenable": number;
26
- "ts/ban-ts-comment": number;
27
- "ts/ban-tslint-comment": number;
28
- "ts/class-literal-property-style": (string | number)[];
29
- "ts/class-methods-use-this": number;
30
- "ts/consistent-generic-constructors": number;
31
- "ts/consistent-indexed-object-style": number;
32
- "ts/consistent-type-assertions": (number | {
33
- assertionStyle: string;
34
- objectLiteralTypeAssertions: string;
35
- })[];
36
- "ts/consistent-type-definitions": (string | number)[];
37
- "ts/consistent-type-exports": number;
38
- "ts/consistent-type-imports": (number | {
39
- fixStyle: string;
40
- })[];
41
- "ts/default-param-last": number;
42
- "ts/dot-notation": number;
43
- "ts/explicit-function-return-type": number;
44
- "ts/explicit-member-accessibility": number;
45
- "ts/explicit-module-boundary-types": number;
46
- "ts/init-declarations": number;
47
- "ts/max-params": number;
48
- "ts/member-ordering": (number | {
49
- default: string[];
50
- })[];
51
- "ts/method-signature-style": number;
52
- "ts/naming-convention": number;
53
- "ts/no-array-constructor": number;
54
- "ts/no-array-delete": number;
55
- "ts/no-base-to-string": number;
56
- "ts/no-confusing-non-null-assertion": number;
57
- "ts/no-confusing-void-expression": (number | {
58
- ignoreArrowShorthand: boolean;
59
- ignoreVoidOperator: boolean;
60
- })[];
61
- "ts/no-deprecated": number;
62
- "ts/no-dupe-class-members": number;
63
- "ts/no-duplicate-enum-values": number;
64
- "ts/no-duplicate-type-constituents": number;
65
- "ts/no-dynamic-delete": number;
66
- "ts/no-empty-function": number;
67
- "ts/no-empty-object-type": (number | {
68
- allowInterfaces: string;
69
- })[];
70
- "ts/no-explicit-any": (number | {
71
- fixToUnknown: boolean;
72
- ignoreRestArgs: boolean;
73
- })[];
74
- "ts/no-extra-non-null-assertion": number;
75
- "ts/no-extraneous-class": number;
76
- "ts/no-floating-promises": number;
77
- "ts/no-for-in-array": number;
78
- "ts/no-implied-eval": number;
79
- "ts/no-import-type-side-effects": number;
80
- "ts/no-inferrable-types": number;
81
- "ts/no-invalid-void-type": number;
82
- "ts/no-loop-func": number;
83
- "ts/no-magic-numbers": number;
84
- "ts/no-meaningless-void-operator": number;
85
- "ts/no-misused-new": number;
86
- "ts/no-misused-promises": (number | {
87
- checksVoidReturn: boolean;
88
- })[];
89
- "ts/no-misused-spread": number;
90
- "ts/no-mixed-enums": number;
91
- "ts/no-namespace": (number | {
92
- allowDeclarations: boolean;
93
- allowDefinitionFiles: boolean;
94
- })[];
95
- "ts/no-non-null-asserted-nullish-coalescing": number;
96
- "ts/no-non-null-asserted-optional-chain": number;
97
- "ts/no-non-null-assertion": number;
98
- "ts/no-redeclare": number;
99
- "ts/no-redundant-type-constituents": number;
100
- "ts/no-require-imports": number;
101
- "ts/no-restricted-imports": number;
102
- "ts/no-restricted-types": number;
103
- "ts/no-shadow": number;
104
- "ts/no-this-alias": (number | {
105
- allowDestructuring: boolean;
106
- })[];
107
- "ts/no-unnecessary-boolean-literal-compare": number;
108
- "ts/no-unnecessary-condition": number;
109
- "ts/no-unnecessary-parameter-property-assignment": number;
110
- "ts/no-unnecessary-qualifier": number;
111
- "ts/no-unnecessary-template-expression": number;
112
- "ts/no-unnecessary-type-arguments": number;
113
- "ts/no-unnecessary-type-assertion": number;
114
- "ts/no-unnecessary-type-constraint": number;
115
- "ts/no-unnecessary-type-parameters": number;
116
- "ts/no-unsafe-argument": number;
117
- "ts/no-unsafe-assignment": number;
118
- "ts/no-unsafe-call": number;
119
- "ts/no-unsafe-declaration-merging": number;
120
- "ts/no-unsafe-enum-comparison": number;
121
- "ts/no-unsafe-function-type": number;
122
- "ts/no-unsafe-member-access": number;
123
- "ts/no-unsafe-return": number;
124
- "ts/no-unsafe-type-assertion": number;
125
- "ts/no-unsafe-unary-minus": number;
126
- "ts/no-unused-expressions": (number | {
127
- ignoreDirectives: boolean;
128
- allowShortCircuit: boolean;
129
- })[];
130
- "ts/no-unused-vars": (number | {
131
- vars: string;
132
- args: string;
133
- caughtErrors: string;
134
- varsIgnorePattern: string;
135
- destructuredArrayIgnorePattern: string;
136
- })[];
137
- "ts/no-use-before-define": (number | {
138
- functions: boolean;
139
- classes: boolean;
140
- variables: boolean;
141
- allowNamedExports: boolean;
142
- })[];
143
- "ts/no-useless-constructor": number;
144
- "ts/no-useless-empty-export": number;
145
- "ts/no-wrapper-object-types": number;
146
- "ts/non-nullable-type-assertion-style": number;
147
- "ts/only-throw-error": number;
148
- "ts/parameter-properties": number;
149
- "ts/prefer-as-const": number;
150
- "ts/prefer-destructuring": number;
151
- "ts/prefer-enum-initializers": number;
152
- "ts/prefer-find": number;
153
- "ts/prefer-for-of": number;
154
- "ts/prefer-function-type": number;
155
- "ts/prefer-includes": number;
156
- "ts/prefer-literal-enum-member": number;
157
- "ts/prefer-namespace-keyword": number;
158
- "ts/prefer-nullish-coalescing": number;
159
- "ts/prefer-optional-chain": number;
160
- "ts/prefer-promise-reject-errors": number;
161
- "ts/prefer-readonly": number;
162
- "ts/prefer-readonly-parameter-types": number;
163
- "ts/prefer-reduce-type-parameter": number;
164
- "ts/prefer-regexp-exec": number;
165
- "ts/prefer-return-this-type": number;
166
- "ts/prefer-string-starts-ends-with": number;
167
- "ts/promise-function-async": number;
168
- "ts/related-getter-setter-pairs": number;
169
- "ts/require-array-sort-compare": number;
170
- "ts/require-await": number;
171
- "ts/restrict-plus-operands": number;
172
- "ts/restrict-template-expressions": number;
173
- "ts/return-await": number;
174
- "ts/strict-boolean-expressions": number;
175
- "ts/switch-exhaustiveness-check": number;
176
- "ts/triple-slash-reference": (number | {
177
- path: string;
178
- types: string;
179
- lib: string;
180
- })[];
181
- "ts/typedef": (number | {
182
- arrayDestructuring: boolean;
183
- arrowParameter: boolean;
184
- memberVariableDeclaration: boolean;
185
- objectDestructuring: boolean;
186
- parameter: boolean;
187
- propertyDeclaration: boolean;
188
- variableDeclaration: boolean;
189
- })[];
190
- "ts/unbound-method": number;
191
- "ts/unified-signatures": number;
192
- "ts/use-unknown-in-catch-callback-variable": number;
2
+ readonly "class-methods-use-this": 0;
3
+ readonly "default-param-last": 0;
4
+ readonly "dot-notation": 0;
5
+ readonly "init-declarations": 0;
6
+ readonly "max-params": 0;
7
+ readonly "no-array-constructor": 0;
8
+ readonly "no-dupe-class-members": 0;
9
+ readonly "no-empty-function": 0;
10
+ readonly "no-implied-eval": 0;
11
+ readonly "no-loop-func": 0;
12
+ readonly "no-magic-numbers": 0;
13
+ readonly "no-redeclare": 0;
14
+ readonly "no-restricted-imports": 0;
15
+ readonly "no-shadow": 0;
16
+ readonly "no-unused-expressions": 0;
17
+ readonly "no-unused-vars": 0;
18
+ readonly "no-use-before-define": 0;
19
+ readonly "no-useless-constructor": 0;
20
+ readonly "prefer-destructuring": 0;
21
+ readonly "prefer-promise-reject-errors": 0;
22
+ readonly "require-await": 0;
23
+ readonly "ts/adjacent-overload-signatures": 2;
24
+ readonly "ts/array-type": 2;
25
+ readonly "ts/await-thenable": 0;
26
+ readonly "ts/ban-ts-comment": 0;
27
+ readonly "ts/ban-tslint-comment": 0;
28
+ readonly "ts/class-literal-property-style": readonly [2, "fields"];
29
+ readonly "ts/class-methods-use-this": 0;
30
+ readonly "ts/consistent-generic-constructors": 0;
31
+ readonly "ts/consistent-indexed-object-style": 0;
32
+ readonly "ts/consistent-type-assertions": readonly [2, {
33
+ readonly assertionStyle: "as";
34
+ readonly objectLiteralTypeAssertions: "allow-as-parameter";
35
+ }];
36
+ readonly "ts/consistent-type-definitions": readonly [2, "interface"];
37
+ readonly "ts/consistent-type-exports": 2;
38
+ readonly "ts/consistent-type-imports": readonly [2, {
39
+ readonly fixStyle: "inline-type-imports";
40
+ }];
41
+ readonly "ts/default-param-last": 2;
42
+ readonly "ts/dot-notation": 0;
43
+ readonly "ts/explicit-function-return-type": 0;
44
+ readonly "ts/explicit-member-accessibility": 2;
45
+ readonly "ts/explicit-module-boundary-types": 0;
46
+ readonly "ts/init-declarations": 0;
47
+ readonly "ts/max-params": 0;
48
+ readonly "ts/member-ordering": readonly [2, {
49
+ readonly default: string[];
50
+ }];
51
+ readonly "ts/method-signature-style": 2;
52
+ readonly "ts/naming-convention": 0;
53
+ readonly "ts/no-array-constructor": 2;
54
+ readonly "ts/no-array-delete": 2;
55
+ readonly "ts/no-base-to-string": 0;
56
+ readonly "ts/no-confusing-non-null-assertion": 0;
57
+ readonly "ts/no-confusing-void-expression": readonly [2, {
58
+ readonly ignoreArrowShorthand: true;
59
+ readonly ignoreVoidOperator: false;
60
+ }];
61
+ readonly "ts/no-deprecated": 0;
62
+ readonly "ts/no-dupe-class-members": 2;
63
+ readonly "ts/no-duplicate-enum-values": 2;
64
+ readonly "ts/no-duplicate-type-constituents": 0;
65
+ readonly "ts/no-dynamic-delete": 0;
66
+ readonly "ts/no-empty-function": 0;
67
+ readonly "ts/no-empty-object-type": readonly [2, {
68
+ readonly allowInterfaces: "with-single-extends";
69
+ }];
70
+ readonly "ts/no-explicit-any": readonly [2, {
71
+ readonly fixToUnknown: true;
72
+ readonly ignoreRestArgs: true;
73
+ }];
74
+ readonly "ts/no-extra-non-null-assertion": 0;
75
+ readonly "ts/no-extraneous-class": 0;
76
+ readonly "ts/no-floating-promises": 0;
77
+ readonly "ts/no-for-in-array": 0;
78
+ readonly "ts/no-implied-eval": 2;
79
+ readonly "ts/no-import-type-side-effects": 2;
80
+ readonly "ts/no-inferrable-types": 2;
81
+ readonly "ts/no-invalid-void-type": 2;
82
+ readonly "ts/no-loop-func": 0;
83
+ readonly "ts/no-magic-numbers": 0;
84
+ readonly "ts/no-meaningless-void-operator": 0;
85
+ readonly "ts/no-misused-new": 0;
86
+ readonly "ts/no-misused-promises": readonly [2, {
87
+ readonly checksVoidReturn: false;
88
+ }];
89
+ readonly "ts/no-misused-spread": 2;
90
+ readonly "ts/no-mixed-enums": 0;
91
+ readonly "ts/no-namespace": readonly [2, {
92
+ readonly allowDeclarations: true;
93
+ readonly allowDefinitionFiles: true;
94
+ }];
95
+ readonly "ts/no-non-null-asserted-nullish-coalescing": 2;
96
+ readonly "ts/no-non-null-asserted-optional-chain": 2;
97
+ readonly "ts/no-non-null-assertion": 0;
98
+ readonly "ts/no-redeclare": 2;
99
+ readonly "ts/no-redundant-type-constituents": 0;
100
+ readonly "ts/no-require-imports": 2;
101
+ readonly "ts/no-restricted-imports": 0;
102
+ readonly "ts/no-restricted-types": 0;
103
+ readonly "ts/no-shadow": 0;
104
+ readonly "ts/no-this-alias": readonly [2, {
105
+ readonly allowDestructuring: true;
106
+ }];
107
+ readonly "ts/no-unnecessary-boolean-literal-compare": 0;
108
+ readonly "ts/no-unnecessary-condition": 0;
109
+ readonly "ts/no-unnecessary-parameter-property-assignment": 0;
110
+ readonly "ts/no-unnecessary-qualifier": 2;
111
+ readonly "ts/no-unnecessary-template-expression": 2;
112
+ readonly "ts/no-unnecessary-type-arguments": 0;
113
+ readonly "ts/no-unnecessary-type-assertion": 0;
114
+ readonly "ts/no-unnecessary-type-constraint": 2;
115
+ readonly "ts/no-unnecessary-type-parameters": 0;
116
+ readonly "ts/no-unsafe-argument": 0;
117
+ readonly "ts/no-unsafe-assignment": 0;
118
+ readonly "ts/no-unsafe-call": 0;
119
+ readonly "ts/no-unsafe-declaration-merging": 0;
120
+ readonly "ts/no-unsafe-enum-comparison": 0;
121
+ readonly "ts/no-unsafe-function-type": 2;
122
+ readonly "ts/no-unsafe-member-access": 0;
123
+ readonly "ts/no-unsafe-return": 0;
124
+ readonly "ts/no-unsafe-type-assertion": 0;
125
+ readonly "ts/no-unsafe-unary-minus": 2;
126
+ readonly "ts/no-unused-expressions": readonly [2, {
127
+ readonly ignoreDirectives: true;
128
+ readonly allowShortCircuit: true;
129
+ }];
130
+ readonly "ts/no-unused-vars": readonly [2, {
131
+ readonly vars: "local";
132
+ readonly args: "none";
133
+ readonly caughtErrors: "none";
134
+ readonly varsIgnorePattern: "^_";
135
+ readonly destructuredArrayIgnorePattern: "^_";
136
+ }];
137
+ readonly "ts/no-use-before-define": readonly [2, {
138
+ readonly functions: false;
139
+ readonly classes: false;
140
+ readonly variables: false;
141
+ readonly allowNamedExports: false;
142
+ }];
143
+ readonly "ts/no-useless-constructor": 0;
144
+ readonly "ts/no-useless-empty-export": 0;
145
+ readonly "ts/no-wrapper-object-types": 2;
146
+ readonly "ts/non-nullable-type-assertion-style": 0;
147
+ readonly "ts/only-throw-error": 0;
148
+ readonly "ts/parameter-properties": 0;
149
+ readonly "ts/prefer-as-const": 0;
150
+ readonly "ts/prefer-destructuring": 0;
151
+ readonly "ts/prefer-enum-initializers": 0;
152
+ readonly "ts/prefer-find": 2;
153
+ readonly "ts/prefer-for-of": 2;
154
+ readonly "ts/prefer-function-type": 2;
155
+ readonly "ts/prefer-includes": 0;
156
+ readonly "ts/prefer-literal-enum-member": 0;
157
+ readonly "ts/prefer-namespace-keyword": 2;
158
+ readonly "ts/prefer-nullish-coalescing": 0;
159
+ readonly "ts/prefer-optional-chain": 0;
160
+ readonly "ts/prefer-promise-reject-errors": 0;
161
+ readonly "ts/prefer-readonly": 0;
162
+ readonly "ts/prefer-readonly-parameter-types": 0;
163
+ readonly "ts/prefer-reduce-type-parameter": 0;
164
+ readonly "ts/prefer-regexp-exec": 0;
165
+ readonly "ts/prefer-return-this-type": 0;
166
+ readonly "ts/prefer-string-starts-ends-with": 0;
167
+ readonly "ts/promise-function-async": 0;
168
+ readonly "ts/related-getter-setter-pairs": 2;
169
+ readonly "ts/require-array-sort-compare": 0;
170
+ readonly "ts/require-await": 0;
171
+ readonly "ts/restrict-plus-operands": 0;
172
+ readonly "ts/restrict-template-expressions": 0;
173
+ readonly "ts/return-await": 0;
174
+ readonly "ts/strict-boolean-expressions": 0;
175
+ readonly "ts/switch-exhaustiveness-check": 0;
176
+ readonly "ts/triple-slash-reference": readonly [2, {
177
+ readonly path: "never";
178
+ readonly types: "always";
179
+ readonly lib: "always";
180
+ }];
181
+ readonly "ts/typedef": readonly [2, {
182
+ readonly arrayDestructuring: false;
183
+ readonly arrowParameter: false;
184
+ readonly memberVariableDeclaration: false;
185
+ readonly objectDestructuring: false;
186
+ readonly parameter: false;
187
+ readonly propertyDeclaration: true;
188
+ readonly variableDeclaration: false;
189
+ }];
190
+ readonly "ts/unbound-method": 0;
191
+ readonly "ts/unified-signatures": 0;
192
+ readonly "ts/use-unknown-in-catch-callback-variable": 0;
193
193
  };
194
194
  export default _default;
@@ -1,48 +1,48 @@
1
1
  declare const _default: {
2
- "vue/attribute-hyphenation": (string | number | {
3
- ignore: never[];
4
- })[];
5
- "vue/first-attribute-linebreak": (number | {
6
- singleline: string;
7
- multiline: string;
8
- })[];
9
- "vue/multi-word-component-names": number;
10
- "vue/html-self-closing": (number | {
11
- html: {
12
- void: string;
13
- normal: string;
14
- component: string;
2
+ readonly "vue/attribute-hyphenation": readonly [2, "never", {
3
+ readonly ignore: readonly [];
4
+ }];
5
+ readonly "vue/first-attribute-linebreak": readonly [2, {
6
+ readonly singleline: "beside";
7
+ readonly multiline: "below";
8
+ }];
9
+ readonly "vue/multi-word-component-names": 0;
10
+ readonly "vue/html-self-closing": readonly [2, {
11
+ readonly html: {
12
+ readonly void: "always";
13
+ readonly normal: "always";
14
+ readonly component: "always";
15
15
  };
16
- svg: string;
17
- math: string;
18
- })[];
19
- "vue/script-indent": (number | {
20
- baseIndent: number;
21
- switchCase: number;
22
- ignores: never[];
23
- })[];
24
- "vue/block-order": (number | {
25
- order: string[];
26
- })[];
27
- "vue/component-name-in-template-casing": (string | number | {
28
- registeredComponentsOnly: boolean;
29
- })[];
30
- "vue/component-options-name-casing": (string | number)[];
31
- "vue/custom-event-name-casing": (string | number | {
32
- ignores: never[];
33
- })[];
34
- "vue/define-macros-order": (number | {
35
- order: string[];
36
- defineExposeLast: boolean;
37
- })[];
38
- "vue/v-on-event-hyphenation": (string | number | {
39
- autofix: boolean;
40
- })[];
41
- "vue/operator-linebreak": (string | number | {
42
- overrides: {
43
- "?": string;
44
- ":": string;
16
+ readonly svg: "always";
17
+ readonly math: "always";
18
+ }];
19
+ readonly "vue/script-indent": readonly [2, 2, {
20
+ readonly baseIndent: 0;
21
+ readonly switchCase: 1;
22
+ readonly ignores: readonly [];
23
+ }];
24
+ readonly "vue/block-order": readonly [2, {
25
+ readonly order: readonly ["script:not([setup])", "script[setup]", "template", "style:not([scoped])", "style[scoped]"];
26
+ }];
27
+ readonly "vue/component-name-in-template-casing": readonly [2, "PascalCase", {
28
+ readonly registeredComponentsOnly: false;
29
+ }];
30
+ readonly "vue/component-options-name-casing": readonly [2, "PascalCase"];
31
+ readonly "vue/custom-event-name-casing": readonly [2, "camelCase", {
32
+ readonly ignores: readonly [];
33
+ }];
34
+ readonly "vue/define-macros-order": readonly [2, {
35
+ readonly order: readonly ["defineOptions", "defineProps", "defineEmits"];
36
+ readonly defineExposeLast: false;
37
+ }];
38
+ readonly "vue/v-on-event-hyphenation": readonly [2, "never", {
39
+ readonly autofix: true;
40
+ }];
41
+ readonly "vue/operator-linebreak": readonly [2, "after", {
42
+ readonly overrides: {
43
+ readonly "?": "ignore";
44
+ readonly ":": "ignore";
45
45
  };
46
- })[];
46
+ }];
47
47
  };
48
48
  export default _default;