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

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,13 @@
1
+ export default {
2
+ "antfu/consistent-chaining": 2,
3
+ "antfu/consistent-list-newline": 2,
4
+ "antfu/curly": 2,
5
+ "antfu/if-newline": 2,
6
+ "antfu/import-dedupe": 2,
7
+ "antfu/indent-unindent": 2,
8
+ "antfu/no-import-dist": 2,
9
+ "antfu/no-import-node-modules-by-path": 2,
10
+ "antfu/no-top-level-await": 2,
11
+ "antfu/no-ts-export-equal": 2,
12
+ "antfu/top-level-function": 2,
13
+ };
@@ -0,0 +1,200 @@
1
+ export default {
2
+ // Possible Problems
3
+ "array-callback-return": 2,
4
+ "constructor-super": 2,
5
+ "for-direction": 2,
6
+ "getter-return": 2,
7
+ "no-async-promise-executor": 2,
8
+ "no-await-in-loop": 0,
9
+ "no-class-assign": 2,
10
+ "no-compare-neg-zero": 2,
11
+ "no-cond-assign": 2,
12
+ "no-const-assign": 2,
13
+ "no-constant-binary-expression": 2,
14
+ "no-constant-condition": 2,
15
+ "no-constructor-return": 2,
16
+ "no-control-regex": 2,
17
+ "no-debugger": 2,
18
+ "no-dupe-args": 2,
19
+ "no-dupe-class-members": 2,
20
+ "no-dupe-else-if": 2,
21
+ "no-dupe-keys": 2,
22
+ "no-duplicate-case": 2,
23
+ "no-duplicate-imports": 2,
24
+ "no-empty-character-class": 2,
25
+ "no-empty-pattern": 2,
26
+ "no-ex-assign": 2,
27
+ "no-fallthrough": 2,
28
+ "no-func-assign": 2,
29
+ "no-import-assign": 2,
30
+ "no-inner-declarations": 2,
31
+ "no-invalid-regexp": 2,
32
+ "no-irregular-whitespace": [2, { skipStrings: true, skipComments: false, skipRegExps: true, skipTemplates: true, skipJSXText: true }],
33
+ "no-loss-of-precision": 2,
34
+ "no-misleading-character-class": 2,
35
+ "no-new-native-nonconstructor": 2,
36
+ "no-obj-calls": 2,
37
+ "no-promise-executor-return": 2,
38
+ "no-prototype-builtins": 2,
39
+ "no-self-assign": 2,
40
+ "no-self-compare": 2,
41
+ "no-setter-return": 2,
42
+ "no-sparse-arrays": 2,
43
+ "no-template-curly-in-string": 2,
44
+ "no-this-before-super": 2,
45
+ "no-undef": 0,
46
+ "no-unexpected-multiline": 2,
47
+ "no-unmodified-loop-condition": 2,
48
+ "no-unreachable": 2,
49
+ "no-unreachable-loop": 2,
50
+ "no-unsafe-finally": 2,
51
+ "no-unsafe-negation": 2,
52
+ "no-unsafe-optional-chaining": 2,
53
+ "no-unused-private-class-members": 2,
54
+ "no-unused-vars": [2, { vars: "local", args: "none", caughtErrors: "none", varsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }],
55
+ "no-use-before-define": [2, { functions: false, classes: false, variables: false, allowNamedExports: false }],
56
+ "no-useless-assignment": 0,
57
+ "no-useless-backreference": 2,
58
+ "require-atomic-updates": [2, { allowProperties: true }],
59
+ "use-isnan": 2,
60
+ "valid-typeof": 2,
61
+ // Suggestions
62
+ "accessor-pairs": [2, { setWithoutGet: true, getWithoutSet: false }],
63
+ "arrow-body-style": 0,
64
+ "block-scoped-var": 0,
65
+ "camelcase": 0,
66
+ "capitalized-comments": 0,
67
+ "class-methods-use-this": 0,
68
+ "complexity": 0,
69
+ "consistent-return": 0,
70
+ "consistent-this": 0,
71
+ "curly": 2,
72
+ "default-case": 2,
73
+ "default-case-last": 0,
74
+ "default-param-last": 2,
75
+ "dot-notation": 0,
76
+ "eqeqeq": 2,
77
+ "func-name-matching": 2,
78
+ "func-names": 2,
79
+ "func-style": 0,
80
+ "grouped-accessor-pairs": [2, "getBeforeSet"],
81
+ "guard-for-in": 2,
82
+ "id-denylist": 0,
83
+ "id-length": 0,
84
+ "id-match": 0,
85
+ "init-declarations": 0,
86
+ "logical-assignment-operators": 0,
87
+ "max-classes-per-file": 0,
88
+ "max-depth": [2, 5],
89
+ "max-lines": 0,
90
+ "max-lines-per-function": 0,
91
+ "max-nested-callbacks": 0,
92
+ "max-params": 0,
93
+ "max-statements": 0,
94
+ "new-cap": [2, { capIsNew: false }],
95
+ "no-alert": 0,
96
+ "no-array-constructor": 2,
97
+ "no-bitwise": 0,
98
+ "no-caller": 2,
99
+ "no-case-declarations": 2,
100
+ "no-console": 0,
101
+ "no-continue": 0,
102
+ "no-delete-var": 2,
103
+ "no-div-regex": 2,
104
+ "no-else-return": 0,
105
+ "no-empty": [2, { allowEmptyCatch: true }],
106
+ "no-empty-function": 0,
107
+ "no-empty-static-block": 2,
108
+ "no-eq-null": 2,
109
+ "no-eval": 2,
110
+ "no-extend-native": 2,
111
+ "no-extra-bind": 2,
112
+ "no-extra-boolean-cast": 2,
113
+ "no-extra-label": 0,
114
+ "no-global-assign": 2,
115
+ "no-implicit-coercion": [2, { allow: ["!!"] }],
116
+ "no-implicit-globals": 0,
117
+ "no-implied-eval": 2,
118
+ "no-inline-comments": 0,
119
+ "no-invalid-this": 0,
120
+ "no-iterator": 2,
121
+ "no-label-var": 2,
122
+ "no-labels": 2,
123
+ "no-lone-blocks": 2,
124
+ "no-lonely-if": 0,
125
+ "no-loop-func": 0,
126
+ "no-magic-numbers": 0,
127
+ "no-multi-assign": 0,
128
+ "no-multi-str": 2,
129
+ "no-negated-condition": 0,
130
+ "no-nested-ternary": 0,
131
+ "no-new": 2,
132
+ "no-new-func": 2,
133
+ "no-new-wrappers": 2,
134
+ "no-nonoctal-decimal-escape": 2,
135
+ "no-object-constructor": 2,
136
+ "no-octal": 2,
137
+ "no-octal-escape": 0,
138
+ "no-param-reassign": 2,
139
+ "no-plusplus": 0,
140
+ "no-proto": 2,
141
+ "no-redeclare": 2,
142
+ "no-regex-spaces": 2,
143
+ "no-restricted-exports": 0,
144
+ "no-restricted-globals": 0,
145
+ "no-restricted-imports": 0,
146
+ "no-restricted-properties": 0,
147
+ "no-restricted-syntax": 0,
148
+ "no-return-assign": [2, "always"],
149
+ "no-script-url": 0,
150
+ "no-sequences": 2,
151
+ "no-shadow": 0,
152
+ "no-shadow-restricted-names": 2,
153
+ "no-ternary": 0,
154
+ "no-throw-literal": 0,
155
+ "no-undef-init": 2,
156
+ "no-undefined": 0,
157
+ "no-underscore-dangle": 0,
158
+ "no-unneeded-ternary": 2,
159
+ "no-unused-expressions": [2, { ignoreDirectives: true, allowShortCircuit: true }],
160
+ "no-unused-labels": 2,
161
+ "no-useless-call": 2,
162
+ "no-useless-catch": 2,
163
+ "no-useless-computed-key": 2,
164
+ "no-useless-concat": 0,
165
+ "no-useless-constructor": 0,
166
+ "no-useless-escape": 2,
167
+ "no-useless-rename": 2,
168
+ "no-useless-return": 2,
169
+ "no-var": 2,
170
+ "no-void": 0,
171
+ "no-warning-comments": 0,
172
+ "no-with": 2,
173
+ "object-shorthand": 0,
174
+ "one-var": [2, "never"],
175
+ "operator-assignment": 0,
176
+ "prefer-arrow-callback": 2,
177
+ "prefer-const": 2,
178
+ "prefer-destructuring": 0,
179
+ "prefer-exponentiation-operator": 0,
180
+ "prefer-named-capture-group": 0,
181
+ "prefer-numeric-literals": 2,
182
+ "prefer-object-has-own": 0,
183
+ "prefer-object-spread": 2,
184
+ "prefer-promise-reject-errors": 0,
185
+ "prefer-regex-literals": 0,
186
+ "prefer-rest-params": 0,
187
+ "prefer-spread": 0,
188
+ "prefer-template": 0,
189
+ "radix": 2,
190
+ "require-await": 0,
191
+ "require-unicode-regexp": 0,
192
+ "require-yield": 2,
193
+ "sort-imports": 0,
194
+ "sort-keys": 0,
195
+ "sort-vars": 0,
196
+ "strict": 2,
197
+ "symbol-description": 2,
198
+ "vars-on-top": 0,
199
+ "yoda": [2, "never", { onlyEquality: true }],
200
+ };
@@ -0,0 +1,91 @@
1
+ export default {
2
+ "react/jsx-key-before-spread": 1,
3
+ "react/jsx-no-comment-textnodes": 1,
4
+ "react/jsx-no-duplicate-props": 1,
5
+ "react/jsx-no-iife": 1,
6
+ "react/jsx-no-undef": 0,
7
+ "react/jsx-shorthand-boolean": 1,
8
+ "react/jsx-shorthand-fragment": 1,
9
+ "react/jsx-uses-react": 1,
10
+ "react/jsx-uses-vars": 1,
11
+ "react/no-access-state-in-setstate": 2,
12
+ "react/no-array-index-key": 1,
13
+ "react/no-children-count": 2,
14
+ "react/no-children-for-each": 2,
15
+ "react/no-children-map": 2,
16
+ "react/no-children-only": 2,
17
+ "react/no-children-prop": 2,
18
+ "react/no-children-to-array": 2,
19
+ "react/no-class-component": 2,
20
+ "react/no-clone-element": 2,
21
+ "react/no-component-will-mount": 2,
22
+ "react/no-component-will-receive-props": 2,
23
+ "react/no-component-will-update": 2,
24
+ "react/no-context-provider": 2,
25
+ "react/no-create-ref": 2,
26
+ "react/no-default-props": 2,
27
+ "react/no-direct-mutation-state": 2,
28
+ "react/no-duplicate-key": 2,
29
+ "react/no-forward-ref": 2,
30
+ "react/no-implicit-key": 2,
31
+ "react/no-leaked-conditional-rendering": 2,
32
+ "react/no-missing-component-display-name": 2,
33
+ "react/no-missing-context-display-name": 2,
34
+ "react/no-missing-key": 2,
35
+ "react/no-misused-capture-owner-stack": 2,
36
+ "react/no-nested-component-definitions": 2,
37
+ "react/no-nested-lazy-component-declarations": 2,
38
+ "react/no-prop-types": 2,
39
+ "react/no-redundant-should-component-update": 2,
40
+ "react/no-set-state-in-component-did-mount": 2,
41
+ "react/no-set-state-in-component-did-update": 2,
42
+ "react/no-set-state-in-component-will-update": 2,
43
+ "react/no-string-refs": 2,
44
+ "react/no-unnecessary-key": 1,
45
+ "react/no-unnecessary-use-callback": 1,
46
+ "react/no-unnecessary-use-memo": 1,
47
+ "react/no-unnecessary-use-prefix": 1,
48
+ "react/no-unsafe-component-will-mount": 2,
49
+ "react/no-unsafe-component-will-receive-props": 2,
50
+ "react/no-unsafe-component-will-update": 2,
51
+ "react/no-unstable-context-value": 2,
52
+ "react/no-unstable-default-props": 2,
53
+ "react/no-unused-class-component-members": 2,
54
+ "react/no-unused-props": 2,
55
+ "react/no-unused-state": 2,
56
+ "react/no-use-context": 2,
57
+ "react/no-useless-forward-ref": 2,
58
+ "react/no-useless-fragment": 2,
59
+ "react/prefer-destructuring-assignment": 2,
60
+ "react/prefer-namespace-import": 1,
61
+ "react/prefer-read-only-props": 2,
62
+ "react/prefer-use-state-lazy-initialization": 2,
63
+ "react-dom/no-dangerously-set-innerhtml": 1,
64
+ "react-dom/no-dangerously-set-innerhtml-with-children": 2,
65
+ "react-dom/no-find-dom-node": 2,
66
+ "react-dom/no-flush-sync": 2,
67
+ "react-dom/no-hydrate": 2,
68
+ "react-dom/no-missing-button-type": 2,
69
+ "react-dom/no-missing-iframe-sandbox": 2,
70
+ "react-dom/no-namespace": 2,
71
+ "react-dom/no-render": 2,
72
+ "react-dom/no-render-return-value": 2,
73
+ "react-dom/no-script-url": 2,
74
+ "react-dom/no-string-style-prop": 2,
75
+ "react-dom/no-unknown-property": 2,
76
+ "react-dom/no-unsafe-iframe-sandbox": 2,
77
+ "react-dom/no-unsafe-target-blank": 2,
78
+ "react-dom/no-use-form-state": 2,
79
+ "react-dom/no-void-elements-with-children": 2,
80
+ "react-dom/prefer-namespace-import": 1,
81
+ "react-web-api/no-leaked-event-listener": 2,
82
+ "react-web-api/no-leaked-interval": 2,
83
+ "react-web-api/no-leaked-resize-observer": 2,
84
+ "react-web-api/no-leaked-timeout": 2,
85
+ "react-hooks-extra/no-direct-set-state-in-use-effect": 1,
86
+ "react-naming-convention/component-name": 2,
87
+ "react-naming-convention/context-name": 2,
88
+ "react-naming-convention/filename": [1, "camelCase"],
89
+ "react-naming-convention/filename-extension": 0,
90
+ "react-naming-convention/use-state": 2,
91
+ };
@@ -0,0 +1,117 @@
1
+ import preset from "./preset.js";
2
+ export default {
3
+ "stylistic/array-bracket-newline": [2, "consistent"],
4
+ "stylistic/array-bracket-spacing": 2,
5
+ "stylistic/array-element-newline": [2, "consistent"],
6
+ "stylistic/arrow-parens": 2,
7
+ "stylistic/arrow-spacing": 2,
8
+ "stylistic/block-spacing": 2,
9
+ "stylistic/brace-style": 2,
10
+ "stylistic/comma-dangle": [2, "always-multiline"],
11
+ "stylistic/comma-spacing": 2,
12
+ "stylistic/comma-style": 2,
13
+ "stylistic/computed-property-spacing": 2,
14
+ "stylistic/curly-newline": 2,
15
+ "stylistic/dot-location": 0,
16
+ "stylistic/eol-last": 2,
17
+ "stylistic/function-call-argument-newline": [2, "consistent"],
18
+ "stylistic/function-call-spacing": 2,
19
+ "stylistic/function-paren-newline": [2, "multiline-arguments"],
20
+ "stylistic/generator-star-spacing": 2,
21
+ "stylistic/implicit-arrow-linebreak": 2,
22
+ "stylistic/indent": [2, preset.indent],
23
+ "stylistic/indent-binary-ops": [2, preset.indent],
24
+ "stylistic/jsx-child-element-spacing": 0,
25
+ "stylistic/jsx-closing-bracket-location": 2,
26
+ "stylistic/jsx-closing-tag-location": 2,
27
+ "stylistic/jsx-curly-brace-presence": 2,
28
+ "stylistic/jsx-curly-newline": 2,
29
+ "stylistic/jsx-curly-spacing": 2,
30
+ "stylistic/jsx-equals-spacing": 2,
31
+ "stylistic/jsx-first-prop-new-line": 2,
32
+ "stylistic/jsx-function-call-newline": 2,
33
+ "stylistic/jsx-indent-props": [2, preset.indent],
34
+ "stylistic/jsx-max-props-per-line": 2,
35
+ "stylistic/jsx-newline": 0,
36
+ "stylistic/jsx-one-expression-per-line": [2, { allow: "single-child" }],
37
+ "stylistic/jsx-pascal-case": [2, { allowNamespace: true }],
38
+ "stylistic/jsx-quotes": 2,
39
+ "stylistic/jsx-self-closing-comp": 2,
40
+ "stylistic/jsx-sort-props": 0,
41
+ "stylistic/jsx-tag-spacing": [2, { beforeClosing: "never" }],
42
+ "stylistic/jsx-wrap-multilines": [
43
+ 2,
44
+ {
45
+ declaration: "parens-new-line",
46
+ assignment: "parens-new-line",
47
+ return: "parens-new-line",
48
+ arrow: "parens-new-line",
49
+ condition: "parens-new-line",
50
+ logical: "parens-new-line",
51
+ prop: "ignore",
52
+ propertyValue: "parens-new-line",
53
+ },
54
+ ],
55
+ "stylistic/key-spacing": 2,
56
+ "stylistic/keyword-spacing": 2,
57
+ "stylistic/line-comment-position": 0,
58
+ "stylistic/linebreak-style": 0,
59
+ "stylistic/lines-around-comment": 0,
60
+ "stylistic/lines-between-class-members": 2,
61
+ "stylistic/max-len": 0,
62
+ "stylistic/max-statements-per-line": 0,
63
+ "stylistic/member-delimiter-style": 2,
64
+ "stylistic/multiline-comment-style": 0,
65
+ "stylistic/multiline-ternary": [2, "always-multiline"],
66
+ "stylistic/new-parens": 2,
67
+ "stylistic/newline-per-chained-call": 0,
68
+ "stylistic/no-confusing-arrow": 0,
69
+ "stylistic/no-extra-parens": 0,
70
+ "stylistic/no-extra-semi": 2,
71
+ "stylistic/no-floating-decimal": 2,
72
+ "stylistic/no-mixed-operators": 0,
73
+ "stylistic/no-mixed-spaces-and-tabs": 0,
74
+ "stylistic/no-multi-spaces": 2,
75
+ "stylistic/no-multiple-empty-lines": [2, { max: 2, maxEOF: 1, maxBOF: 0 }],
76
+ "stylistic/no-tabs": 0,
77
+ "stylistic/no-trailing-spaces": 2,
78
+ "stylistic/no-whitespace-before-property": 2,
79
+ "stylistic/nonblock-statement-body-position": 2,
80
+ "stylistic/object-curly-newline": 2,
81
+ "stylistic/object-curly-spacing": [2, "always"],
82
+ "stylistic/object-property-newline": [2, { allowAllPropertiesOnSameLine: true }],
83
+ "stylistic/one-var-declaration-per-line": 2,
84
+ "stylistic/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore" } }],
85
+ "stylistic/padded-blocks": 0,
86
+ "stylistic/padding-line-between-statements": [
87
+ 2,
88
+ { blankLine: "always", prev: "*", next: "return" },
89
+ { blankLine: "always", prev: "*", next: "default" },
90
+ { blankLine: "always", prev: "directive", next: "*" },
91
+ { blankLine: "any", prev: "directive", next: "directive" },
92
+ ],
93
+ "stylistic/quote-props": [2, "consistent-as-needed"],
94
+ "stylistic/quotes": 2,
95
+ "stylistic/rest-spread-spacing": 2,
96
+ "stylistic/semi": 2,
97
+ "stylistic/semi-spacing": 2,
98
+ "stylistic/semi-style": 2,
99
+ "stylistic/space-before-blocks": 2,
100
+ "stylistic/space-before-function-paren": [
101
+ 2,
102
+ { anonymous: "never", named: "never", asyncArrow: "always", catch: "always" },
103
+ ],
104
+ "stylistic/space-in-parens": 2,
105
+ "stylistic/space-infix-ops": 2,
106
+ "stylistic/space-unary-ops": 2,
107
+ "stylistic/spaced-comment": 2,
108
+ "stylistic/switch-colon-spacing": 2,
109
+ "stylistic/template-curly-spacing": 2,
110
+ "stylistic/template-tag-spacing": 2,
111
+ "stylistic/type-annotation-spacing": 2,
112
+ "stylistic/type-generic-spacing": 2,
113
+ "stylistic/type-named-tuple-spacing": 2,
114
+ "stylistic/wrap-iife": 2,
115
+ "stylistic/wrap-regex": 2,
116
+ "stylistic/yield-star-spacing": 2,
117
+ };
@@ -0,0 +1,146 @@
1
+ import preset from "./preset.js";
2
+ export default {
3
+ "class-methods-use-this": 0,
4
+ "default-param-last": 0,
5
+ "dot-notation": 0,
6
+ "init-declarations": 0,
7
+ "max-params": 0,
8
+ "no-array-constructor": 0,
9
+ "no-dupe-class-members": 0,
10
+ "no-empty-function": 0,
11
+ "no-implied-eval": 0,
12
+ "no-loop-func": 0,
13
+ "no-magic-numbers": 0,
14
+ "no-redeclare": 0,
15
+ "no-restricted-imports": 0,
16
+ "no-shadow": 0,
17
+ "no-unused-expressions": 0,
18
+ "no-unused-vars": 0,
19
+ "no-use-before-define": 0,
20
+ "no-useless-constructor": 0,
21
+ "prefer-destructuring": 0,
22
+ "prefer-promise-reject-errors": 0,
23
+ "require-await": 0,
24
+ "ts/adjacent-overload-signatures": 2,
25
+ "ts/array-type": 2,
26
+ "ts/await-thenable": 0,
27
+ "ts/ban-ts-comment": 0,
28
+ "ts/ban-tslint-comment": 0,
29
+ "ts/class-literal-property-style": [2, "fields"],
30
+ "ts/class-methods-use-this": 0,
31
+ "ts/consistent-generic-constructors": 0,
32
+ "ts/consistent-indexed-object-style": 0,
33
+ "ts/consistent-type-assertions": [2, { assertionStyle: "as", objectLiteralTypeAssertions: "allow-as-parameter" }],
34
+ "ts/consistent-type-definitions": [2, "interface"],
35
+ "ts/consistent-type-exports": 2,
36
+ "ts/consistent-type-imports": [2, { fixStyle: "inline-type-imports" }],
37
+ "ts/default-param-last": 2,
38
+ "ts/dot-notation": 0,
39
+ "ts/explicit-function-return-type": 0,
40
+ "ts/explicit-member-accessibility": 2,
41
+ "ts/explicit-module-boundary-types": 0,
42
+ "ts/init-declarations": 0,
43
+ "ts/max-params": 0,
44
+ "ts/member-ordering": [2, { default: preset.tsMemberOrder }],
45
+ "ts/method-signature-style": 2,
46
+ "ts/naming-convention": 0,
47
+ "ts/no-array-constructor": 2,
48
+ "ts/no-array-delete": 2,
49
+ "ts/no-base-to-string": 0,
50
+ "ts/no-confusing-non-null-assertion": 0,
51
+ "ts/no-confusing-void-expression": [2, { ignoreArrowShorthand: true, ignoreVoidOperator: false }],
52
+ "ts/no-deprecated": 0,
53
+ "ts/no-dupe-class-members": 2,
54
+ "ts/no-duplicate-enum-values": 2,
55
+ "ts/no-duplicate-type-constituents": 0,
56
+ "ts/no-dynamic-delete": 0,
57
+ "ts/no-empty-function": 0,
58
+ "ts/no-empty-object-type": [2, { allowInterfaces: "with-single-extends" }],
59
+ "ts/no-explicit-any": [2, { fixToUnknown: true, ignoreRestArgs: true }],
60
+ "ts/no-extra-non-null-assertion": 0,
61
+ "ts/no-extraneous-class": 0,
62
+ "ts/no-floating-promises": 0,
63
+ "ts/no-for-in-array": 0,
64
+ "ts/no-implied-eval": 2,
65
+ "ts/no-import-type-side-effects": 2,
66
+ "ts/no-inferrable-types": 2,
67
+ "ts/no-invalid-void-type": 2,
68
+ "ts/no-loop-func": 0,
69
+ "ts/no-magic-numbers": 0,
70
+ "ts/no-meaningless-void-operator": 0,
71
+ "ts/no-misused-new": 0,
72
+ "ts/no-misused-promises": [2, { checksVoidReturn: false }],
73
+ "ts/no-misused-spread": 2,
74
+ "ts/no-mixed-enums": 0,
75
+ "ts/no-namespace": [2, { allowDeclarations: true, allowDefinitionFiles: true }],
76
+ "ts/no-non-null-asserted-nullish-coalescing": 2,
77
+ "ts/no-non-null-asserted-optional-chain": 2,
78
+ "ts/no-non-null-assertion": 0,
79
+ "ts/no-redeclare": 2,
80
+ "ts/no-redundant-type-constituents": 0,
81
+ "ts/no-require-imports": 2,
82
+ "ts/no-restricted-imports": 0,
83
+ "ts/no-restricted-types": 0,
84
+ "ts/no-shadow": 0,
85
+ "ts/no-this-alias": [2, { allowDestructuring: true }],
86
+ "ts/no-unnecessary-boolean-literal-compare": 0,
87
+ "ts/no-unnecessary-condition": 0,
88
+ "ts/no-unnecessary-parameter-property-assignment": 0,
89
+ "ts/no-unnecessary-qualifier": 2,
90
+ "ts/no-unnecessary-template-expression": 2,
91
+ "ts/no-unnecessary-type-arguments": 0,
92
+ "ts/no-unnecessary-type-assertion": 0,
93
+ "ts/no-unnecessary-type-constraint": 2,
94
+ "ts/no-unnecessary-type-parameters": 0,
95
+ "ts/no-unsafe-argument": 0,
96
+ "ts/no-unsafe-assignment": 0,
97
+ "ts/no-unsafe-call": 0,
98
+ "ts/no-unsafe-declaration-merging": 0,
99
+ "ts/no-unsafe-enum-comparison": 0,
100
+ "ts/no-unsafe-function-type": 2,
101
+ "ts/no-unsafe-member-access": 0,
102
+ "ts/no-unsafe-return": 0,
103
+ "ts/no-unsafe-type-assertion": 0,
104
+ "ts/no-unsafe-unary-minus": 2,
105
+ "ts/no-unused-expressions": [2, { ignoreDirectives: true, allowShortCircuit: true }],
106
+ "ts/no-unused-vars": [2, { vars: "local", args: "none", caughtErrors: "none", varsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }],
107
+ "ts/no-use-before-define": [2, { functions: false, classes: false, variables: false, allowNamedExports: false }],
108
+ "ts/no-useless-constructor": 0,
109
+ "ts/no-useless-empty-export": 0,
110
+ "ts/no-wrapper-object-types": 2,
111
+ "ts/non-nullable-type-assertion-style": 0,
112
+ "ts/only-throw-error": 0,
113
+ "ts/parameter-properties": 0,
114
+ "ts/prefer-as-const": 0,
115
+ "ts/prefer-destructuring": 0,
116
+ "ts/prefer-enum-initializers": 0,
117
+ "ts/prefer-find": 2,
118
+ "ts/prefer-for-of": 2,
119
+ "ts/prefer-function-type": 2,
120
+ "ts/prefer-includes": 0,
121
+ "ts/prefer-literal-enum-member": 0,
122
+ "ts/prefer-namespace-keyword": 2,
123
+ "ts/prefer-nullish-coalescing": 0,
124
+ "ts/prefer-optional-chain": 0,
125
+ "ts/prefer-promise-reject-errors": 0,
126
+ "ts/prefer-readonly": 0,
127
+ "ts/prefer-readonly-parameter-types": 0,
128
+ "ts/prefer-reduce-type-parameter": 0,
129
+ "ts/prefer-regexp-exec": 0,
130
+ "ts/prefer-return-this-type": 0,
131
+ "ts/prefer-string-starts-ends-with": 0,
132
+ "ts/promise-function-async": 0,
133
+ "ts/related-getter-setter-pairs": 2,
134
+ "ts/require-array-sort-compare": 0,
135
+ "ts/require-await": 0,
136
+ "ts/restrict-plus-operands": 0,
137
+ "ts/restrict-template-expressions": 0,
138
+ "ts/return-await": 0,
139
+ "ts/strict-boolean-expressions": 0,
140
+ "ts/switch-exhaustiveness-check": 0,
141
+ "ts/triple-slash-reference": [2, { path: "never", types: "always", lib: "always" }],
142
+ "ts/typedef": [2, { arrayDestructuring: false, arrowParameter: false, memberVariableDeclaration: false, objectDestructuring: false, parameter: false, propertyDeclaration: true, variableDeclaration: false }],
143
+ "ts/unbound-method": 0,
144
+ "ts/unified-signatures": 0,
145
+ "ts/use-unknown-in-catch-callback-variable": 0,
146
+ };
@@ -0,0 +1,14 @@
1
+ export default {
2
+ "vue/attribute-hyphenation": [2, "never", { ignore: [] }],
3
+ "vue/first-attribute-linebreak": [2, { singleline: "beside", multiline: "below" }],
4
+ "vue/multi-word-component-names": 0,
5
+ "vue/html-self-closing": [2, { html: { void: "always", normal: "always", component: "always" }, svg: "always", math: "always" }],
6
+ "vue/script-indent": [2, 2, { baseIndent: 0, switchCase: 1, ignores: [] }],
7
+ "vue/block-order": [2, { order: ["script:not([setup])", "script[setup]", "template", "style:not([scoped])", "style[scoped]"] }],
8
+ "vue/component-name-in-template-casing": [2, "PascalCase", { registeredComponentsOnly: false }],
9
+ "vue/component-options-name-casing": [2, "PascalCase"],
10
+ "vue/custom-event-name-casing": [2, "camelCase", { ignores: [] }],
11
+ "vue/define-macros-order": [2, { order: ["defineOptions", "defineProps", "defineEmits"], defineExposeLast: false }],
12
+ "vue/v-on-event-hyphenation": [2, "never", { autofix: true }],
13
+ "vue/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore" } }],
14
+ };
package/dist/index.js ADDED
@@ -0,0 +1,14 @@
1
+ import javascript from "./core.javascript.js";
2
+ import typescript from "./core.typescript.js";
3
+ import antfu from "./core.antfu.js";
4
+ import react from "./core.react.js";
5
+ import stylistic from "./core.stylistic.js";
6
+ import vue from "./core.vue.js";
7
+ export default {
8
+ javascript,
9
+ typescript,
10
+ react,
11
+ vue,
12
+ stylistic,
13
+ antfu,
14
+ };