@pawover/eslint-rules 0.0.0-alpha.2 → 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.
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ indent: number;
3
+ tsMemberOrder: string[];
4
+ };
5
+ export default _default;
package/package.json CHANGED
@@ -4,7 +4,8 @@
4
4
  "description": "pawover's esLint rules",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "version": "0.0.0-alpha.2",
7
+ "version": "0.0.0-alpha.4",
8
+ "packageManager": "pnpm@10.20.0",
8
9
  "engines": {
9
10
  "node": ">=22.20.0"
10
11
  },
@@ -13,29 +14,41 @@
13
14
  "pawover-eslint",
14
15
  "pawover-eslint-rules"
15
16
  ],
16
- "main": "./src/index.js",
17
- "module": "./src/index.js",
17
+ "homepage": "https://github.com/pawover/pawover-eslint-rules#readme",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/pawover/pawover-eslint-rules.git"
21
+ },
22
+ "main": "./dist/index.js",
23
+ "module": "./dist/index.js",
24
+ "types": "dist/types/index.d.ts",
18
25
  "files": [
19
- "src"
26
+ "dist"
20
27
  ],
21
28
  "exports": {
22
29
  ".": {
23
- "import": "./src/index.js",
24
- "default": "./src/index.js"
30
+ "types": "./dist/types/index.d.ts",
31
+ "import": "./dist/index.js",
32
+ "default": "./dist/index.js"
25
33
  },
26
34
  "./src/*": {
27
- "import": "./src/*.js",
28
- "default": "./src/*.js"
35
+ "types": "./dist/types/*.d.ts",
36
+ "import": "./dist/*.js",
37
+ "default": "./dist/*.js"
29
38
  }
30
39
  },
31
40
  "scripts": {
41
+ "build": "tsc",
42
+ "public": "pnpm build && npm publish --access public",
32
43
  "check": "pnpm check:types & pnpm check:eslint & pnpm check:format",
33
44
  "check:types": "tsc --noEmit",
34
45
  "check:eslint": "eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\" --cache-location=eslint.cache.json --cache",
35
46
  "check:format": "prettier --write \"**/*.{html,json}\" !.vscode/settings.json --cache-location=prettier.cache.json --cache",
36
- "clean": "pnpm clean:cache & pnpm clean:lib",
47
+ "check:pack": "attw --pack .",
48
+ "clean": "pnpm clean:cache & pnpm clean:lib & pnpm clean:output",
37
49
  "clean:cache": "rimraf -g **/*.cache.json **/auto-*.json **/auto-*.d.ts",
38
50
  "clean:lib": "rimraf -g **/node_modules",
51
+ "clean:output": "rimraf dist",
39
52
  "lib:up": "taze -I -r --exclude pnpm"
40
53
  },
