@pawover/eslint-rules 0.0.0-alpha.2 → 0.0.0-alpha.21

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.
@@ -0,0 +1,93 @@
1
+ declare const _default: {
2
+ "react/jsx-key-before-spread": number;
3
+ "react/jsx-no-comment-textnodes": number;
4
+ "react/jsx-no-duplicate-props": number;
5
+ "react/jsx-no-iife": number;
6
+ "react/jsx-no-undef": number;
7
+ "react/jsx-shorthand-boolean": number;
8
+ "react/jsx-shorthand-fragment": number;
9
+ "react/jsx-uses-react": number;
10
+ "react/jsx-uses-vars": number;
11
+ "react/no-access-state-in-setstate": number;
12
+ "react/no-array-index-key": number;
13
+ "react/no-children-count": number;
14
+ "react/no-children-for-each": number;
15
+ "react/no-children-map": number;
16
+ "react/no-children-only": number;
17
+ "react/no-children-prop": number;
18
+ "react/no-children-to-array": number;
19
+ "react/no-class-component": number;
20
+ "react/no-clone-element": number;
21
+ "react/no-component-will-mount": number;
22
+ "react/no-component-will-receive-props": number;
23
+ "react/no-component-will-update": number;
24
+ "react/no-context-provider": number;
25
+ "react/no-create-ref": number;
26
+ "react/no-default-props": number;
27
+ "react/no-direct-mutation-state": number;
28
+ "react/no-duplicate-key": number;
29
+ "react/no-forward-ref": number;
30
+ "react/no-implicit-key": number;
31
+ "react/no-leaked-conditional-rendering": number;
32
+ "react/no-missing-component-display-name": number;
33
+ "react/no-missing-context-display-name": number;
34
+ "react/no-missing-key": number;
35
+ "react/no-misused-capture-owner-stack": number;
36
+ "react/no-nested-component-definitions": number;
37
+ "react/no-nested-lazy-component-declarations": number;
38
+ "react/no-prop-types": number;
39
+ "react/no-redundant-should-component-update": number;
40
+ "react/no-set-state-in-component-did-mount": number;
41
+ "react/no-set-state-in-component-did-update": number;
42
+ "react/no-set-state-in-component-will-update": number;
43
+ "react/no-string-refs": number;
44
+ "react/no-unnecessary-key": number;
45
+ "react/no-unnecessary-use-callback": number;
46
+ "react/no-unnecessary-use-memo": number;
47
+ "react/no-unnecessary-use-prefix": number;
48
+ "react/no-unsafe-component-will-mount": number;
49
+ "react/no-unsafe-component-will-receive-props": number;
50
+ "react/no-unsafe-component-will-update": number;
51
+ "react/no-unstable-context-value": number;
52
+ "react/no-unstable-default-props": number;
53
+ "react/no-unused-class-component-members": number;
54
+ "react/no-unused-props": number;
55
+ "react/no-unused-state": number;
56
+ "react/no-use-context": number;
57
+ "react/no-useless-forward-ref": number;
58
+ "react/no-useless-fragment": number;
59
+ "react/prefer-destructuring-assignment": number;
60
+ "react/prefer-namespace-import": number;
61
+ "react/prefer-read-only-props": number;
62
+ "react/prefer-use-state-lazy-initialization": number;
63
+ "react-dom/no-dangerously-set-innerhtml": number;
64
+ "react-dom/no-dangerously-set-innerhtml-with-children": number;
65
+ "react-dom/no-find-dom-node": number;
66
+ "react-dom/no-flush-sync": number;
67
+ "react-dom/no-hydrate": number;
68
+ "react-dom/no-missing-button-type": number;
69
+ "react-dom/no-missing-iframe-sandbox": number;
70
+ "react-dom/no-namespace": number;
71
+ "react-dom/no-render": number;
72
+ "react-dom/no-render-return-value": number;
73
+ "react-dom/no-script-url": number;
74
+ "react-dom/no-string-style-prop": number;
75
+ "react-dom/no-unknown-property": number;
76
+ "react-dom/no-unsafe-iframe-sandbox": number;
77
+ "react-dom/no-unsafe-target-blank": number;
78
+ "react-dom/no-use-form-state": number;
79
+ "react-dom/no-void-elements-with-children": number;
80
+ "react-dom/prefer-namespace-import": number;
81
+ "react-web-api/no-leaked-event-listener": number;
82
+ "react-web-api/no-leaked-interval": number;
83
+ "react-web-api/no-leaked-resize-observer": number;
84
+ "react-web-api/no-leaked-timeout": number;
85
+ "react-hooks-extra/no-direct-set-state-in-use-effect": number;
86
+ "react-naming-convention/component-name": number;
87
+ "react-naming-convention/context-name": number;
88
+ "react-naming-convention/filename": (string | number)[];
89
+ "react-naming-convention/filename-extension": number;
90
+ "react-naming-convention/use-state": number;
91
+ };
92
+ export default _default;
93
+ //# sourceMappingURL=core.react.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.react.d.ts","sourceRoot":"","sources":["../../src/core.react.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA0FE"}
@@ -0,0 +1,133 @@
1
+ declare const _default: {
2
+ "stylistic/array-bracket-newline": (string | number)[];
3
+ "stylistic/array-bracket-spacing": number;
4
+ "stylistic/array-element-newline": (string | number)[];
5
+ "stylistic/arrow-parens": number;
6
+ "stylistic/arrow-spacing": number;
7
+ "stylistic/block-spacing": number;
8
+ "stylistic/brace-style": number;
9
+ "stylistic/comma-dangle": (string | number)[];
10
+ "stylistic/comma-spacing": number;
11
+ "stylistic/comma-style": number;
12
+ "stylistic/computed-property-spacing": number;
13
+ "stylistic/curly-newline": number;
14
+ "stylistic/dot-location": number;
15
+ "stylistic/eol-last": number;
16
+ "stylistic/function-call-argument-newline": (string | number)[];
17
+ "stylistic/function-call-spacing": number;
18
+ "stylistic/function-paren-newline": (string | number)[];
19
+ "stylistic/generator-star-spacing": number;
20
+ "stylistic/implicit-arrow-linebreak": number;
21
+ "stylistic/indent": number[];
22
+ "stylistic/indent-binary-ops": number[];
23
+ "stylistic/jsx-child-element-spacing": number;
24
+ "stylistic/jsx-closing-bracket-location": number;
25
+ "stylistic/jsx-closing-tag-location": number;
26
+ "stylistic/jsx-curly-brace-presence": number;
27
+ "stylistic/jsx-curly-newline": number;
28
+ "stylistic/jsx-curly-spacing": number;
29
+ "stylistic/jsx-equals-spacing": number;
30
+ "stylistic/jsx-first-prop-new-line": number;
31
+ "stylistic/jsx-function-call-newline": number;
32
+ "stylistic/jsx-indent-props": number[];
33
+ "stylistic/jsx-max-props-per-line": number;
34
+ "stylistic/jsx-newline": number;
35
+ "stylistic/jsx-one-expression-per-line": (number | {
36
+ allow: string;
37
+ })[];
38
+ "stylistic/jsx-pascal-case": (number | {
39
+ allowNamespace: boolean;
40
+ })[];
41
+ "stylistic/jsx-quotes": number;
42
+ "stylistic/jsx-self-closing-comp": number;
43
+ "stylistic/jsx-sort-props": number;
44
+ "stylistic/jsx-tag-spacing": (number | {
45
+ beforeClosing: string;
46
+ })[];
47
+ "stylistic/jsx-wrap-multilines": (number | {
48
+ declaration: string;
49
+ assignment: string;
50
+ return: string;
51
+ arrow: string;
52
+ condition: string;
53
+ logical: string;
54
+ prop: string;
55
+ propertyValue: string;
56
+ })[];
57
+ "stylistic/key-spacing": number;
58
+ "stylistic/keyword-spacing": number;
59
+ "stylistic/line-comment-position": number;
60
+ "stylistic/linebreak-style": number;
61
+ "stylistic/lines-around-comment": number;
62
+ "stylistic/lines-between-class-members": number;
63
+ "stylistic/max-len": number;
64
+ "stylistic/max-statements-per-line": number;
65
+ "stylistic/member-delimiter-style": number;
66
+ "stylistic/multiline-comment-style": number;
67
+ "stylistic/multiline-ternary": (string | number)[];
68
+ "stylistic/new-parens": number;
69
+ "stylistic/newline-per-chained-call": number;
70
+ "stylistic/no-confusing-arrow": number;
71
+ "stylistic/no-extra-parens": number;
72
+ "stylistic/no-extra-semi": number;
73
+ "stylistic/no-floating-decimal": number;
74
+ "stylistic/no-mixed-operators": number;
75
+ "stylistic/no-mixed-spaces-and-tabs": number;
76
+ "stylistic/no-multi-spaces": number;
77
+ "stylistic/no-multiple-empty-lines": (number | {
78
+ max: number;
79
+ maxEOF: number;
80
+ maxBOF: number;
81
+ })[];
82
+ "stylistic/no-tabs": number;
83
+ "stylistic/no-trailing-spaces": number;
84
+ "stylistic/no-whitespace-before-property": number;
85
+ "stylistic/nonblock-statement-body-position": number;
86
+ "stylistic/object-curly-newline": number;
87
+ "stylistic/object-curly-spacing": (string | number)[];
88
+ "stylistic/object-property-newline": (number | {
89
+ allowAllPropertiesOnSameLine: boolean;
90
+ })[];
91
+ "stylistic/one-var-declaration-per-line": number;
92
+ "stylistic/operator-linebreak": (string | number | {
93
+ overrides: {
94
+ "?": string;
95
+ ":": string;
96
+ "|": string;
97
+ };
98
+ })[];
99
+ "stylistic/padded-blocks": number;
100
+ "stylistic/padding-line-between-statements": (number | {
101
+ blankLine: string;
102
+ prev: string;
103
+ next: string;
104
+ })[];
105
+ "stylistic/quote-props": (string | number)[];
106
+ "stylistic/quotes": number;
107
+ "stylistic/rest-spread-spacing": number;
108
+ "stylistic/semi": number;
109
+ "stylistic/semi-spacing": number;
110
+ "stylistic/semi-style": number;
111
+ "stylistic/space-before-blocks": number;
112
+ "stylistic/space-before-function-paren": (number | {
113
+ anonymous: string;
114
+ named: string;
115
+ asyncArrow: string;
116
+ catch: string;
117
+ })[];
118
+ "stylistic/space-in-parens": number;
119
+ "stylistic/space-infix-ops": number;
120
+ "stylistic/space-unary-ops": number;
121
+ "stylistic/spaced-comment": number;
122
+ "stylistic/switch-colon-spacing": number;
123
+ "stylistic/template-curly-spacing": number;
124
+ "stylistic/template-tag-spacing": number;
125
+ "stylistic/type-annotation-spacing": number;
126
+ "stylistic/type-generic-spacing": number;
127
+ "stylistic/type-named-tuple-spacing": number;
128
+ "stylistic/wrap-iife": number;
129
+ "stylistic/wrap-regex": number;
130
+ "stylistic/yield-star-spacing": number;
131
+ };
132
+ export default _default;
133
+ //# sourceMappingURL=core.stylistic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.stylistic.d.ts","sourceRoot":"","sources":["../../src/core.stylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAmHE"}
@@ -0,0 +1,195 @@
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
+ "ts/consistent-type-definitions": (string | number)[];
34
+ "ts/consistent-type-exports": number;
35
+ "ts/consistent-type-imports": (number | {
36
+ fixStyle: string;
37
+ })[];
38
+ "ts/default-param-last": number;
39
+ "ts/dot-notation": number;
40
+ "ts/explicit-function-return-type": number;
41
+ "ts/explicit-member-accessibility": number;
42
+ "ts/explicit-module-boundary-types": number;
43
+ "ts/init-declarations": number;
44
+ "ts/max-params": number;
45
+ "ts/member-ordering": (number | {
46
+ default: string[];
47
+ })[];
48
+ "ts/method-signature-style": number;
49
+ "ts/naming-convention": number;
50
+ "ts/no-array-constructor": number;
51
+ "ts/no-array-delete": number;
52
+ "ts/no-base-to-string": number;
53
+ "ts/no-confusing-non-null-assertion": number;
54
+ "ts/no-confusing-void-expression": (number | {
55
+ ignoreArrowShorthand: boolean;
56
+ ignoreVoidOperator: boolean;
57
+ })[];
58
+ "ts/no-deprecated": number;
59
+ "ts/no-dupe-class-members": number;
60
+ "ts/no-duplicate-enum-values": number;
61
+ "ts/no-duplicate-type-constituents": number;
62
+ "ts/no-dynamic-delete": number;
63
+ "ts/no-empty-function": number;
64
+ "ts/no-empty-object-type": (number | {
65
+ allowInterfaces: string;
66
+ })[];
67
+ "ts/no-explicit-any": (number | {
68
+ fixToUnknown: boolean;
69
+ ignoreRestArgs: boolean;
70
+ })[];
71
+ "ts/no-extra-non-null-assertion": number;
72
+ "ts/no-extraneous-class": number;
73
+ "ts/no-floating-promises": number;
74
+ "ts/no-for-in-array": number;
75
+ "ts/no-implied-eval": number;
76
+ "ts/no-import-type-side-effects": number;
77
+ "ts/no-inferrable-types": (number | {
78
+ ignoreParameters: boolean;
79
+ ignoreProperties: boolean;
80
+ })[];
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;
193
+ };
194
+ export default _default;
195
+ //# sourceMappingURL=core.typescript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.typescript.d.ts","sourceRoot":"","sources":["../../src/core.typescript.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAiJE"}