nuxt-ignis 0.3.3 → 0.4.0-rc.2
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.
- package/.data/content/contents.sqlite +0 -0
- package/.env +8 -2
- package/.nuxt/app.config.mjs +2 -2
- package/.nuxt/cache/fonts/EP1810cmAtyahQPDHB6nvBzRkIG5RcNv4u5vTy1aYHU-Ih_Po7WkbhDymI0Y_ntmpz__bZJprHiu7_c5N_X6AAA.woff2 +0 -0
- package/.nuxt/cache/fonts/JNWOTRocaYj0gq52vW_s7sHAdSMUetrRmhhggCVxyZ0-TnR4PP30hI5UWldZ0knUBrHkvIoiDWYXwn2v1NtCh80.woff2 +0 -0
- package/.nuxt/cache/fonts/XbAtjIvy1UErjg9eu_v7X3zPLS_AwsmqVsR9fG-JB6o-H99o9_8BZXq7ey5UyS99Wn9zX0V0anvpXEqAqavcJlQ.woff2 +0 -0
- package/.nuxt/cache/fonts/ZLm6CLvwhQbamZ73M80jbqz7DuOkHlT_HRyXHG7YfVs-eYLoSJPWhqR5CE0c8XPABls8kE_7Fc7F2x7Gtfsg_8M.woff2 +0 -0
- package/.nuxt/cache/fonts/aPa9az0DeE4U5rqM-Ov0Vl_obQis_d6sScLNygGkvxw-s32Y9TxBLZRr_ebRHQ3l3q1g2j_0tPT879PPSBGrj8A.woff2 +0 -0
- package/.nuxt/cache/fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-55rzD39AWoqYSkQOLHuoKZUDVcDSlXRKdaymIN2dXes.woff +0 -0
- package/.nuxt/components.d.ts +606 -394
- package/.nuxt/content/components.ts +107 -98
- package/.nuxt/content/database.compressed.mjs +1 -1
- package/.nuxt/content/manifest.ts +6 -6
- package/.nuxt/content/sql_dump.txt +5 -0
- package/.nuxt/content/types.d.ts +8 -0
- package/.nuxt/dev/index.mjs +1584 -559
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.json +2 -2
- package/.nuxt/dist/server/client.manifest.mjs +2 -2
- package/.nuxt/eslint-typegen.d.ts +256 -225
- package/.nuxt/eslint.config.d.mts +3 -3
- package/.nuxt/eslint.config.mjs +11 -11
- package/.nuxt/imports.d.ts +70 -54
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/mdc-image-component.mjs +1 -1
- package/.nuxt/module/@nuxtjs-sitemap.d.ts +9 -8
- package/.nuxt/module/nuxt-robots.d.ts +37 -7
- package/.nuxt/{modules/@nuxt-scripts.d.ts → module/nuxt-scripts.d.ts} +1 -2
- package/.nuxt/module/nuxt-seo-utils.assets.d.ts +3 -3
- package/.nuxt/module/nuxt-seo-utils.d.ts +20 -6
- package/.nuxt/module/nuxt-site-config.d.ts +8 -8
- package/.nuxt/nitro.json +5 -5
- package/.nuxt/nuxt.d.ts +12 -9
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/tsconfig.json +235 -153
- package/.nuxt/tsconfig.server.json +126 -92
- package/.nuxt/types/app.config.d.ts +2 -2
- package/.nuxt/types/build.d.ts +2 -1
- package/.nuxt/types/i18n-plugin.d.ts +2 -2
- package/.nuxt/types/imports.d.ts +407 -314
- package/.nuxt/types/nitro-config.d.ts +2 -2
- package/.nuxt/types/nitro-imports.d.ts +143 -134
- package/.nuxt/types/nitro-nuxt.d.ts +2 -0
- package/.nuxt/types/nitro-routes.d.ts +17 -17
- package/.nuxt/types/plugins.d.ts +34 -34
- package/.nuxt/types/schema.d.ts +322 -12
- package/.nuxt/ui/avatar.ts +1 -1
- package/.nuxt/ui/card.ts +1 -1
- package/.nuxt/ui/carousel.ts +1 -1
- package/.nuxt/ui/command-palette.ts +1 -0
- package/.nuxt/ui/drawer.ts +1 -1
- package/.nuxt/ui/index.ts +2 -0
- package/.nuxt/ui/input-menu.ts +24 -10
- package/.nuxt/ui/input-tags.ts +310 -0
- package/.nuxt/ui/modal.ts +1 -1
- package/.nuxt/ui/navigation-menu.ts +1 -1
- package/.nuxt/ui/select-menu.ts +11 -6
- package/.nuxt/ui/select.ts +11 -6
- package/.nuxt/ui/table.ts +3 -2
- package/.nuxt/ui/timeline.ts +321 -0
- package/.nuxt/ui/toaster.ts +1 -1
- package/.nuxt/ui-image-component.ts +1 -1
- package/app.vue +2 -6
- package/assets/css/ignis-nuxt-ui.css +24 -0
- package/assets/css/{open-props.css → ignis-open-props.css} +1 -1
- package/assets/css/ignis-tailwind.css +23 -0
- package/assets/css/ignis.css +31 -0
- package/bin/make-eslint.js +55 -0
- package/components/CurrentTime.vue +4 -2
- package/components/ignis/IgnisConfig.vue +44 -0
- package/components/{AppFeature.vue → ignis/IgnisFeature.vue} +2 -1
- package/components/ignis/IgnisFeatureList.vue +111 -0
- package/components/ignis/IgnisFooter.vue +2 -2
- package/components/ignis/IgnisHeader.vue +4 -3
- package/components/ignis/IgnisInfo.vue +14 -13
- package/components/ignis/IgnisWelcome.vue +89 -0
- package/composables/useTranslation.ts +18 -9
- package/features.ts +68 -10
- package/formkit.config.ts +8 -8
- package/i18n/locales/en.json +10 -4
- package/nuxt.config.ts +30 -2
- package/package.json +29 -21
- package/pages/_ignis-config.vue +3 -0
- package/pages/_ignis-info.vue +3 -0
- package/pages/index.vue +4 -6
- package/public/_ignis-config.json +98 -0
- package/test/config/css-multiple.txt +30 -0
- package/test/config/css-nuxt-ui.txt +34 -0
- package/test/config/css-open-props.txt +2307 -0
- package/test/config/css-single.txt +28 -0
- package/test/config/css-tailwind.txt +58 -0
- package/test/config/custom-lang.txt +27 -0
- package/test/config/db-neon.txt +28 -0
- package/test/config/db-supabase.txt +31 -0
- package/test/config/default.txt +26 -15
- package/test/config/equipment-1-composable.txt +32 -21
- package/test/config/equipment-2-plugins.txt +33 -22
- package/test/config/equipment-all.txt +38 -27
- package/test/config/forms-formkit.txt +32 -0
- package/test/config/forms-vueform.txt +28 -0
- package/test/config/i18n.txt +38 -0
- package/test/config/no-default-css.txt +24 -0
- package/test/config/open-props.txt +2306 -0
- package/test/config/seo-ssr-false.txt +35 -0
- package/test/config/ui-nuxt-ui.txt +33 -0
- package/test/config/ui-tailwind.txt +57 -0
- package/test/config.test.ts +115 -0
- package/test/features/charts.txt +4 -0
- package/test/features/custom-css.txt +4 -0
- package/test/features/custom-title.txt +4 -0
- package/test/features/db-neon.txt +4 -3
- package/test/features/db-off.txt +4 -3
- package/test/features/db-supabase.txt +4 -3
- package/test/features/default.txt +4 -3
- package/test/features/disable-core.txt +2 -1
- package/test/features/enable-all.txt +5 -4
- package/test/features/equipment.txt +4 -3
- package/test/features/forms-formkit.txt +4 -3
- package/test/features/forms-off.txt +4 -3
- package/test/features/forms-vueform.txt +4 -3
- package/test/features/no-default-css.txt +4 -0
- package/test/features/regexp.txt +4 -0
- package/test/features/ui-nuxt-ui.txt +4 -3
- package/test/features/ui-off.txt +4 -3
- package/test/features/ui-tailwind.txt +5 -4
- package/test/features/validation-off.txt +4 -3
- package/test/features/validation-valibot.txt +5 -4
- package/test/features/validation-zod.txt +5 -4
- package/test/features.test.ts +37 -1
- package/utils/config/formkit.ts +23 -0
- package/utils/formkit.ts +16 -0
- package/utils/pslo-utils.ts +2 -1
- package/.nuxt/content/sql_dump +0 -6
- package/app.config.ts +0 -3
- package/assets/css/nuxt-ui.css +0 -16
- package/assets/css/tailwind.css +0 -15
- package/components/AppFeatureList.vue +0 -124
- package/content/second.md +0 -11
- package/pages/ignis.vue +0 -3
- package/pages/second.vue +0 -59
- package/server/plugins/pslo-content.ts +0 -17
- package/tailwind.config.ts +0 -29
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* This file is generated by eslint-typegen, for augmenting rules types in ESLint */
|
|
2
2
|
/* You might want to include this file in tsconfig.json but excluded from git */
|
|
3
|
-
/* eslint-typegen-hash:
|
|
3
|
+
/* eslint-typegen-hash: UaczumvL3L1NLtJE_HqgpOy8wVP8uyWa-AMI7D5V5cE */
|
|
4
4
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
/* prettier-ignore */
|
|
@@ -35,483 +35,478 @@ declare module 'eslint-flat-config-utils' {
|
|
|
35
35
|
export interface RuleOptions {
|
|
36
36
|
/**
|
|
37
37
|
* Enforce linebreaks after opening and before closing array brackets
|
|
38
|
-
* @see https://eslint.style/rules/
|
|
38
|
+
* @see https://eslint.style/rules/array-bracket-newline
|
|
39
39
|
*/
|
|
40
40
|
'@stylistic/array-bracket-newline'?: Linter.RuleEntry<StylisticArrayBracketNewline>
|
|
41
41
|
/**
|
|
42
42
|
* Enforce consistent spacing inside array brackets
|
|
43
|
-
* @see https://eslint.style/rules/
|
|
43
|
+
* @see https://eslint.style/rules/array-bracket-spacing
|
|
44
44
|
*/
|
|
45
45
|
'@stylistic/array-bracket-spacing'?: Linter.RuleEntry<StylisticArrayBracketSpacing>
|
|
46
46
|
/**
|
|
47
47
|
* Enforce line breaks after each array element
|
|
48
|
-
* @see https://eslint.style/rules/
|
|
48
|
+
* @see https://eslint.style/rules/array-element-newline
|
|
49
49
|
*/
|
|
50
50
|
'@stylistic/array-element-newline'?: Linter.RuleEntry<StylisticArrayElementNewline>
|
|
51
51
|
/**
|
|
52
52
|
* Require parentheses around arrow function arguments
|
|
53
|
-
* @see https://eslint.style/rules/
|
|
53
|
+
* @see https://eslint.style/rules/arrow-parens
|
|
54
54
|
*/
|
|
55
55
|
'@stylistic/arrow-parens'?: Linter.RuleEntry<StylisticArrowParens>
|
|
56
56
|
/**
|
|
57
57
|
* Enforce consistent spacing before and after the arrow in arrow functions
|
|
58
|
-
* @see https://eslint.style/rules/
|
|
58
|
+
* @see https://eslint.style/rules/arrow-spacing
|
|
59
59
|
*/
|
|
60
60
|
'@stylistic/arrow-spacing'?: Linter.RuleEntry<StylisticArrowSpacing>
|
|
61
61
|
/**
|
|
62
62
|
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
63
|
-
* @see https://eslint.style/rules/
|
|
63
|
+
* @see https://eslint.style/rules/block-spacing
|
|
64
64
|
*/
|
|
65
65
|
'@stylistic/block-spacing'?: Linter.RuleEntry<StylisticBlockSpacing>
|
|
66
66
|
/**
|
|
67
67
|
* Enforce consistent brace style for blocks
|
|
68
|
-
* @see https://eslint.style/rules/
|
|
68
|
+
* @see https://eslint.style/rules/brace-style
|
|
69
69
|
*/
|
|
70
70
|
'@stylistic/brace-style'?: Linter.RuleEntry<StylisticBraceStyle>
|
|
71
71
|
/**
|
|
72
72
|
* Require or disallow trailing commas
|
|
73
|
-
* @see https://eslint.style/rules/
|
|
73
|
+
* @see https://eslint.style/rules/comma-dangle
|
|
74
74
|
*/
|
|
75
75
|
'@stylistic/comma-dangle'?: Linter.RuleEntry<StylisticCommaDangle>
|
|
76
76
|
/**
|
|
77
77
|
* Enforce consistent spacing before and after commas
|
|
78
|
-
* @see https://eslint.style/rules/
|
|
78
|
+
* @see https://eslint.style/rules/comma-spacing
|
|
79
79
|
*/
|
|
80
80
|
'@stylistic/comma-spacing'?: Linter.RuleEntry<StylisticCommaSpacing>
|
|
81
81
|
/**
|
|
82
82
|
* Enforce consistent comma style
|
|
83
|
-
* @see https://eslint.style/rules/
|
|
83
|
+
* @see https://eslint.style/rules/comma-style
|
|
84
84
|
*/
|
|
85
85
|
'@stylistic/comma-style'?: Linter.RuleEntry<StylisticCommaStyle>
|
|
86
86
|
/**
|
|
87
87
|
* Enforce consistent spacing inside computed property brackets
|
|
88
|
-
* @see https://eslint.style/rules/
|
|
88
|
+
* @see https://eslint.style/rules/computed-property-spacing
|
|
89
89
|
*/
|
|
90
90
|
'@stylistic/computed-property-spacing'?: Linter.RuleEntry<StylisticComputedPropertySpacing>
|
|
91
91
|
/**
|
|
92
92
|
* Enforce consistent line breaks after opening and before closing braces
|
|
93
|
-
* @see https://eslint.style/rules/
|
|
93
|
+
* @see https://eslint.style/rules/curly-newline
|
|
94
94
|
*/
|
|
95
95
|
'@stylistic/curly-newline'?: Linter.RuleEntry<StylisticCurlyNewline>
|
|
96
96
|
/**
|
|
97
97
|
* Enforce consistent newlines before and after dots
|
|
98
|
-
* @see https://eslint.style/rules/
|
|
98
|
+
* @see https://eslint.style/rules/dot-location
|
|
99
99
|
*/
|
|
100
100
|
'@stylistic/dot-location'?: Linter.RuleEntry<StylisticDotLocation>
|
|
101
101
|
/**
|
|
102
102
|
* Require or disallow newline at the end of files
|
|
103
|
-
* @see https://eslint.style/rules/
|
|
103
|
+
* @see https://eslint.style/rules/eol-last
|
|
104
104
|
*/
|
|
105
105
|
'@stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>
|
|
106
|
-
/**
|
|
107
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
108
|
-
* @see https://eslint.style/rules/ts/function-call-spacing
|
|
109
|
-
*/
|
|
110
|
-
'@stylistic/func-call-spacing'?: Linter.RuleEntry<StylisticFuncCallSpacing>
|
|
111
106
|
/**
|
|
112
107
|
* Enforce line breaks between arguments of a function call
|
|
113
|
-
* @see https://eslint.style/rules/
|
|
108
|
+
* @see https://eslint.style/rules/function-call-argument-newline
|
|
114
109
|
*/
|
|
115
110
|
'@stylistic/function-call-argument-newline'?: Linter.RuleEntry<StylisticFunctionCallArgumentNewline>
|
|
116
111
|
/**
|
|
117
112
|
* Require or disallow spacing between function identifiers and their invocations
|
|
118
|
-
* @see https://eslint.style/rules/
|
|
113
|
+
* @see https://eslint.style/rules/function-call-spacing
|
|
119
114
|
*/
|
|
120
115
|
'@stylistic/function-call-spacing'?: Linter.RuleEntry<StylisticFunctionCallSpacing>
|
|
121
116
|
/**
|
|
122
117
|
* Enforce consistent line breaks inside function parentheses
|
|
123
|
-
* @see https://eslint.style/rules/
|
|
118
|
+
* @see https://eslint.style/rules/function-paren-newline
|
|
124
119
|
*/
|
|
125
120
|
'@stylistic/function-paren-newline'?: Linter.RuleEntry<StylisticFunctionParenNewline>
|
|
126
121
|
/**
|
|
127
122
|
* Enforce consistent spacing around `*` operators in generator functions
|
|
128
|
-
* @see https://eslint.style/rules/
|
|
123
|
+
* @see https://eslint.style/rules/generator-star-spacing
|
|
129
124
|
*/
|
|
130
125
|
'@stylistic/generator-star-spacing'?: Linter.RuleEntry<StylisticGeneratorStarSpacing>
|
|
131
126
|
/**
|
|
132
127
|
* Enforce the location of arrow function bodies
|
|
133
|
-
* @see https://eslint.style/rules/
|
|
128
|
+
* @see https://eslint.style/rules/implicit-arrow-linebreak
|
|
134
129
|
*/
|
|
135
130
|
'@stylistic/implicit-arrow-linebreak'?: Linter.RuleEntry<StylisticImplicitArrowLinebreak>
|
|
136
131
|
/**
|
|
137
132
|
* Enforce consistent indentation
|
|
138
|
-
* @see https://eslint.style/rules/
|
|
133
|
+
* @see https://eslint.style/rules/indent
|
|
139
134
|
*/
|
|
140
135
|
'@stylistic/indent'?: Linter.RuleEntry<StylisticIndent>
|
|
141
136
|
/**
|
|
142
137
|
* Indentation for binary operators
|
|
143
|
-
* @see https://eslint.style/rules/
|
|
138
|
+
* @see https://eslint.style/rules/indent-binary-ops
|
|
144
139
|
*/
|
|
145
140
|
'@stylistic/indent-binary-ops'?: Linter.RuleEntry<StylisticIndentBinaryOps>
|
|
146
141
|
/**
|
|
147
142
|
* Enforce closing bracket location in JSX
|
|
148
|
-
* @see https://eslint.style/rules/jsx
|
|
143
|
+
* @see https://eslint.style/rules/jsx-closing-bracket-location
|
|
149
144
|
*/
|
|
150
145
|
'@stylistic/jsx-closing-bracket-location'?: Linter.RuleEntry<StylisticJsxClosingBracketLocation>
|
|
151
146
|
/**
|
|
152
147
|
* Enforce closing tag location for multiline JSX
|
|
153
|
-
* @see https://eslint.style/rules/jsx
|
|
148
|
+
* @see https://eslint.style/rules/jsx-closing-tag-location
|
|
154
149
|
*/
|
|
155
150
|
'@stylistic/jsx-closing-tag-location'?: Linter.RuleEntry<StylisticJsxClosingTagLocation>
|
|
156
151
|
/**
|
|
157
152
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
158
|
-
* @see https://eslint.style/rules/jsx
|
|
153
|
+
* @see https://eslint.style/rules/jsx-curly-brace-presence
|
|
159
154
|
*/
|
|
160
155
|
'@stylistic/jsx-curly-brace-presence'?: Linter.RuleEntry<StylisticJsxCurlyBracePresence>
|
|
161
156
|
/**
|
|
162
157
|
* Enforce consistent linebreaks in curly braces in JSX attributes and expressions
|
|
163
|
-
* @see https://eslint.style/rules/jsx
|
|
158
|
+
* @see https://eslint.style/rules/jsx-curly-newline
|
|
164
159
|
*/
|
|
165
160
|
'@stylistic/jsx-curly-newline'?: Linter.RuleEntry<StylisticJsxCurlyNewline>
|
|
166
161
|
/**
|
|
167
162
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
168
|
-
* @see https://eslint.style/rules/jsx
|
|
163
|
+
* @see https://eslint.style/rules/jsx-curly-spacing
|
|
169
164
|
*/
|
|
170
165
|
'@stylistic/jsx-curly-spacing'?: Linter.RuleEntry<StylisticJsxCurlySpacing>
|
|
171
166
|
/**
|
|
172
167
|
* Enforce or disallow spaces around equal signs in JSX attributes
|
|
173
|
-
* @see https://eslint.style/rules/jsx
|
|
168
|
+
* @see https://eslint.style/rules/jsx-equals-spacing
|
|
174
169
|
*/
|
|
175
170
|
'@stylistic/jsx-equals-spacing'?: Linter.RuleEntry<StylisticJsxEqualsSpacing>
|
|
176
171
|
/**
|
|
177
172
|
* Enforce proper position of the first property in JSX
|
|
178
|
-
* @see https://eslint.style/rules/jsx
|
|
173
|
+
* @see https://eslint.style/rules/jsx-first-prop-new-line
|
|
179
174
|
*/
|
|
180
175
|
'@stylistic/jsx-first-prop-new-line'?: Linter.RuleEntry<StylisticJsxFirstPropNewLine>
|
|
181
176
|
/**
|
|
182
177
|
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
183
|
-
* @see https://eslint.style/rules/jsx
|
|
178
|
+
* @see https://eslint.style/rules/jsx-function-call-newline
|
|
184
179
|
*/
|
|
185
180
|
'@stylistic/jsx-function-call-newline'?: Linter.RuleEntry<StylisticJsxFunctionCallNewline>
|
|
186
181
|
/**
|
|
187
182
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
188
|
-
* @see https://eslint.style/rules/jsx
|
|
183
|
+
* @see https://eslint.style/rules/jsx-child-element-spacing
|
|
189
184
|
*/
|
|
190
185
|
'@stylistic/jsx-child-element-spacing'?: Linter.RuleEntry<[]>
|
|
191
186
|
/**
|
|
192
187
|
* Enforce JSX indentation. Deprecated, use `indent` rule instead.
|
|
193
|
-
* @see https://eslint.style/rules/jsx
|
|
188
|
+
* @see https://eslint.style/rules/jsx-indent
|
|
194
189
|
* @deprecated
|
|
195
190
|
*/
|
|
196
191
|
'@stylistic/jsx-indent'?: Linter.RuleEntry<StylisticJsxIndent>
|
|
197
192
|
/**
|
|
198
193
|
* Enforce props indentation in JSX
|
|
199
|
-
* @see https://eslint.style/rules/jsx
|
|
194
|
+
* @see https://eslint.style/rules/jsx-indent-props
|
|
200
195
|
*/
|
|
201
196
|
'@stylistic/jsx-indent-props'?: Linter.RuleEntry<StylisticJsxIndentProps>
|
|
202
197
|
/**
|
|
203
198
|
* Enforce maximum of props on a single line in JSX
|
|
204
|
-
* @see https://eslint.style/rules/jsx
|
|
199
|
+
* @see https://eslint.style/rules/jsx-max-props-per-line
|
|
205
200
|
*/
|
|
206
201
|
'@stylistic/jsx-max-props-per-line'?: Linter.RuleEntry<StylisticJsxMaxPropsPerLine>
|
|
207
202
|
/**
|
|
208
203
|
* Require or prevent a new line after jsx elements and expressions.
|
|
209
|
-
* @see https://eslint.style/rules/jsx
|
|
204
|
+
* @see https://eslint.style/rules/jsx-newline
|
|
210
205
|
*/
|
|
211
206
|
'@stylistic/jsx-newline'?: Linter.RuleEntry<StylisticJsxNewline>
|
|
212
207
|
/**
|
|
213
208
|
* Require one JSX element per line
|
|
214
|
-
* @see https://eslint.style/rules/jsx
|
|
209
|
+
* @see https://eslint.style/rules/jsx-one-expression-per-line
|
|
215
210
|
*/
|
|
216
211
|
'@stylistic/jsx-one-expression-per-line'?: Linter.RuleEntry<StylisticJsxOneExpressionPerLine>
|
|
217
212
|
/**
|
|
218
213
|
* Enforce PascalCase for user-defined JSX components
|
|
219
|
-
* @see https://eslint.style/rules/jsx
|
|
214
|
+
* @see https://eslint.style/rules/jsx-pascal-case
|
|
220
215
|
*/
|
|
221
216
|
'@stylistic/jsx-pascal-case'?: Linter.RuleEntry<StylisticJsxPascalCase>
|
|
222
217
|
/**
|
|
223
218
|
* Disallow multiple spaces between inline JSX props
|
|
224
|
-
* @see https://eslint.style/rules/jsx
|
|
219
|
+
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
225
220
|
*/
|
|
226
221
|
'@stylistic/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>
|
|
227
222
|
/**
|
|
228
223
|
* Enforce the consistent use of either double or single quotes in JSX attributes
|
|
229
|
-
* @see https://eslint.style/rules/
|
|
224
|
+
* @see https://eslint.style/rules/jsx-quotes
|
|
230
225
|
*/
|
|
231
226
|
'@stylistic/jsx-quotes'?: Linter.RuleEntry<StylisticJsxQuotes>
|
|
232
227
|
/**
|
|
233
228
|
* Disallow extra closing tags for components without children
|
|
234
|
-
* @see https://eslint.style/rules/jsx
|
|
229
|
+
* @see https://eslint.style/rules/jsx-self-closing-comp
|
|
235
230
|
*/
|
|
236
231
|
'@stylistic/jsx-self-closing-comp'?: Linter.RuleEntry<StylisticJsxSelfClosingComp>
|
|
237
232
|
/**
|
|
238
233
|
* Enforce props alphabetical sorting
|
|
239
|
-
* @see https://eslint.style/rules/jsx
|
|
234
|
+
* @see https://eslint.style/rules/jsx-sort-props
|
|
240
235
|
*/
|
|
241
236
|
'@stylistic/jsx-sort-props'?: Linter.RuleEntry<StylisticJsxSortProps>
|
|
242
237
|
/**
|
|
243
238
|
* Enforce whitespace in and around the JSX opening and closing brackets
|
|
244
|
-
* @see https://eslint.style/rules/jsx
|
|
239
|
+
* @see https://eslint.style/rules/jsx-tag-spacing
|
|
245
240
|
*/
|
|
246
241
|
'@stylistic/jsx-tag-spacing'?: Linter.RuleEntry<StylisticJsxTagSpacing>
|
|
247
242
|
/**
|
|
248
243
|
* Disallow missing parentheses around multiline JSX
|
|
249
|
-
* @see https://eslint.style/rules/jsx
|
|
244
|
+
* @see https://eslint.style/rules/jsx-wrap-multilines
|
|
250
245
|
*/
|
|
251
246
|
'@stylistic/jsx-wrap-multilines'?: Linter.RuleEntry<StylisticJsxWrapMultilines>
|
|
252
247
|
/**
|
|
253
248
|
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
254
|
-
* @see https://eslint.style/rules/
|
|
249
|
+
* @see https://eslint.style/rules/key-spacing
|
|
255
250
|
*/
|
|
256
251
|
'@stylistic/key-spacing'?: Linter.RuleEntry<StylisticKeySpacing>
|
|
257
252
|
/**
|
|
258
253
|
* Enforce consistent spacing before and after keywords
|
|
259
|
-
* @see https://eslint.style/rules/
|
|
254
|
+
* @see https://eslint.style/rules/keyword-spacing
|
|
260
255
|
*/
|
|
261
256
|
'@stylistic/keyword-spacing'?: Linter.RuleEntry<StylisticKeywordSpacing>
|
|
262
257
|
/**
|
|
263
258
|
* Enforce position of line comments
|
|
264
|
-
* @see https://eslint.style/rules/
|
|
259
|
+
* @see https://eslint.style/rules/line-comment-position
|
|
265
260
|
*/
|
|
266
261
|
'@stylistic/line-comment-position'?: Linter.RuleEntry<StylisticLineCommentPosition>
|
|
267
262
|
/**
|
|
268
263
|
* Enforce consistent linebreak style
|
|
269
|
-
* @see https://eslint.style/rules/
|
|
264
|
+
* @see https://eslint.style/rules/linebreak-style
|
|
270
265
|
*/
|
|
271
266
|
'@stylistic/linebreak-style'?: Linter.RuleEntry<StylisticLinebreakStyle>
|
|
272
267
|
/**
|
|
273
268
|
* Require empty lines around comments
|
|
274
|
-
* @see https://eslint.style/rules/
|
|
269
|
+
* @see https://eslint.style/rules/lines-around-comment
|
|
275
270
|
*/
|
|
276
271
|
'@stylistic/lines-around-comment'?: Linter.RuleEntry<StylisticLinesAroundComment>
|
|
277
272
|
/**
|
|
278
273
|
* Require or disallow an empty line between class members
|
|
279
|
-
* @see https://eslint.style/rules/
|
|
274
|
+
* @see https://eslint.style/rules/lines-between-class-members
|
|
280
275
|
*/
|
|
281
276
|
'@stylistic/lines-between-class-members'?: Linter.RuleEntry<StylisticLinesBetweenClassMembers>
|
|
282
277
|
/**
|
|
283
278
|
* Enforce a maximum line length
|
|
284
|
-
* @see https://eslint.style/rules/
|
|
279
|
+
* @see https://eslint.style/rules/max-len
|
|
285
280
|
*/
|
|
286
281
|
'@stylistic/max-len'?: Linter.RuleEntry<StylisticMaxLen>
|
|
287
282
|
/**
|
|
288
283
|
* Enforce a maximum number of statements allowed per line
|
|
289
|
-
* @see https://eslint.style/rules/
|
|
284
|
+
* @see https://eslint.style/rules/max-statements-per-line
|
|
290
285
|
*/
|
|
291
286
|
'@stylistic/max-statements-per-line'?: Linter.RuleEntry<StylisticMaxStatementsPerLine>
|
|
292
287
|
/**
|
|
293
288
|
* Require a specific member delimiter style for interfaces and type literals
|
|
294
|
-
* @see https://eslint.style/rules/
|
|
289
|
+
* @see https://eslint.style/rules/member-delimiter-style
|
|
295
290
|
*/
|
|
296
291
|
'@stylistic/member-delimiter-style'?: Linter.RuleEntry<StylisticMemberDelimiterStyle>
|
|
297
292
|
/**
|
|
298
293
|
* Enforce a particular style for multiline comments
|
|
299
|
-
* @see https://eslint.style/rules/
|
|
294
|
+
* @see https://eslint.style/rules/multiline-comment-style
|
|
300
295
|
*/
|
|
301
296
|
'@stylistic/multiline-comment-style'?: Linter.RuleEntry<StylisticMultilineCommentStyle>
|
|
302
297
|
/**
|
|
303
298
|
* Enforce newlines between operands of ternary expressions
|
|
304
|
-
* @see https://eslint.style/rules/
|
|
299
|
+
* @see https://eslint.style/rules/multiline-ternary
|
|
305
300
|
*/
|
|
306
301
|
'@stylistic/multiline-ternary'?: Linter.RuleEntry<StylisticMultilineTernary>
|
|
307
302
|
/**
|
|
308
303
|
* Enforce or disallow parentheses when invoking a constructor with no arguments
|
|
309
|
-
* @see https://eslint.style/rules/
|
|
304
|
+
* @see https://eslint.style/rules/new-parens
|
|
310
305
|
*/
|
|
311
306
|
'@stylistic/new-parens'?: Linter.RuleEntry<StylisticNewParens>
|
|
312
307
|
/**
|
|
313
308
|
* Require a newline after each call in a method chain
|
|
314
|
-
* @see https://eslint.style/rules/
|
|
309
|
+
* @see https://eslint.style/rules/newline-per-chained-call
|
|
315
310
|
*/
|
|
316
311
|
'@stylistic/newline-per-chained-call'?: Linter.RuleEntry<StylisticNewlinePerChainedCall>
|
|
317
312
|
/**
|
|
318
313
|
* Disallow arrow functions where they could be confused with comparisons
|
|
319
|
-
* @see https://eslint.style/rules/
|
|
314
|
+
* @see https://eslint.style/rules/no-confusing-arrow
|
|
320
315
|
*/
|
|
321
316
|
'@stylistic/no-confusing-arrow'?: Linter.RuleEntry<StylisticNoConfusingArrow>
|
|
322
317
|
/**
|
|
323
318
|
* Disallow unnecessary parentheses
|
|
324
|
-
* @see https://eslint.style/rules/
|
|
319
|
+
* @see https://eslint.style/rules/no-extra-parens
|
|
325
320
|
*/
|
|
326
321
|
'@stylistic/no-extra-parens'?: Linter.RuleEntry<StylisticNoExtraParens>
|
|
327
322
|
/**
|
|
328
323
|
* Disallow unnecessary semicolons
|
|
329
|
-
* @see https://eslint.style/rules/
|
|
324
|
+
* @see https://eslint.style/rules/no-extra-semi
|
|
330
325
|
*/
|
|
331
326
|
'@stylistic/no-extra-semi'?: Linter.RuleEntry<[]>
|
|
332
327
|
/**
|
|
333
328
|
* Disallow leading or trailing decimal points in numeric literals
|
|
334
|
-
* @see https://eslint.style/rules/
|
|
329
|
+
* @see https://eslint.style/rules/no-floating-decimal
|
|
335
330
|
*/
|
|
336
331
|
'@stylistic/no-floating-decimal'?: Linter.RuleEntry<[]>
|
|
337
332
|
/**
|
|
338
333
|
* Disallow mixed binary operators
|
|
339
|
-
* @see https://eslint.style/rules/
|
|
334
|
+
* @see https://eslint.style/rules/no-mixed-operators
|
|
340
335
|
*/
|
|
341
336
|
'@stylistic/no-mixed-operators'?: Linter.RuleEntry<StylisticNoMixedOperators>
|
|
342
337
|
/**
|
|
343
338
|
* Disallow mixed spaces and tabs for indentation
|
|
344
|
-
* @see https://eslint.style/rules/
|
|
339
|
+
* @see https://eslint.style/rules/no-mixed-spaces-and-tabs
|
|
345
340
|
*/
|
|
346
341
|
'@stylistic/no-mixed-spaces-and-tabs'?: Linter.RuleEntry<StylisticNoMixedSpacesAndTabs>
|
|
347
342
|
/**
|
|
348
343
|
* Disallow multiple spaces
|
|
349
|
-
* @see https://eslint.style/rules/
|
|
344
|
+
* @see https://eslint.style/rules/no-multi-spaces
|
|
350
345
|
*/
|
|
351
346
|
'@stylistic/no-multi-spaces'?: Linter.RuleEntry<StylisticNoMultiSpaces>
|
|
352
347
|
/**
|
|
353
348
|
* Disallow multiple empty lines
|
|
354
|
-
* @see https://eslint.style/rules/
|
|
349
|
+
* @see https://eslint.style/rules/no-multiple-empty-lines
|
|
355
350
|
*/
|
|
356
351
|
'@stylistic/no-multiple-empty-lines'?: Linter.RuleEntry<StylisticNoMultipleEmptyLines>
|
|
357
352
|
/**
|
|
358
353
|
* Disallow all tabs
|
|
359
|
-
* @see https://eslint.style/rules/
|
|
354
|
+
* @see https://eslint.style/rules/no-tabs
|
|
360
355
|
*/
|
|
361
356
|
'@stylistic/no-tabs'?: Linter.RuleEntry<StylisticNoTabs>
|
|
362
357
|
/**
|
|
363
358
|
* Disallow trailing whitespace at the end of lines
|
|
364
|
-
* @see https://eslint.style/rules/
|
|
359
|
+
* @see https://eslint.style/rules/no-trailing-spaces
|
|
365
360
|
*/
|
|
366
361
|
'@stylistic/no-trailing-spaces'?: Linter.RuleEntry<StylisticNoTrailingSpaces>
|
|
367
362
|
/**
|
|
368
363
|
* Disallow whitespace before properties
|
|
369
|
-
* @see https://eslint.style/rules/
|
|
364
|
+
* @see https://eslint.style/rules/no-whitespace-before-property
|
|
370
365
|
*/
|
|
371
366
|
'@stylistic/no-whitespace-before-property'?: Linter.RuleEntry<[]>
|
|
372
367
|
/**
|
|
373
368
|
* Enforce the location of single-line statements
|
|
374
|
-
* @see https://eslint.style/rules/
|
|
369
|
+
* @see https://eslint.style/rules/nonblock-statement-body-position
|
|
375
370
|
*/
|
|
376
371
|
'@stylistic/nonblock-statement-body-position'?: Linter.RuleEntry<StylisticNonblockStatementBodyPosition>
|
|
377
372
|
/**
|
|
378
373
|
* Enforce consistent line breaks after opening and before closing braces
|
|
379
|
-
* @see https://eslint.style/rules/
|
|
374
|
+
* @see https://eslint.style/rules/object-curly-newline
|
|
380
375
|
*/
|
|
381
376
|
'@stylistic/object-curly-newline'?: Linter.RuleEntry<StylisticObjectCurlyNewline>
|
|
382
377
|
/**
|
|
383
378
|
* Enforce consistent spacing inside braces
|
|
384
|
-
* @see https://eslint.style/rules/
|
|
379
|
+
* @see https://eslint.style/rules/object-curly-spacing
|
|
385
380
|
*/
|
|
386
381
|
'@stylistic/object-curly-spacing'?: Linter.RuleEntry<StylisticObjectCurlySpacing>
|
|
387
382
|
/**
|
|
388
383
|
* Enforce placing object properties on separate lines
|
|
389
|
-
* @see https://eslint.style/rules/
|
|
384
|
+
* @see https://eslint.style/rules/object-property-newline
|
|
390
385
|
*/
|
|
391
386
|
'@stylistic/object-property-newline'?: Linter.RuleEntry<StylisticObjectPropertyNewline>
|
|
392
387
|
/**
|
|
393
388
|
* Require or disallow newlines around variable declarations
|
|
394
|
-
* @see https://eslint.style/rules/
|
|
389
|
+
* @see https://eslint.style/rules/one-var-declaration-per-line
|
|
395
390
|
*/
|
|
396
391
|
'@stylistic/one-var-declaration-per-line'?: Linter.RuleEntry<StylisticOneVarDeclarationPerLine>
|
|
397
392
|
/**
|
|
398
393
|
* Enforce consistent linebreak style for operators
|
|
399
|
-
* @see https://eslint.style/rules/
|
|
394
|
+
* @see https://eslint.style/rules/operator-linebreak
|
|
400
395
|
*/
|
|
401
396
|
'@stylistic/operator-linebreak'?: Linter.RuleEntry<StylisticOperatorLinebreak>
|
|
402
397
|
/**
|
|
403
398
|
* Require or disallow padding within blocks
|
|
404
|
-
* @see https://eslint.style/rules/
|
|
399
|
+
* @see https://eslint.style/rules/padded-blocks
|
|
405
400
|
*/
|
|
406
401
|
'@stylistic/padded-blocks'?: Linter.RuleEntry<StylisticPaddedBlocks>
|
|
407
402
|
/**
|
|
408
403
|
* Require or disallow padding lines between statements
|
|
409
|
-
* @see https://eslint.style/rules/
|
|
404
|
+
* @see https://eslint.style/rules/padding-line-between-statements
|
|
410
405
|
*/
|
|
411
406
|
'@stylistic/padding-line-between-statements'?: Linter.RuleEntry<StylisticPaddingLineBetweenStatements>
|
|
412
407
|
/**
|
|
413
408
|
* Require quotes around object literal, type literal, interfaces and enums property names
|
|
414
|
-
* @see https://eslint.style/rules/
|
|
409
|
+
* @see https://eslint.style/rules/quote-props
|
|
415
410
|
*/
|
|
416
411
|
'@stylistic/quote-props'?: Linter.RuleEntry<StylisticQuoteProps>
|
|
417
412
|
/**
|
|
418
413
|
* Enforce the consistent use of either backticks, double, or single quotes
|
|
419
|
-
* @see https://eslint.style/rules/
|
|
414
|
+
* @see https://eslint.style/rules/quotes
|
|
420
415
|
*/
|
|
421
416
|
'@stylistic/quotes'?: Linter.RuleEntry<StylisticQuotes>
|
|
422
417
|
/**
|
|
423
418
|
* Enforce spacing between rest and spread operators and their expressions
|
|
424
|
-
* @see https://eslint.style/rules/
|
|
419
|
+
* @see https://eslint.style/rules/rest-spread-spacing
|
|
425
420
|
*/
|
|
426
421
|
'@stylistic/rest-spread-spacing'?: Linter.RuleEntry<StylisticRestSpreadSpacing>
|
|
427
422
|
/**
|
|
428
423
|
* Require or disallow semicolons instead of ASI
|
|
429
|
-
* @see https://eslint.style/rules/
|
|
424
|
+
* @see https://eslint.style/rules/semi
|
|
430
425
|
*/
|
|
431
426
|
'@stylistic/semi'?: Linter.RuleEntry<StylisticSemi>
|
|
432
427
|
/**
|
|
433
428
|
* Enforce consistent spacing before and after semicolons
|
|
434
|
-
* @see https://eslint.style/rules/
|
|
429
|
+
* @see https://eslint.style/rules/semi-spacing
|
|
435
430
|
*/
|
|
436
431
|
'@stylistic/semi-spacing'?: Linter.RuleEntry<StylisticSemiSpacing>
|
|
437
432
|
/**
|
|
438
433
|
* Enforce location of semicolons
|
|
439
|
-
* @see https://eslint.style/rules/
|
|
434
|
+
* @see https://eslint.style/rules/semi-style
|
|
440
435
|
*/
|
|
441
436
|
'@stylistic/semi-style'?: Linter.RuleEntry<StylisticSemiStyle>
|
|
442
437
|
/**
|
|
443
438
|
* Enforce consistent spacing before blocks
|
|
444
|
-
* @see https://eslint.style/rules/
|
|
439
|
+
* @see https://eslint.style/rules/space-before-blocks
|
|
445
440
|
*/
|
|
446
441
|
'@stylistic/space-before-blocks'?: Linter.RuleEntry<StylisticSpaceBeforeBlocks>
|
|
447
442
|
/**
|
|
448
443
|
* Enforce consistent spacing before function parenthesis
|
|
449
|
-
* @see https://eslint.style/rules/
|
|
444
|
+
* @see https://eslint.style/rules/space-before-function-paren
|
|
450
445
|
*/
|
|
451
446
|
'@stylistic/space-before-function-paren'?: Linter.RuleEntry<StylisticSpaceBeforeFunctionParen>
|
|
452
447
|
/**
|
|
453
448
|
* Enforce consistent spacing inside parentheses
|
|
454
|
-
* @see https://eslint.style/rules/
|
|
449
|
+
* @see https://eslint.style/rules/space-in-parens
|
|
455
450
|
*/
|
|
456
451
|
'@stylistic/space-in-parens'?: Linter.RuleEntry<StylisticSpaceInParens>
|
|
457
452
|
/**
|
|
458
453
|
* Require spacing around infix operators
|
|
459
|
-
* @see https://eslint.style/rules/
|
|
454
|
+
* @see https://eslint.style/rules/space-infix-ops
|
|
460
455
|
*/
|
|
461
456
|
'@stylistic/space-infix-ops'?: Linter.RuleEntry<StylisticSpaceInfixOps>
|
|
462
457
|
/**
|
|
463
458
|
* Enforce consistent spacing before or after unary operators
|
|
464
|
-
* @see https://eslint.style/rules/
|
|
459
|
+
* @see https://eslint.style/rules/space-unary-ops
|
|
465
460
|
*/
|
|
466
461
|
'@stylistic/space-unary-ops'?: Linter.RuleEntry<StylisticSpaceUnaryOps>
|
|
467
462
|
/**
|
|
468
463
|
* Enforce consistent spacing after the `//` or `/*` in a comment
|
|
469
|
-
* @see https://eslint.style/rules/
|
|
464
|
+
* @see https://eslint.style/rules/spaced-comment
|
|
470
465
|
*/
|
|
471
466
|
'@stylistic/spaced-comment'?: Linter.RuleEntry<StylisticSpacedComment>
|
|
472
467
|
/**
|
|
473
468
|
* Enforce spacing around colons of switch statements
|
|
474
|
-
* @see https://eslint.style/rules/
|
|
469
|
+
* @see https://eslint.style/rules/switch-colon-spacing
|
|
475
470
|
*/
|
|
476
471
|
'@stylistic/switch-colon-spacing'?: Linter.RuleEntry<StylisticSwitchColonSpacing>
|
|
477
472
|
/**
|
|
478
473
|
* Require or disallow spacing around embedded expressions of template strings
|
|
479
|
-
* @see https://eslint.style/rules/
|
|
474
|
+
* @see https://eslint.style/rules/template-curly-spacing
|
|
480
475
|
*/
|
|
481
476
|
'@stylistic/template-curly-spacing'?: Linter.RuleEntry<StylisticTemplateCurlySpacing>
|
|
482
477
|
/**
|
|
483
478
|
* Require or disallow spacing between template tags and their literals
|
|
484
|
-
* @see https://eslint.style/rules/
|
|
479
|
+
* @see https://eslint.style/rules/template-tag-spacing
|
|
485
480
|
*/
|
|
486
481
|
'@stylistic/template-tag-spacing'?: Linter.RuleEntry<StylisticTemplateTagSpacing>
|
|
487
482
|
/**
|
|
488
483
|
* Require consistent spacing around type annotations
|
|
489
|
-
* @see https://eslint.style/rules/
|
|
484
|
+
* @see https://eslint.style/rules/type-annotation-spacing
|
|
490
485
|
*/
|
|
491
486
|
'@stylistic/type-annotation-spacing'?: Linter.RuleEntry<StylisticTypeAnnotationSpacing>
|
|
492
487
|
/**
|
|
493
488
|
* Enforces consistent spacing inside TypeScript type generics
|
|
494
|
-
* @see https://eslint.style/rules/
|
|
489
|
+
* @see https://eslint.style/rules/type-generic-spacing
|
|
495
490
|
*/
|
|
496
491
|
'@stylistic/type-generic-spacing'?: Linter.RuleEntry<[]>
|
|
497
492
|
/**
|
|
498
493
|
* Expect space before the type declaration in the named tuple
|
|
499
|
-
* @see https://eslint.style/rules/
|
|
494
|
+
* @see https://eslint.style/rules/type-named-tuple-spacing
|
|
500
495
|
*/
|
|
501
496
|
'@stylistic/type-named-tuple-spacing'?: Linter.RuleEntry<[]>
|
|
502
497
|
/**
|
|
503
498
|
* Require parentheses around immediate `function` invocations
|
|
504
|
-
* @see https://eslint.style/rules/
|
|
499
|
+
* @see https://eslint.style/rules/wrap-iife
|
|
505
500
|
*/
|
|
506
501
|
'@stylistic/wrap-iife'?: Linter.RuleEntry<StylisticWrapIife>
|
|
507
502
|
/**
|
|
508
503
|
* Require parenthesis around regex literals
|
|
509
|
-
* @see https://eslint.style/rules/
|
|
504
|
+
* @see https://eslint.style/rules/wrap-regex
|
|
510
505
|
*/
|
|
511
506
|
'@stylistic/wrap-regex'?: Linter.RuleEntry<[]>
|
|
512
507
|
/**
|
|
513
508
|
* Require or disallow spacing around the `*` in `yield*` expressions
|
|
514
|
-
* @see https://eslint.style/rules/
|
|
509
|
+
* @see https://eslint.style/rules/yield-star-spacing
|
|
515
510
|
*/
|
|
516
511
|
'@stylistic/yield-star-spacing'?: Linter.RuleEntry<StylisticYieldStarSpacing>
|
|
517
512
|
/**
|
|
@@ -1158,6 +1153,7 @@ export interface RuleOptions {
|
|
|
1158
1153
|
/**
|
|
1159
1154
|
* Require type annotations in certain places
|
|
1160
1155
|
* @see https://typescript-eslint.io/rules/typedef
|
|
1156
|
+
* @deprecated
|
|
1161
1157
|
*/
|
|
1162
1158
|
'@typescript-eslint/typedef'?: Linter.RuleEntry<TypescriptEslintTypedef>
|
|
1163
1159
|
/**
|
|
@@ -1444,233 +1440,238 @@ export interface RuleOptions {
|
|
|
1444
1440
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1445
1441
|
/**
|
|
1446
1442
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1447
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1443
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
|
|
1448
1444
|
*/
|
|
1449
1445
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1450
1446
|
/**
|
|
1451
1447
|
* Ensure a default export is present, given a default import.
|
|
1452
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1448
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
|
|
1453
1449
|
*/
|
|
1454
1450
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1455
1451
|
/**
|
|
1456
1452
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1457
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1453
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
|
|
1458
1454
|
*/
|
|
1459
1455
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1460
1456
|
/**
|
|
1461
1457
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1462
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1458
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
|
|
1463
1459
|
*/
|
|
1464
1460
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1465
1461
|
/**
|
|
1466
1462
|
* Ensure all exports appear after other statements.
|
|
1467
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1463
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
|
|
1468
1464
|
*/
|
|
1469
1465
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1470
1466
|
/**
|
|
1471
1467
|
* Ensure consistent use of file extension within the import path.
|
|
1472
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1468
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
|
|
1473
1469
|
*/
|
|
1474
1470
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1475
1471
|
/**
|
|
1476
1472
|
* Ensure all imports appear before other statements.
|
|
1477
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1473
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
|
|
1478
1474
|
*/
|
|
1479
1475
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1480
1476
|
/**
|
|
1481
1477
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1482
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1478
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
|
|
1483
1479
|
*/
|
|
1484
1480
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1485
1481
|
/**
|
|
1486
1482
|
* Replaced by `import-x/first`.
|
|
1487
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1483
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
|
|
1488
1484
|
* @deprecated
|
|
1489
1485
|
*/
|
|
1490
1486
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1491
1487
|
/**
|
|
1492
1488
|
* Enforce the maximum number of dependencies a module can have.
|
|
1493
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1489
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
|
|
1494
1490
|
*/
|
|
1495
1491
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1496
1492
|
/**
|
|
1497
1493
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1498
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1494
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
|
|
1499
1495
|
*/
|
|
1500
1496
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1501
1497
|
/**
|
|
1502
1498
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1503
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1499
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
|
|
1504
1500
|
*/
|
|
1505
1501
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1506
1502
|
/**
|
|
1507
1503
|
* Enforce a newline after import statements.
|
|
1508
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1504
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
|
|
1509
1505
|
*/
|
|
1510
1506
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1511
1507
|
/**
|
|
1512
1508
|
* Forbid import of modules using absolute paths.
|
|
1513
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1509
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
|
|
1514
1510
|
*/
|
|
1515
1511
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1516
1512
|
/**
|
|
1517
1513
|
* Forbid AMD `require` and `define` calls.
|
|
1518
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1514
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
|
|
1519
1515
|
*/
|
|
1520
1516
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1521
1517
|
/**
|
|
1522
1518
|
* Forbid anonymous values as default exports.
|
|
1523
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1519
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
|
|
1524
1520
|
*/
|
|
1525
1521
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1526
1522
|
/**
|
|
1527
1523
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1528
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1524
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
|
|
1529
1525
|
*/
|
|
1530
1526
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1531
1527
|
/**
|
|
1532
1528
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1533
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1529
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
|
|
1534
1530
|
*/
|
|
1535
1531
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1536
1532
|
/**
|
|
1537
1533
|
* Forbid default exports.
|
|
1538
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1534
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
|
|
1539
1535
|
*/
|
|
1540
1536
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1541
1537
|
/**
|
|
1542
1538
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1543
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1539
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
|
|
1544
1540
|
*/
|
|
1545
1541
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1546
1542
|
/**
|
|
1547
1543
|
* Forbid repeated import of the same module in multiple places.
|
|
1548
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1544
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
|
|
1549
1545
|
*/
|
|
1550
1546
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1551
1547
|
/**
|
|
1552
1548
|
* Forbid `require()` calls with expressions.
|
|
1553
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1549
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
|
|
1554
1550
|
*/
|
|
1555
1551
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1556
1552
|
/**
|
|
1557
1553
|
* Forbid empty named import blocks.
|
|
1558
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1554
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
|
|
1559
1555
|
*/
|
|
1560
1556
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1561
1557
|
/**
|
|
1562
1558
|
* Forbid the use of extraneous packages.
|
|
1563
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1559
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
|
|
1564
1560
|
*/
|
|
1565
1561
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1566
1562
|
/**
|
|
1567
1563
|
* Forbid import statements with CommonJS module.exports.
|
|
1568
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1564
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
|
|
1569
1565
|
*/
|
|
1570
1566
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1571
1567
|
/**
|
|
1572
1568
|
* Forbid importing the submodules of other modules.
|
|
1573
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1569
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
|
|
1574
1570
|
*/
|
|
1575
1571
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1576
1572
|
/**
|
|
1577
1573
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1578
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1574
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
|
|
1579
1575
|
*/
|
|
1580
1576
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1581
1577
|
/**
|
|
1582
1578
|
* Forbid use of exported name as identifier of default export.
|
|
1583
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1579
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
|
|
1584
1580
|
*/
|
|
1585
1581
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1586
1582
|
/**
|
|
1587
1583
|
* Forbid use of exported name as property of default export.
|
|
1588
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1584
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
|
|
1589
1585
|
*/
|
|
1590
1586
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1591
1587
|
/**
|
|
1592
1588
|
* Forbid named default exports.
|
|
1593
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1589
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
|
|
1594
1590
|
*/
|
|
1595
1591
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1596
1592
|
/**
|
|
1597
1593
|
* Forbid named exports.
|
|
1598
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1594
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
|
|
1599
1595
|
*/
|
|
1600
1596
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1601
1597
|
/**
|
|
1602
1598
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1603
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1599
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
|
|
1604
1600
|
*/
|
|
1605
1601
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1606
1602
|
/**
|
|
1607
1603
|
* Forbid Node.js builtin modules.
|
|
1608
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1604
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
|
|
1609
1605
|
*/
|
|
1610
1606
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1611
1607
|
/**
|
|
1612
1608
|
* Forbid importing packages through relative paths.
|
|
1613
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1609
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
|
|
1614
1610
|
*/
|
|
1615
1611
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1616
1612
|
/**
|
|
1617
1613
|
* Forbid importing modules from parent directories.
|
|
1618
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1614
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
|
|
1619
1615
|
*/
|
|
1620
1616
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1621
1617
|
/**
|
|
1622
1618
|
* Forbid importing a default export by a different name.
|
|
1623
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1619
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
|
|
1624
1620
|
*/
|
|
1625
1621
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1626
1622
|
/**
|
|
1627
1623
|
* Enforce which files can be imported in a given folder.
|
|
1628
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1624
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
|
|
1629
1625
|
*/
|
|
1630
1626
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1631
1627
|
/**
|
|
1632
1628
|
* Forbid a module from importing itself.
|
|
1633
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1629
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
|
|
1634
1630
|
*/
|
|
1635
1631
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1636
1632
|
/**
|
|
1637
1633
|
* Forbid unassigned imports.
|
|
1638
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1634
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
|
|
1639
1635
|
*/
|
|
1640
1636
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1641
1637
|
/**
|
|
1642
1638
|
* Ensure imports point to a file/module that can be resolved.
|
|
1643
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1639
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
|
|
1644
1640
|
*/
|
|
1645
1641
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1646
1642
|
/**
|
|
1647
1643
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1648
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1644
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
|
|
1649
1645
|
*/
|
|
1650
1646
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1651
1647
|
/**
|
|
1652
1648
|
* Forbid unnecessary path segments in import and require statements.
|
|
1653
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1649
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
|
|
1654
1650
|
*/
|
|
1655
1651
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1656
1652
|
/**
|
|
1657
1653
|
* Forbid webpack loader syntax in imports.
|
|
1658
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1654
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
|
|
1659
1655
|
*/
|
|
1660
1656
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1661
1657
|
/**
|
|
1662
1658
|
* Enforce a convention in module import order.
|
|
1663
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1659
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
|
|
1664
1660
|
*/
|
|
1665
1661
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1666
1662
|
/**
|
|
1667
1663
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1668
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
|
|
1669
1665
|
*/
|
|
1670
1666
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1667
|
+
/**
|
|
1668
|
+
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
1669
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
|
|
1670
|
+
*/
|
|
1671
|
+
'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>
|
|
1671
1672
|
/**
|
|
1672
1673
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1673
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1674
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
|
|
1674
1675
|
*/
|
|
1675
1676
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1676
1677
|
/**
|
|
@@ -3542,7 +3543,7 @@ export interface RuleOptions {
|
|
|
3542
3543
|
*/
|
|
3543
3544
|
'vue/no-restricted-custom-event'?: Linter.RuleEntry<VueNoRestrictedCustomEvent>
|
|
3544
3545
|
/**
|
|
3545
|
-
* disallow specific
|
|
3546
|
+
* disallow specific elements
|
|
3546
3547
|
* @see https://eslint.vuejs.org/rules/no-restricted-html-elements.html
|
|
3547
3548
|
*/
|
|
3548
3549
|
'vue/no-restricted-html-elements'?: Linter.RuleEntry<VueNoRestrictedHtmlElements>
|
|
@@ -4359,16 +4360,6 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
|
|
|
4359
4360
|
minElements?: number
|
|
4360
4361
|
consistent?: boolean
|
|
4361
4362
|
})
|
|
4362
|
-
TSEnumBody?: (("always" | "never") | {
|
|
4363
|
-
multiline?: boolean
|
|
4364
|
-
minElements?: number
|
|
4365
|
-
consistent?: boolean
|
|
4366
|
-
})
|
|
4367
|
-
TSInterfaceBody?: (("always" | "never") | {
|
|
4368
|
-
multiline?: boolean
|
|
4369
|
-
minElements?: number
|
|
4370
|
-
consistent?: boolean
|
|
4371
|
-
})
|
|
4372
4363
|
TSModuleBlock?: (("always" | "never") | {
|
|
4373
4364
|
multiline?: boolean
|
|
4374
4365
|
minElements?: number
|
|
@@ -4382,14 +4373,6 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
|
|
|
4382
4373
|
type StylisticDotLocation = []|[("object" | "property")]
|
|
4383
4374
|
// ----- @stylistic/eol-last -----
|
|
4384
4375
|
type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
4385
|
-
// ----- @stylistic/func-call-spacing -----
|
|
4386
|
-
type StylisticFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
4387
|
-
allowNewlines?: boolean
|
|
4388
|
-
optionalChain?: {
|
|
4389
|
-
before?: boolean
|
|
4390
|
-
after?: boolean
|
|
4391
|
-
}
|
|
4392
|
-
}])
|
|
4393
4376
|
// ----- @stylistic/function-call-argument-newline -----
|
|
4394
4377
|
type StylisticFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
4395
4378
|
// ----- @stylistic/function-call-spacing -----
|
|
@@ -4430,16 +4413,19 @@ type StylisticIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
4430
4413
|
var?: (number | ("first" | "off"))
|
|
4431
4414
|
let?: (number | ("first" | "off"))
|
|
4432
4415
|
const?: (number | ("first" | "off"))
|
|
4416
|
+
using?: (number | ("first" | "off"))
|
|
4433
4417
|
})
|
|
4434
4418
|
outerIIFEBody?: (number | "off")
|
|
4435
4419
|
MemberExpression?: (number | "off")
|
|
4436
4420
|
FunctionDeclaration?: {
|
|
4437
4421
|
parameters?: (number | ("first" | "off"))
|
|
4438
4422
|
body?: number
|
|
4423
|
+
returnType?: number
|
|
4439
4424
|
}
|
|
4440
4425
|
FunctionExpression?: {
|
|
4441
4426
|
parameters?: (number | ("first" | "off"))
|
|
4442
4427
|
body?: number
|
|
4428
|
+
returnType?: number
|
|
4443
4429
|
}
|
|
4444
4430
|
StaticBlock?: {
|
|
4445
4431
|
body?: number
|
|
@@ -4480,31 +4466,52 @@ type StylisticJsxCurlyNewline = []|[(("consistent" | "never") | {
|
|
|
4480
4466
|
multiline?: ("consistent" | "require" | "forbid")
|
|
4481
4467
|
})]
|
|
4482
4468
|
// ----- @stylistic/jsx-curly-spacing -----
|
|
4483
|
-
type StylisticJsxCurlySpacing = []|[(
|
|
4484
|
-
|
|
4485
|
-
children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean
|
|
4486
|
-
[k: string]: unknown | undefined
|
|
4487
|
-
}) | ("always" | "never"))]|[((_StylisticJsxCurlySpacing_BasicConfig & {
|
|
4488
|
-
attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean
|
|
4489
|
-
children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean
|
|
4490
|
-
[k: string]: unknown | undefined
|
|
4491
|
-
}) | ("always" | "never")), {
|
|
4469
|
+
type StylisticJsxCurlySpacing = []|[({
|
|
4470
|
+
when?: ("always" | "never")
|
|
4492
4471
|
allowMultiline?: boolean
|
|
4493
4472
|
spacing?: {
|
|
4494
4473
|
objectLiterals?: ("always" | "never")
|
|
4495
|
-
[k: string]: unknown | undefined
|
|
4496
4474
|
}
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4475
|
+
attributes?: ({
|
|
4476
|
+
when?: ("always" | "never")
|
|
4477
|
+
allowMultiline?: boolean
|
|
4478
|
+
spacing?: {
|
|
4479
|
+
objectLiterals?: ("always" | "never")
|
|
4480
|
+
}
|
|
4481
|
+
} | boolean)
|
|
4482
|
+
children?: ({
|
|
4483
|
+
when?: ("always" | "never")
|
|
4484
|
+
allowMultiline?: boolean
|
|
4485
|
+
spacing?: {
|
|
4486
|
+
objectLiterals?: ("always" | "never")
|
|
4487
|
+
}
|
|
4488
|
+
} | boolean)
|
|
4489
|
+
} | ("always" | "never"))]|[({
|
|
4500
4490
|
when?: ("always" | "never")
|
|
4501
4491
|
allowMultiline?: boolean
|
|
4502
4492
|
spacing?: {
|
|
4503
4493
|
objectLiterals?: ("always" | "never")
|
|
4504
|
-
[k: string]: unknown | undefined
|
|
4505
4494
|
}
|
|
4506
|
-
|
|
4507
|
-
|
|
4495
|
+
attributes?: ({
|
|
4496
|
+
when?: ("always" | "never")
|
|
4497
|
+
allowMultiline?: boolean
|
|
4498
|
+
spacing?: {
|
|
4499
|
+
objectLiterals?: ("always" | "never")
|
|
4500
|
+
}
|
|
4501
|
+
} | boolean)
|
|
4502
|
+
children?: ({
|
|
4503
|
+
when?: ("always" | "never")
|
|
4504
|
+
allowMultiline?: boolean
|
|
4505
|
+
spacing?: {
|
|
4506
|
+
objectLiterals?: ("always" | "never")
|
|
4507
|
+
}
|
|
4508
|
+
} | boolean)
|
|
4509
|
+
} | ("always" | "never")), {
|
|
4510
|
+
allowMultiline?: boolean
|
|
4511
|
+
spacing?: {
|
|
4512
|
+
objectLiterals?: ("always" | "never")
|
|
4513
|
+
}
|
|
4514
|
+
}]
|
|
4508
4515
|
// ----- @stylistic/jsx-equals-spacing -----
|
|
4509
4516
|
type StylisticJsxEqualsSpacing = []|[("always" | "never")]
|
|
4510
4517
|
// ----- @stylistic/jsx-first-prop-new-line -----
|
|
@@ -4520,14 +4527,12 @@ type StylisticJsxIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
4520
4527
|
type StylisticJsxIndentProps = []|[(("tab" | "first") | number | {
|
|
4521
4528
|
indentMode?: (("tab" | "first") | number)
|
|
4522
4529
|
ignoreTernaryOperator?: boolean
|
|
4523
|
-
[k: string]: unknown | undefined
|
|
4524
4530
|
})]
|
|
4525
4531
|
// ----- @stylistic/jsx-max-props-per-line -----
|
|
4526
4532
|
type StylisticJsxMaxPropsPerLine = []|[({
|
|
4527
4533
|
maximum?: {
|
|
4528
4534
|
single?: number
|
|
4529
4535
|
multi?: number
|
|
4530
|
-
[k: string]: unknown | undefined
|
|
4531
4536
|
}
|
|
4532
4537
|
} | {
|
|
4533
4538
|
maximum?: number
|
|
@@ -4564,7 +4569,8 @@ type StylisticJsxSortProps = []|[{
|
|
|
4564
4569
|
multiline?: ("ignore" | "first" | "last")
|
|
4565
4570
|
ignoreCase?: boolean
|
|
4566
4571
|
noSortAlphabetically?: boolean
|
|
4567
|
-
reservedFirst?: (
|
|
4572
|
+
reservedFirst?: (string[] | boolean)
|
|
4573
|
+
reservedLast?: string[]
|
|
4568
4574
|
locale?: string
|
|
4569
4575
|
}]
|
|
4570
4576
|
// ----- @stylistic/jsx-tag-spacing -----
|
|
@@ -4641,18 +4647,6 @@ type StylisticKeywordSpacing = []|[{
|
|
|
4641
4647
|
before?: boolean
|
|
4642
4648
|
after?: boolean
|
|
4643
4649
|
}
|
|
4644
|
-
as?: {
|
|
4645
|
-
before?: boolean
|
|
4646
|
-
after?: boolean
|
|
4647
|
-
}
|
|
4648
|
-
async?: {
|
|
4649
|
-
before?: boolean
|
|
4650
|
-
after?: boolean
|
|
4651
|
-
}
|
|
4652
|
-
await?: {
|
|
4653
|
-
before?: boolean
|
|
4654
|
-
after?: boolean
|
|
4655
|
-
}
|
|
4656
4650
|
boolean?: {
|
|
4657
4651
|
before?: boolean
|
|
4658
4652
|
after?: boolean
|
|
@@ -4745,18 +4739,10 @@ type StylisticKeywordSpacing = []|[{
|
|
|
4745
4739
|
before?: boolean
|
|
4746
4740
|
after?: boolean
|
|
4747
4741
|
}
|
|
4748
|
-
from?: {
|
|
4749
|
-
before?: boolean
|
|
4750
|
-
after?: boolean
|
|
4751
|
-
}
|
|
4752
4742
|
function?: {
|
|
4753
4743
|
before?: boolean
|
|
4754
4744
|
after?: boolean
|
|
4755
4745
|
}
|
|
4756
|
-
get?: {
|
|
4757
|
-
before?: boolean
|
|
4758
|
-
after?: boolean
|
|
4759
|
-
}
|
|
4760
4746
|
goto?: {
|
|
4761
4747
|
before?: boolean
|
|
4762
4748
|
after?: boolean
|
|
@@ -4789,10 +4775,6 @@ type StylisticKeywordSpacing = []|[{
|
|
|
4789
4775
|
before?: boolean
|
|
4790
4776
|
after?: boolean
|
|
4791
4777
|
}
|
|
4792
|
-
let?: {
|
|
4793
|
-
before?: boolean
|
|
4794
|
-
after?: boolean
|
|
4795
|
-
}
|
|
4796
4778
|
long?: {
|
|
4797
4779
|
before?: boolean
|
|
4798
4780
|
after?: boolean
|
|
@@ -4809,10 +4791,6 @@ type StylisticKeywordSpacing = []|[{
|
|
|
4809
4791
|
before?: boolean
|
|
4810
4792
|
after?: boolean
|
|
4811
4793
|
}
|
|
4812
|
-
of?: {
|
|
4813
|
-
before?: boolean
|
|
4814
|
-
after?: boolean
|
|
4815
|
-
}
|
|
4816
4794
|
package?: {
|
|
4817
4795
|
before?: boolean
|
|
4818
4796
|
after?: boolean
|
|
@@ -4833,14 +4811,6 @@ type StylisticKeywordSpacing = []|[{
|
|
|
4833
4811
|
before?: boolean
|
|
4834
4812
|
after?: boolean
|
|
4835
4813
|
}
|
|
4836
|
-
satisfies?: {
|
|
4837
|
-
before?: boolean
|
|
4838
|
-
after?: boolean
|
|
4839
|
-
}
|
|
4840
|
-
set?: {
|
|
4841
|
-
before?: boolean
|
|
4842
|
-
after?: boolean
|
|
4843
|
-
}
|
|
4844
4814
|
short?: {
|
|
4845
4815
|
before?: boolean
|
|
4846
4816
|
after?: boolean
|
|
@@ -4909,6 +4879,50 @@ type StylisticKeywordSpacing = []|[{
|
|
|
4909
4879
|
before?: boolean
|
|
4910
4880
|
after?: boolean
|
|
4911
4881
|
}
|
|
4882
|
+
accessor?: {
|
|
4883
|
+
before?: boolean
|
|
4884
|
+
after?: boolean
|
|
4885
|
+
}
|
|
4886
|
+
as?: {
|
|
4887
|
+
before?: boolean
|
|
4888
|
+
after?: boolean
|
|
4889
|
+
}
|
|
4890
|
+
async?: {
|
|
4891
|
+
before?: boolean
|
|
4892
|
+
after?: boolean
|
|
4893
|
+
}
|
|
4894
|
+
await?: {
|
|
4895
|
+
before?: boolean
|
|
4896
|
+
after?: boolean
|
|
4897
|
+
}
|
|
4898
|
+
from?: {
|
|
4899
|
+
before?: boolean
|
|
4900
|
+
after?: boolean
|
|
4901
|
+
}
|
|
4902
|
+
get?: {
|
|
4903
|
+
before?: boolean
|
|
4904
|
+
after?: boolean
|
|
4905
|
+
}
|
|
4906
|
+
let?: {
|
|
4907
|
+
before?: boolean
|
|
4908
|
+
after?: boolean
|
|
4909
|
+
}
|
|
4910
|
+
of?: {
|
|
4911
|
+
before?: boolean
|
|
4912
|
+
after?: boolean
|
|
4913
|
+
}
|
|
4914
|
+
satisfies?: {
|
|
4915
|
+
before?: boolean
|
|
4916
|
+
after?: boolean
|
|
4917
|
+
}
|
|
4918
|
+
set?: {
|
|
4919
|
+
before?: boolean
|
|
4920
|
+
after?: boolean
|
|
4921
|
+
}
|
|
4922
|
+
using?: {
|
|
4923
|
+
before?: boolean
|
|
4924
|
+
after?: boolean
|
|
4925
|
+
}
|
|
4912
4926
|
yield?: {
|
|
4913
4927
|
before?: boolean
|
|
4914
4928
|
after?: boolean
|
|
@@ -5083,11 +5097,11 @@ interface _StylisticMemberDelimiterStyle_DelimiterConfig {
|
|
|
5083
5097
|
// ----- @stylistic/multiline-comment-style -----
|
|
5084
5098
|
type StylisticMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
5085
5099
|
checkJSDoc?: boolean
|
|
5100
|
+
checkExclamation?: boolean
|
|
5086
5101
|
}])
|
|
5087
5102
|
// ----- @stylistic/multiline-ternary -----
|
|
5088
5103
|
type StylisticMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
5089
5104
|
ignoreJSX?: boolean
|
|
5090
|
-
[k: string]: unknown | undefined
|
|
5091
5105
|
}]
|
|
5092
5106
|
// ----- @stylistic/new-parens -----
|
|
5093
5107
|
type StylisticNewParens = []|[("always" | "never")]
|
|
@@ -5113,6 +5127,11 @@ type StylisticNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
5113
5127
|
enforceForFunctionPrototypeMethods?: boolean
|
|
5114
5128
|
allowParensAfterCommentPattern?: string
|
|
5115
5129
|
nestedConditionalExpressions?: boolean
|
|
5130
|
+
allowNodesInSpreadElement?: {
|
|
5131
|
+
ConditionalExpression?: boolean
|
|
5132
|
+
LogicalExpression?: boolean
|
|
5133
|
+
AwaitExpression?: boolean
|
|
5134
|
+
}
|
|
5116
5135
|
}])
|
|
5117
5136
|
// ----- @stylistic/no-mixed-operators -----
|
|
5118
5137
|
type StylisticNoMixedOperators = []|[{
|
|
@@ -5190,6 +5209,11 @@ type StylisticObjectCurlyNewline = []|[((("always" | "never") | {
|
|
|
5190
5209
|
minProperties?: number
|
|
5191
5210
|
consistent?: boolean
|
|
5192
5211
|
})
|
|
5212
|
+
TSEnumBody?: (("always" | "never") | {
|
|
5213
|
+
multiline?: boolean
|
|
5214
|
+
minProperties?: number
|
|
5215
|
+
consistent?: boolean
|
|
5216
|
+
})
|
|
5193
5217
|
})]
|
|
5194
5218
|
// ----- @stylistic/object-curly-spacing -----
|
|
5195
5219
|
type StylisticObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -5199,7 +5223,6 @@ type StylisticObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never
|
|
|
5199
5223
|
// ----- @stylistic/object-property-newline -----
|
|
5200
5224
|
type StylisticObjectPropertyNewline = []|[{
|
|
5201
5225
|
allowAllPropertiesOnSameLine?: boolean
|
|
5202
|
-
allowMultiplePropertiesPerLine?: boolean
|
|
5203
5226
|
}]
|
|
5204
5227
|
// ----- @stylistic/one-var-declaration-per-line -----
|
|
5205
5228
|
type StylisticOneVarDeclarationPerLine = []|[("always" | "initializations")]
|
|
@@ -5223,7 +5246,7 @@ type StylisticPaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
|
|
|
5223
5246
|
}]
|
|
5224
5247
|
// ----- @stylistic/padding-line-between-statements -----
|
|
5225
5248
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
5226
|
-
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
5249
|
+
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
5227
5250
|
type StylisticPaddingLineBetweenStatements = {
|
|
5228
5251
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
|
|
5229
5252
|
prev: _StylisticPaddingLineBetweenStatementsStatementType
|
|
@@ -5262,12 +5285,14 @@ type StylisticSpaceBeforeBlocks = []|[(("always" | "never") | {
|
|
|
5262
5285
|
keywords?: ("always" | "never" | "off")
|
|
5263
5286
|
functions?: ("always" | "never" | "off")
|
|
5264
5287
|
classes?: ("always" | "never" | "off")
|
|
5288
|
+
modules?: ("always" | "never" | "off")
|
|
5265
5289
|
})]
|
|
5266
5290
|
// ----- @stylistic/space-before-function-paren -----
|
|
5267
5291
|
type StylisticSpaceBeforeFunctionParen = []|[(("always" | "never") | {
|
|
5268
5292
|
anonymous?: ("always" | "never" | "ignore")
|
|
5269
5293
|
named?: ("always" | "never" | "ignore")
|
|
5270
5294
|
asyncArrow?: ("always" | "never" | "ignore")
|
|
5295
|
+
catch?: ("always" | "never" | "ignore")
|
|
5271
5296
|
})]
|
|
5272
5297
|
// ----- @stylistic/space-in-parens -----
|
|
5273
5298
|
type StylisticSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -5835,6 +5860,8 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
|
5835
5860
|
// ----- @typescript-eslint/no-base-to-string -----
|
|
5836
5861
|
type TypescriptEslintNoBaseToString = []|[{
|
|
5837
5862
|
|
|
5863
|
+
checkUnknown?: boolean
|
|
5864
|
+
|
|
5838
5865
|
ignoredTypeNames?: string[]
|
|
5839
5866
|
}]
|
|
5840
5867
|
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
@@ -6985,6 +7012,10 @@ type ImportOrder = []|[{
|
|
|
6985
7012
|
type ImportPreferDefaultExport = []|[{
|
|
6986
7013
|
target?: ("single" | "any")
|
|
6987
7014
|
}]
|
|
7015
|
+
// ----- import/prefer-namespace-import -----
|
|
7016
|
+
type ImportPreferNamespaceImport = []|[{
|
|
7017
|
+
patterns?: string[]
|
|
7018
|
+
}]
|
|
6988
7019
|
// ----- indent -----
|
|
6989
7020
|
type Indent = []|[("tab" | number)]|[("tab" | number), {
|
|
6990
7021
|
SwitchCase?: number
|
|
@@ -9085,7 +9116,7 @@ type VueNoRestrictedCustomEvent = (string | {
|
|
|
9085
9116
|
})[]
|
|
9086
9117
|
// ----- vue/no-restricted-html-elements -----
|
|
9087
9118
|
type VueNoRestrictedHtmlElements = (string | {
|
|
9088
|
-
element: string
|
|
9119
|
+
element: (string | string[])
|
|
9089
9120
|
message?: string
|
|
9090
9121
|
})[]
|
|
9091
9122
|
// ----- vue/no-restricted-props -----
|