41
54
  "devDependencies": {
package/src/core.antfu.js DELETED
@@ -1,13 +0,0 @@
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
- };
@@ -1,201 +0,0 @@
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
-
62
- // Suggestions
63
- "accessor-pairs": [2, { setWithoutGet: true, getWithoutSet: false }],
64
- "arrow-body-style": 0,
65
- "block-scoped-var": 0,
66
- "camelcase": 0,
67
- "capitalized-comments": 0,
68
- "class-methods-use-this": 0,
69
- "complexity": 0,
70
- "consistent-return": 0,
71
- "consistent-this": 0,
72
- "curly": 2,
73
- "default-case": 2,
74
- "default-case-last": 0,
75
- "default-param-last": 2,
76
- "dot-notation": 0,
77
- "eqeqeq": 2,
78
- "func-name-matching": 2,
79
- "func-names": 2,
80
- "func-style": 0,
81
- "grouped-accessor-pairs": [2, "getBeforeSet"],
82
- "guard-for-in": 2,
83
- "id-denylist": 0,
84
- "id-length": 0,
85
- "id-match": 0,
86
- "init-declarations": 0,
87
- "logical-assignment-operators": 0,
88
- "max-classes-per-file": 0,
89
- "max-depth": [2, 5],
90
- "max-lines": 0,
91
- "max-lines-per-function": 0,
92
- "max-nested-callbacks": 0,
93
- "max-params": 0,
94
- "max-statements": 0,
95
- "new-cap": [2, { capIsNew: false }],
96
- "no-alert": 0,
97
- "no-array-constructor": 2,
98
- "no-bitwise": 0,
99
- "no-caller": 2,
100
- "no-case-declarations": 2,
101
- "no-console": 0,
102
- "no-continue": 0,
103
- "no-delete-var": 2,
104
- "no-div-regex": 2,
105
- "no-else-return": 0,
106
- "no-empty": [2, { allowEmptyCatch: true }],
107
- "no-empty-function": 0,
108
- "no-empty-static-block": 2,
109
- "no-eq-null": 2,
110
- "no-eval": 2,
111
- "no-extend-native": 2,
112
- "no-extra-bind": 2,
113
- "no-extra-boolean-cast": 2,
114
- "no-extra-label": 0,
115
- "no-global-assign": 2,
116
- "no-implicit-coercion": [2, { allow: ["!!"] }],
117
- "no-implicit-globals": 0,
118
- "no-implied-eval": 2,
119
- "no-inline-comments": 0,
120
- "no-invalid-this": 0,
121
- "no-iterator": 2,
122
- "no-label-var": 2,
123
- "no-labels": 2,
124
- "no-lone-blocks": 2,
125
- "no-lonely-if": 0,
126
- "no-loop-func": 0,
127
- "no-magic-numbers": 0,
128
- "no-multi-assign": 0,
129
- "no-multi-str": 2,
130
- "no-negated-condition": 0,
131
- "no-nested-ternary": 0,
132
- "no-new": 2,
133
- "no-new-func": 2,
134
- "no-new-wrappers": 2,
135
- "no-nonoctal-decimal-escape": 2,
136
- "no-object-constructor": 2,
137
- "no-octal": 2,
138
- "no-octal-escape": 0,
139
- "no-param-reassign": 2,
140
- "no-plusplus": 0,
141
- "no-proto": 2,
142
- "no-redeclare": 2,
143
- "no-regex-spaces": 2,
144
- "no-restricted-exports": 0,
145
- "no-restricted-globals": 0,
146
- "no-restricted-imports": 0,
147
- "no-restricted-properties": 0,
148
- "no-restricted-syntax": 0,
149
- "no-return-assign": [2, "always"],
150
- "no-script-url": 0,
151
- "no-sequences": 2,
152
- "no-shadow": 0,
153
- "no-shadow-restricted-names": 2,
154
- "no-ternary": 0,
155
- "no-throw-literal": 0,
156
- "no-undef-init": 2,
157
- "no-undefined": 0,
158
- "no-underscore-dangle": 0,
159
- "no-unneeded-ternary": 2,
160
- "no-unused-expressions": [2, { ignoreDirectives: true, allowShortCircuit: true }],
161
- "no-unused-labels": 2,
162
- "no-useless-call": 2,
163
- "no-useless-catch": 2,
164
- "no-useless-computed-key": 2,
165
- "no-useless-concat": 0,
166
- "no-useless-constructor": 0,
167
- "no-useless-escape": 2,
168
- "no-useless-rename": 2,
169
- "no-useless-return": 2,
170
- "no-var": 2,
171
- "no-void": 0,
172
- "no-warning-comments": 0,
173
- "no-with": 2,
174
- "object-shorthand": 0,
175
- "one-var": [2, "never"],
176
- "operator-assignment": 0,
177
- "prefer-arrow-callback": 2,
178
- "prefer-const": 2,
179
- "prefer-destructuring": 0,
180
- "prefer-exponentiation-operator": 0,
181
- "prefer-named-capture-group": 0,
182
- "prefer-numeric-literals": 2,
183
- "prefer-object-has-own": 0,
184
- "prefer-object-spread": 2,
185
- "prefer-promise-reject-errors": 0,
186
- "prefer-regex-literals": 0,
187
- "prefer-rest-params": 0,
188
- "prefer-spread": 0,
189
- "prefer-template": 0,
190
- "radix": 2,
191
- "require-await": 0,
192
- "require-unicode-regexp": 0,
193
- "require-yield": 2,
194
- "sort-imports": 0,
195
- "sort-keys": 0,
196
- "sort-vars": 0,
197
- "strict": 2,
198
- "symbol-description": 2,
199
- "vars-on-top": 0,
200
- "yoda": [2, "never", { onlyEquality: true }],
201
- };
package/src/core.react.js DELETED
@@ -1,91 +0,0 @@
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
- };
@@ -1,118 +0,0 @@
1
- import preset from "./preset.js";
2
-
3
- export default {
4
- "stylistic/array-bracket-newline": [2, "consistent"],
5
- "stylistic/array-bracket-spacing": 2,
6
- "stylistic/array-element-newline": [2, "consistent"],
7
- "stylistic/arrow-parens": 2,
8
- "stylistic/arrow-spacing": 2,
9
- "stylistic/block-spacing": 2,
10
- "stylistic/brace-style": 2,
11
- "stylistic/comma-dangle": [2, "always-multiline"],
12
- "stylistic/comma-spacing": 2,
13
- "stylistic/comma-style": 2,
14
- "stylistic/computed-property-spacing": 2,
15
- "stylistic/curly-newline": 2,
16
- "stylistic/dot-location": 0,
17
- "stylistic/eol-last": 2,
18
- "stylistic/function-call-argument-newline": [2, "consistent"],
19
- "stylistic/function-call-spacing": 2,
20
- "stylistic/function-paren-newline": [2, "multiline-arguments"],
21
- "stylistic/generator-star-spacing": 2,
22
- "stylistic/implicit-arrow-linebreak": 2,
23
- "stylistic/indent": [2, preset.indent],
24
- "stylistic/indent-binary-ops": [2, preset.indent],
25
- "stylistic/jsx-child-element-spacing": 0,
26
- "stylistic/jsx-closing-bracket-location": 2,
27
- "stylistic/jsx-closing-tag-location": 2,
28
- "stylistic/jsx-curly-brace-presence": 2,
29
- "stylistic/jsx-curly-newline": 2,
30
- "stylistic/jsx-curly-spacing": 2,
31
- "stylistic/jsx-equals-spacing": 2,
32
- "stylistic/jsx-first-prop-new-line": 2,
33
- "stylistic/jsx-function-call-newline": 2,
34
- "stylistic/jsx-indent-props": [2, preset.indent],
35
- "stylistic/jsx-max-props-per-line": 2,
36
- "stylistic/jsx-newline": 0,
37
- "stylistic/jsx-one-expression-per-line": [2, { allow: "single-child" }],
38
- "stylistic/jsx-pascal-case": [2, { allowNamespace: true }],
39
- "stylistic/jsx-quotes": 2,
40
- "stylistic/jsx-self-closing-comp": 2,
41
- "stylistic/jsx-sort-props": 0,
42
- "stylistic/jsx-tag-spacing": [2, { beforeClosing: "never" }],
43
- "stylistic/jsx-wrap-multilines": [
44
- 2,
45
- {
46
- declaration: "parens-new-line",
47
- assignment: "parens-new-line",
48
- return: "parens-new-line",
49
- arrow: "parens-new-line",
50
- condition: "parens-new-line",
51
- logical: "parens-new-line",
52
- prop: "ignore",
53
- propertyValue: "parens-new-line",
54
- },
55
- ],
56
- "stylistic/key-spacing": 2,
57
- "stylistic/keyword-spacing": 2,
58
- "stylistic/line-comment-position": 0,
59
- "stylistic/linebreak-style": 0,
60
- "stylistic/lines-around-comment": 0,
61
- "stylistic/lines-between-class-members": 2,
62
- "stylistic/max-len": 0,
63
- "stylistic/max-statements-per-line": 0,
64
- "stylistic/member-delimiter-style": 2,
65
- "stylistic/multiline-comment-style": 0,
66
- "stylistic/multiline-ternary": [2, "always-multiline"],
67
- "stylistic/new-parens": 2,
68
- "stylistic/newline-per-chained-call": 0,
69
- "stylistic/no-confusing-arrow": 0,
70
- "stylistic/no-extra-parens": 0,
71
- "stylistic/no-extra-semi": 2,
72
- "stylistic/no-floating-decimal": 2,
73
- "stylistic/no-mixed-operators": 0,
74
- "stylistic/no-mixed-spaces-and-tabs": 0,
75
- "stylistic/no-multi-spaces": 2,
76
- "stylistic/no-multiple-empty-lines": [2, { max: 2, maxEOF: 1, maxBOF: 0 }],
77
- "stylistic/no-tabs": 0,
78
- "stylistic/no-trailing-spaces": 2,
79
- "stylistic/no-whitespace-before-property": 2,
80
- "stylistic/nonblock-statement-body-position": 2,
81
- "stylistic/object-curly-newline": 2,
82
- "stylistic/object-curly-spacing": [2, "always"],
83
- "stylistic/object-property-newline": [2, { allowAllPropertiesOnSameLine: true }],
84
- "stylistic/one-var-declaration-per-line": 2,
85
- "stylistic/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore" } }],
86
- "stylistic/padded-blocks": 0,
87
- "stylistic/padding-line-between-statements": [
88
- 2,
89
- { blankLine: "always", prev: "*", next: "return" },
90
- { blankLine: "always", prev: "*", next: "default" },
91
- { blankLine: "always", prev: "directive", next: "*" },
92
- { blankLine: "any", prev: "directive", next: "directive" },
93
- ],
94
- "stylistic/quote-props": [2, "consistent-as-needed"],
95
- "stylistic/quotes": 2,
96
- "stylistic/rest-spread-spacing": 2,
97
- "stylistic/semi": 2,
98
- "stylistic/semi-spacing": 2,
99
- "stylistic/semi-style": 2,
100
- "stylistic/space-before-blocks": 2,
101
- "stylistic/space-before-function-paren": [
102
- 2,
103
- { anonymous: "never", named: "never", asyncArrow: "always", catch: "always" },
104
- ],
105
- "stylistic/space-in-parens": 2,
106
- "stylistic/space-infix-ops": 2,
107
- "stylistic/space-unary-ops": 2,
108
- "stylistic/spaced-comment": 2,
109
- "stylistic/switch-colon-spacing": 2,
110
- "stylistic/template-curly-spacing": 2,
111
- "stylistic/template-tag-spacing": 2,
112
- "stylistic/type-annotation-spacing": 2,
113
- "stylistic/type-generic-spacing": 2,
114
- "stylistic/type-named-tuple-spacing": 2,
115
- "stylistic/wrap-iife": 2,
116
- "stylistic/wrap-regex": 2,
117
- "stylistic/yield-star-spacing": 2,
118
- };
@@ -1,148 +0,0 @@
1
- import preset from "./preset.js";
2
-
3
- export default {
4
- "class-methods-use-this": 0,
5
- "default-param-last": 0,
6
- "dot-notation": 0,
7
- "init-declarations": 0,
8
- "max-params": 0,
9
- "no-array-constructor": 0,
10
- "no-dupe-class-members": 0,
11
- "no-empty-function": 0,
12
- "no-implied-eval": 0,
13
- "no-loop-func": 0,
14
- "no-magic-numbers": 0,
15
- "no-redeclare": 0,
16
- "no-restricted-imports": 0,
17
- "no-shadow": 0,
18
- "no-unused-expressions": 0,
19
- "no-unused-vars": 0,
20
- "no-use-before-define": 0,
21
- "no-useless-constructor": 0,
22
- "prefer-destructuring": 0,
23
- "prefer-promise-reject-errors": 0,
24
- "require-await": 0,
25
-
26
- "ts/adjacent-overload-signatures": 2,
27
- "ts/array-type": 2,
28
- "ts/await-thenable": 0,
29
- "ts/ban-ts-comment": 0,
30
- "ts/ban-tslint-comment": 0,
31
- "ts/class-literal-property-style": [2, "fields"],
32
- "ts/class-methods-use-this": 0,
33
- "ts/consistent-generic-constructors": 0,
34
- "ts/consistent-indexed-object-style": 0,
35
- "ts/consistent-type-assertions": [2, { assertionStyle: "as", objectLiteralTypeAssertions: "allow-as-parameter" }],
36
- "ts/consistent-type-definitions": [2, "interface"],
37
- "ts/consistent-type-exports": 2,
38
- "ts/consistent-type-imports": [2, { fixStyle: "inline-type-imports" }],
39
- "ts/default-param-last": 2,
40
- "ts/dot-notation": 0,
41
- "ts/explicit-function-return-type": 0,
42
- "ts/explicit-member-accessibility": 2,
43
- "ts/explicit-module-boundary-types": 0,
44
- "ts/init-declarations": 0,
45
- "ts/max-params": 0,
46
- "ts/member-ordering": [2, { default: preset.tsMemberOrder }],
47
- "ts/method-signature-style": 2,
48
- "ts/naming-convention": 0,
49
- "ts/no-array-constructor": 2,
50
- "ts/no-array-delete": 2,
51
- "ts/no-base-to-string": 0,
52
- "ts/no-confusing-non-null-assertion": 0,
53
- "ts/no-confusing-void-expression": [2, { ignoreArrowShorthand: true, ignoreVoidOperator: false }],
54
- "ts/no-deprecated": 0,
55
- "ts/no-dupe-class-members": 2,
56
- "ts/no-duplicate-enum-values": 2,
57
- "ts/no-duplicate-type-constituents": 0,
58
- "ts/no-dynamic-delete": 0,
59
- "ts/no-empty-function": 0,
60
- "ts/no-empty-object-type": [2, { allowInterfaces: "with-single-extends" }],
61
- "ts/no-explicit-any": [2, { fixToUnknown: true, ignoreRestArgs: true }],
62
- "ts/no-extra-non-null-assertion": 0,
63
- "ts/no-extraneous-class": 0,
64
- "ts/no-floating-promises": 0,
65
- "ts/no-for-in-array": 0,
66
- "ts/no-implied-eval": 2,
67
- "ts/no-import-type-side-effects": 2,
68
- "ts/no-inferrable-types": 2,
69
- "ts/no-invalid-void-type": 2,
70
- "ts/no-loop-func": 0,
71
- "ts/no-magic-numbers": 0,
72
- "ts/no-meaningless-void-operator": 0,
73
- "ts/no-misused-new": 0,
74
- "ts/no-misused-promises": [2, { checksVoidReturn: false }],
75
- "ts/no-misused-spread": 2,
76
- "ts/no-mixed-enums": 0,
77
- "ts/no-namespace": [2, { allowDeclarations: true, allowDefinitionFiles: true }],
78
- "ts/no-non-null-asserted-nullish-coalescing": 2,
79
- "ts/no-non-null-asserted-optional-chain": 2,
80
- "ts/no-non-null-assertion": 0,
81
- "ts/no-redeclare": 2,
82
- "ts/no-redundant-type-constituents": 0,
83
- "ts/no-require-imports": 2,
84
- "ts/no-restricted-imports": 0,
85
- "ts/no-restricted-types": 0,
86
- "ts/no-shadow": 0,
87
- "ts/no-this-alias": [2, { allowDestructuring: true }],
88
- "ts/no-unnecessary-boolean-literal-compare": 0,
89
- "ts/no-unnecessary-condition": 0,
90
- "ts/no-unnecessary-parameter-property-assignment": 0,
91
- "ts/no-unnecessary-qualifier": 2,
92
- "ts/no-unnecessary-template-expression": 2,
93
- "ts/no-unnecessary-type-arguments": 0,
94
- "ts/no-unnecessary-type-assertion": 0,
95
- "ts/no-unnecessary-type-constraint": 2,
96
- "ts/no-unnecessary-type-parameters": 0,
97
- "ts/no-unsafe-argument": 0,
98
- "ts/no-unsafe-assignment": 0,
99
- "ts/no-unsafe-call": 0,
100
- "ts/no-unsafe-declaration-merging": 0,
101
- "ts/no-unsafe-enum-comparison": 0,
102
- "ts/no-unsafe-function-type": 2,
103
- "ts/no-unsafe-member-access": 0,
104
- "ts/no-unsafe-return": 0,
105
- "ts/no-unsafe-type-assertion": 0,
106
- "ts/no-unsafe-unary-minus": 2,
107
- "ts/no-unused-expressions": [2, { ignoreDirectives: true, allowShortCircuit: true }],
108
- "ts/no-unused-vars": [2, { vars: "local", args: "none", caughtErrors: "none", varsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }],
109
- "ts/no-use-before-define": [2, { functions: false, classes: false, variables: false, allowNamedExports: false }],
110
- "ts/no-useless-constructor": 0,
111
- "ts/no-useless-empty-export": 0,
112
- "ts/no-wrapper-object-types": 2,
113
- "ts/non-nullable-type-assertion-style": 0,
114
- "ts/only-throw-error": 0,
115
- "ts/parameter-properties": 0,
116
- "ts/prefer-as-const": 0,
117
- "ts/prefer-destructuring": 0,
118
- "ts/prefer-enum-initializers": 0,
119
- "ts/prefer-find": 2,
120
- "ts/prefer-for-of": 2,
121
- "ts/prefer-function-type": 2,
122
- "ts/prefer-includes": 0,
123
- "ts/prefer-literal-enum-member": 0,
124
- "ts/prefer-namespace-keyword": 2,
125
- "ts/prefer-nullish-coalescing": 0,
126
- "ts/prefer-optional-chain": 0,
127
- "ts/prefer-promise-reject-errors": 0,
128
- "ts/prefer-readonly": 0,
129
- "ts/prefer-readonly-parameter-types": 0,
130
- "ts/prefer-reduce-type-parameter": 0,
131
- "ts/prefer-regexp-exec": 0,
132
- "ts/prefer-return-this-type": 0,
133
- "ts/prefer-string-starts-ends-with": 0,
134
- "ts/promise-function-async": 0,
135
- "ts/related-getter-setter-pairs": 2,
136
- "ts/require-array-sort-compare": 0,
137
- "ts/require-await": 0,
138
- "ts/restrict-plus-operands": 0,
139
- "ts/restrict-template-expressions": 0,
140
- "ts/return-await": 0,
141
- "ts/strict-boolean-expressions": 0,
142
- "ts/switch-exhaustiveness-check": 0,
143
- "ts/triple-slash-reference": [2, { path: "never", types: "always", lib: "always" }],
144
- "ts/typedef": [2, { arrayDestructuring: false, arrowParameter: false, memberVariableDeclaration: false, objectDestructuring: false, parameter: false, propertyDeclaration: true, variableDeclaration: false }],
145
- "ts/unbound-method": 0,
146
- "ts/unified-signatures": 0,
147
- "ts/use-unknown-in-catch-callback-variable": 0,
148
- };
package/src/core.vue.js DELETED
@@ -1,15 +0,0 @@
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
-
8
- "vue/block-order": [2, { order: ["script:not([setup])", "script[setup]", "template", "style:not([scoped])", "style[scoped]"] }],
9
- "vue/component-name-in-template-casing": [2, "PascalCase", { registeredComponentsOnly: false }],
10
- "vue/component-options-name-casing": [2, "PascalCase"],
11
- "vue/custom-event-name-casing": [2, "camelCase", { ignores: [] }],
12
- "vue/define-macros-order": [2, { order: ["defineOptions", "defineProps", "defineEmits"], defineExposeLast: false }],
13
- "vue/v-on-event-hyphenation": [2, "never", { autofix: true }],
14
- "vue/operator-linebreak": [2, "after", { overrides: { "?": "ignore", ":": "ignore" } }],
15
- };