@ntnyq/eslint-config 4.0.4 → 4.2.0
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/dist/index.d.mts +458 -280
- package/dist/index.mjs +66 -32
- package/package.json +27 -27
package/dist/index.d.mts
CHANGED
|
@@ -308,6 +308,10 @@ type ConfigDependOptions = OptionsFiles & OptionsOverrides & {
|
|
|
308
308
|
* @default true
|
|
309
309
|
*/
|
|
310
310
|
packageJson?: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Allowed dependencies
|
|
313
|
+
*/
|
|
314
|
+
allowed?: string[];
|
|
311
315
|
};
|
|
312
316
|
/**
|
|
313
317
|
* Config for optimisations dependency
|
|
@@ -1203,6 +1207,11 @@ interface RuleOptions {
|
|
|
1203
1207
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
1204
1208
|
*/
|
|
1205
1209
|
'@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
1210
|
+
/**
|
|
1211
|
+
* Disallow conversion idioms when they do not change the type or value of the expression
|
|
1212
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-conversion
|
|
1213
|
+
*/
|
|
1214
|
+
'@typescript-eslint/no-unnecessary-type-conversion'?: Linter.RuleEntry<[]>
|
|
1206
1215
|
/**
|
|
1207
1216
|
* Disallow type parameters that aren't used multiple times
|
|
1208
1217
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
@@ -2002,6 +2011,16 @@ interface RuleOptions {
|
|
|
2002
2011
|
* @see https://eslint-plugin-github-action.ntnyq.com/rules/require-job-step-name.html
|
|
2003
2012
|
*/
|
|
2004
2013
|
'github-action/require-job-step-name'?: Linter.RuleEntry<[]>
|
|
2014
|
+
/**
|
|
2015
|
+
* disallow invalid timeout-minutes.
|
|
2016
|
+
* @see https://eslint-plugin-github-action.ntnyq.com/rules/valid-timeout-minutes.html
|
|
2017
|
+
*/
|
|
2018
|
+
'github-action/valid-timeout-minutes'?: Linter.RuleEntry<GithubActionValidTimeoutMinutes>
|
|
2019
|
+
/**
|
|
2020
|
+
* disallow invalid trigger events.
|
|
2021
|
+
* @see https://eslint-plugin-github-action.ntnyq.com/rules/valid-trigger-events.html
|
|
2022
|
+
*/
|
|
2023
|
+
'github-action/valid-trigger-events'?: Linter.RuleEntry<[]>
|
|
2005
2024
|
/**
|
|
2006
2025
|
* Require `require()` calls to be placed at top-level module scope
|
|
2007
2026
|
* @see https://eslint.org/docs/latest/rules/global-require
|
|
@@ -2053,233 +2072,233 @@ interface RuleOptions {
|
|
|
2053
2072
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
2054
2073
|
/**
|
|
2055
2074
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
2056
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2075
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/consistent-type-specifier-style.md
|
|
2057
2076
|
*/
|
|
2058
2077
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
|
|
2059
2078
|
/**
|
|
2060
2079
|
* Ensure a default export is present, given a default import.
|
|
2061
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2080
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/default.md
|
|
2062
2081
|
*/
|
|
2063
2082
|
'import-x/default'?: Linter.RuleEntry<[]>
|
|
2064
2083
|
/**
|
|
2065
2084
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
2066
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2085
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/dynamic-import-chunkname.md
|
|
2067
2086
|
*/
|
|
2068
2087
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
|
|
2069
2088
|
/**
|
|
2070
2089
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
2071
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2090
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/export.md
|
|
2072
2091
|
*/
|
|
2073
2092
|
'import-x/export'?: Linter.RuleEntry<[]>
|
|
2074
2093
|
/**
|
|
2075
2094
|
* Ensure all exports appear after other statements.
|
|
2076
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2095
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/exports-last.md
|
|
2077
2096
|
*/
|
|
2078
2097
|
'import-x/exports-last'?: Linter.RuleEntry<[]>
|
|
2079
2098
|
/**
|
|
2080
2099
|
* Ensure consistent use of file extension within the import path.
|
|
2081
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2100
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/extensions.md
|
|
2082
2101
|
*/
|
|
2083
2102
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
|
|
2084
2103
|
/**
|
|
2085
2104
|
* Ensure all imports appear before other statements.
|
|
2086
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2105
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/first.md
|
|
2087
2106
|
*/
|
|
2088
2107
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>
|
|
2089
2108
|
/**
|
|
2090
2109
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
2091
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2110
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/group-exports.md
|
|
2092
2111
|
*/
|
|
2093
2112
|
'import-x/group-exports'?: Linter.RuleEntry<[]>
|
|
2094
2113
|
/**
|
|
2095
2114
|
* Replaced by `import-x/first`.
|
|
2096
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2115
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/imports-first.md
|
|
2097
2116
|
* @deprecated
|
|
2098
2117
|
*/
|
|
2099
2118
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
|
|
2100
2119
|
/**
|
|
2101
2120
|
* Enforce the maximum number of dependencies a module can have.
|
|
2102
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2121
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/max-dependencies.md
|
|
2103
2122
|
*/
|
|
2104
2123
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
|
|
2105
2124
|
/**
|
|
2106
2125
|
* Ensure named imports correspond to a named export in the remote file.
|
|
2107
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2126
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/named.md
|
|
2108
2127
|
*/
|
|
2109
2128
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>
|
|
2110
2129
|
/**
|
|
2111
2130
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
2112
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2131
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/namespace.md
|
|
2113
2132
|
*/
|
|
2114
2133
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
|
|
2115
2134
|
/**
|
|
2116
2135
|
* Enforce a newline after import statements.
|
|
2117
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2136
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/newline-after-import.md
|
|
2118
2137
|
*/
|
|
2119
2138
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
|
|
2120
2139
|
/**
|
|
2121
2140
|
* Forbid import of modules using absolute paths.
|
|
2122
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2141
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-absolute-path.md
|
|
2123
2142
|
*/
|
|
2124
2143
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
|
|
2125
2144
|
/**
|
|
2126
2145
|
* Forbid AMD `require` and `define` calls.
|
|
2127
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2146
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-amd.md
|
|
2128
2147
|
*/
|
|
2129
2148
|
'import-x/no-amd'?: Linter.RuleEntry<[]>
|
|
2130
2149
|
/**
|
|
2131
2150
|
* Forbid anonymous values as default exports.
|
|
2132
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2151
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-anonymous-default-export.md
|
|
2133
2152
|
*/
|
|
2134
2153
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
|
|
2135
2154
|
/**
|
|
2136
2155
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
2137
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2156
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-commonjs.md
|
|
2138
2157
|
*/
|
|
2139
2158
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
|
|
2140
2159
|
/**
|
|
2141
2160
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
2142
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2161
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-cycle.md
|
|
2143
2162
|
*/
|
|
2144
2163
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
|
|
2145
2164
|
/**
|
|
2146
2165
|
* Forbid default exports.
|
|
2147
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2166
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-default-export.md
|
|
2148
2167
|
*/
|
|
2149
2168
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>
|
|
2150
2169
|
/**
|
|
2151
2170
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
2152
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2171
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-deprecated.md
|
|
2153
2172
|
*/
|
|
2154
2173
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>
|
|
2155
2174
|
/**
|
|
2156
2175
|
* Forbid repeated import of the same module in multiple places.
|
|
2157
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2176
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-duplicates.md
|
|
2158
2177
|
*/
|
|
2159
2178
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
|
|
2160
2179
|
/**
|
|
2161
2180
|
* Forbid `require()` calls with expressions.
|
|
2162
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2181
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-dynamic-require.md
|
|
2163
2182
|
*/
|
|
2164
2183
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
|
|
2165
2184
|
/**
|
|
2166
2185
|
* Forbid empty named import blocks.
|
|
2167
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2186
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-empty-named-blocks.md
|
|
2168
2187
|
*/
|
|
2169
2188
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
2170
2189
|
/**
|
|
2171
2190
|
* Forbid the use of extraneous packages.
|
|
2172
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2191
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-extraneous-dependencies.md
|
|
2173
2192
|
*/
|
|
2174
2193
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
|
|
2175
2194
|
/**
|
|
2176
2195
|
* Forbid import statements with CommonJS module.exports.
|
|
2177
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2196
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-import-module-exports.md
|
|
2178
2197
|
*/
|
|
2179
2198
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
|
|
2180
2199
|
/**
|
|
2181
2200
|
* Forbid importing the submodules of other modules.
|
|
2182
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2201
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-internal-modules.md
|
|
2183
2202
|
*/
|
|
2184
2203
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
|
|
2185
2204
|
/**
|
|
2186
2205
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
2187
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2206
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-mutable-exports.md
|
|
2188
2207
|
*/
|
|
2189
2208
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
2190
2209
|
/**
|
|
2191
2210
|
* Forbid use of exported name as identifier of default export.
|
|
2192
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2211
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default.md
|
|
2193
2212
|
*/
|
|
2194
2213
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
2195
2214
|
/**
|
|
2196
2215
|
* Forbid use of exported name as property of default export.
|
|
2197
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2216
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default-member.md
|
|
2198
2217
|
*/
|
|
2199
2218
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
2200
2219
|
/**
|
|
2201
2220
|
* Forbid named default exports.
|
|
2202
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2221
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-default.md
|
|
2203
2222
|
*/
|
|
2204
2223
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>
|
|
2205
2224
|
/**
|
|
2206
2225
|
* Forbid named exports.
|
|
2207
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2226
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-export.md
|
|
2208
2227
|
*/
|
|
2209
2228
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>
|
|
2210
2229
|
/**
|
|
2211
2230
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
2212
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2231
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-namespace.md
|
|
2213
2232
|
*/
|
|
2214
2233
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
|
|
2215
2234
|
/**
|
|
2216
2235
|
* Forbid Node.js builtin modules.
|
|
2217
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2236
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-nodejs-modules.md
|
|
2218
2237
|
*/
|
|
2219
2238
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
|
|
2220
2239
|
/**
|
|
2221
2240
|
* Forbid importing packages through relative paths.
|
|
2222
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2241
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-packages.md
|
|
2223
2242
|
*/
|
|
2224
2243
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
|
|
2225
2244
|
/**
|
|
2226
2245
|
* Forbid importing modules from parent directories.
|
|
2227
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2246
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-parent-imports.md
|
|
2228
2247
|
*/
|
|
2229
2248
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
|
|
2230
2249
|
/**
|
|
2231
2250
|
* Forbid importing a default export by a different name.
|
|
2232
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2251
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-rename-default.md
|
|
2233
2252
|
*/
|
|
2234
2253
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
|
|
2235
2254
|
/**
|
|
2236
2255
|
* Enforce which files can be imported in a given folder.
|
|
2237
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2256
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-restricted-paths.md
|
|
2238
2257
|
*/
|
|
2239
2258
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
|
|
2240
2259
|
/**
|
|
2241
2260
|
* Forbid a module from importing itself.
|
|
2242
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2261
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-self-import.md
|
|
2243
2262
|
*/
|
|
2244
2263
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>
|
|
2245
2264
|
/**
|
|
2246
2265
|
* Forbid unassigned imports.
|
|
2247
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2266
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unassigned-import.md
|
|
2248
2267
|
*/
|
|
2249
2268
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
|
|
2250
2269
|
/**
|
|
2251
2270
|
* Ensure imports point to a file/module that can be resolved.
|
|
2252
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2271
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unresolved.md
|
|
2253
2272
|
*/
|
|
2254
2273
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
|
|
2255
2274
|
/**
|
|
2256
2275
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
2257
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2276
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unused-modules.md
|
|
2258
2277
|
*/
|
|
2259
2278
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
|
|
2260
2279
|
/**
|
|
2261
2280
|
* Forbid unnecessary path segments in import and require statements.
|
|
2262
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2281
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-useless-path-segments.md
|
|
2263
2282
|
*/
|
|
2264
2283
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
|
|
2265
2284
|
/**
|
|
2266
2285
|
* Forbid webpack loader syntax in imports.
|
|
2267
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2286
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-webpack-loader-syntax.md
|
|
2268
2287
|
*/
|
|
2269
2288
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
2270
2289
|
/**
|
|
2271
2290
|
* Enforce a convention in module import order.
|
|
2272
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2291
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/order.md
|
|
2273
2292
|
*/
|
|
2274
2293
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>
|
|
2275
2294
|
/**
|
|
2276
2295
|
* Prefer a default export if module exports a single name or multiple names.
|
|
2277
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2296
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/prefer-default-export.md
|
|
2278
2297
|
*/
|
|
2279
2298
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
|
|
2280
2299
|
/**
|
|
2281
2300
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
2282
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
2301
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/unambiguous.md
|
|
2283
2302
|
*/
|
|
2284
2303
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>
|
|
2285
2304
|
/**
|
|
@@ -2859,30 +2878,37 @@ interface RuleOptions {
|
|
|
2859
2878
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
2860
2879
|
/**
|
|
2861
2880
|
* Require languages for fenced code blocks
|
|
2881
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
2862
2882
|
*/
|
|
2863
2883
|
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
|
|
2864
2884
|
/**
|
|
2865
2885
|
* Enforce heading levels increment by one
|
|
2886
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
2866
2887
|
*/
|
|
2867
2888
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
2868
2889
|
/**
|
|
2869
2890
|
* Disallow duplicate headings in the same document
|
|
2891
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
2870
2892
|
*/
|
|
2871
2893
|
'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
|
|
2872
2894
|
/**
|
|
2873
2895
|
* Disallow empty links
|
|
2896
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
2874
2897
|
*/
|
|
2875
2898
|
'markdown/no-empty-links'?: Linter.RuleEntry<[]>
|
|
2876
2899
|
/**
|
|
2877
2900
|
* Disallow HTML tags
|
|
2901
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
|
|
2878
2902
|
*/
|
|
2879
2903
|
'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
|
|
2880
2904
|
/**
|
|
2881
2905
|
* Disallow invalid label references
|
|
2906
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
2882
2907
|
*/
|
|
2883
2908
|
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
2884
2909
|
/**
|
|
2885
2910
|
* Disallow missing label references
|
|
2911
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
2886
2912
|
*/
|
|
2887
2913
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
2888
2914
|
/**
|
|
@@ -3568,7 +3594,7 @@ interface RuleOptions {
|
|
|
3568
3594
|
* Disallow identifiers from shadowing restricted names
|
|
3569
3595
|
* @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
|
|
3570
3596
|
*/
|
|
3571
|
-
'no-shadow-restricted-names'?: Linter.RuleEntry<
|
|
3597
|
+
'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
|
|
3572
3598
|
/**
|
|
3573
3599
|
* Disallow spacing between function identifiers and their applications (deprecated)
|
|
3574
3600
|
* @see https://eslint.org/docs/latest/rules/no-spaced-func
|
|
@@ -4967,643 +4993,670 @@ interface RuleOptions {
|
|
|
4967
4993
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4968
4994
|
/**
|
|
4969
4995
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4970
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
|
|
4971
4997
|
*/
|
|
4972
4998
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4973
4999
|
/**
|
|
4974
5000
|
* Enforce a specific parameter name in catch clauses.
|
|
4975
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
|
|
4976
5002
|
*/
|
|
4977
5003
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4978
5004
|
/**
|
|
4979
5005
|
* Enforce consistent assertion style with `node:assert`.
|
|
4980
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
|
|
4981
5007
|
*/
|
|
4982
5008
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
4983
5009
|
/**
|
|
4984
5010
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4985
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
|
|
4986
5012
|
*/
|
|
4987
5013
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
4988
5014
|
/**
|
|
4989
5015
|
* Use destructured variables over properties.
|
|
4990
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
|
|
4991
5017
|
*/
|
|
4992
5018
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4993
5019
|
/**
|
|
4994
5020
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4995
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4996
5022
|
*/
|
|
4997
5023
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4998
5024
|
/**
|
|
4999
5025
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5000
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
|
|
5001
5027
|
*/
|
|
5002
5028
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5003
5029
|
/**
|
|
5004
5030
|
* Move function definitions to the highest possible scope.
|
|
5005
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
|
|
5006
5032
|
*/
|
|
5007
5033
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5008
5034
|
/**
|
|
5009
5035
|
* Enforce correct `Error` subclassing.
|
|
5010
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
|
|
5011
5037
|
*/
|
|
5012
5038
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5013
5039
|
/**
|
|
5014
5040
|
* Enforce no spaces between braces.
|
|
5015
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
|
|
5016
5042
|
*/
|
|
5017
5043
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5018
5044
|
/**
|
|
5019
5045
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5020
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
|
|
5021
5047
|
*/
|
|
5022
5048
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5023
5049
|
/**
|
|
5024
5050
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5025
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
|
|
5026
5052
|
*/
|
|
5027
5053
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
5028
5054
|
/**
|
|
5029
5055
|
* Add expiration conditions to TODO comments.
|
|
5030
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
|
|
5031
5057
|
*/
|
|
5032
5058
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5033
5059
|
/**
|
|
5034
5060
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5035
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
|
|
5036
5062
|
*/
|
|
5037
5063
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5038
5064
|
/**
|
|
5039
5065
|
* Enforce a case style for filenames.
|
|
5040
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
|
|
5041
5067
|
*/
|
|
5042
5068
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5043
5069
|
/**
|
|
5044
5070
|
* Enforce specific import styles per module.
|
|
5045
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
|
|
5046
5072
|
*/
|
|
5047
5073
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5048
5074
|
/**
|
|
5049
5075
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
|
|
5051
5077
|
*/
|
|
5052
5078
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5053
5079
|
/**
|
|
5054
5080
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5055
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
5056
5082
|
*/
|
|
5057
5083
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5058
5084
|
/**
|
|
5059
5085
|
* Disallow recursive access to `this` within getters and setters.
|
|
5060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
|
|
5061
5087
|
*/
|
|
5062
5088
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
5063
5089
|
/**
|
|
5064
5090
|
* Disallow anonymous functions and classes as the default export.
|
|
5065
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
|
|
5066
5092
|
*/
|
|
5067
5093
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5068
5094
|
/**
|
|
5069
5095
|
* Prevent passing a function reference directly to iterator methods.
|
|
5070
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
|
|
5071
5097
|
*/
|
|
5072
5098
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5073
5099
|
/**
|
|
5074
5100
|
* Prefer `for…of` over the `forEach` method.
|
|
5075
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
|
|
5076
5102
|
*/
|
|
5077
5103
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5078
5104
|
/**
|
|
5079
5105
|
* Disallow using the `this` argument in array methods.
|
|
5080
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
|
|
5081
5107
|
*/
|
|
5082
5108
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5083
5109
|
/**
|
|
5084
|
-
*
|
|
5085
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5110
|
+
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
|
|
5112
|
+
* @deprecated
|
|
5086
5113
|
*/
|
|
5087
|
-
'unicorn/no-array-push-push'?: Linter.RuleEntry<
|
|
5114
|
+
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
5088
5115
|
/**
|
|
5089
5116
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5090
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5117
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
|
|
5091
5118
|
*/
|
|
5092
5119
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5093
5120
|
/**
|
|
5094
5121
|
* Disallow member access from await expression.
|
|
5095
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
|
|
5096
5123
|
*/
|
|
5097
5124
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5098
5125
|
/**
|
|
5099
5126
|
* Disallow using `await` in `Promise` method parameters.
|
|
5100
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5127
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
|
|
5101
5128
|
*/
|
|
5102
5129
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5103
5130
|
/**
|
|
5104
5131
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5105
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5132
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
|
|
5106
5133
|
*/
|
|
5107
5134
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5108
5135
|
/**
|
|
5109
5136
|
* Do not use `document.cookie` directly.
|
|
5110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
|
|
5111
5138
|
*/
|
|
5112
5139
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5113
5140
|
/**
|
|
5114
5141
|
* Disallow empty files.
|
|
5115
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
|
|
5116
5143
|
*/
|
|
5117
5144
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5118
5145
|
/**
|
|
5119
5146
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
|
|
5121
5148
|
*/
|
|
5122
5149
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5123
5150
|
/**
|
|
5124
5151
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
|
|
5126
5153
|
*/
|
|
5127
5154
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5128
5155
|
/**
|
|
5129
5156
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5130
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
|
|
5131
5158
|
* @deprecated
|
|
5132
5159
|
*/
|
|
5133
5160
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5134
5161
|
/**
|
|
5135
5162
|
* Disallow `instanceof` with built-in objects
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
|
|
5137
5164
|
*/
|
|
5138
5165
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
5139
5166
|
/**
|
|
5140
5167
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5168
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
|
|
5142
5169
|
*/
|
|
5143
5170
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5144
5171
|
/**
|
|
5145
5172
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5173
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
5147
5174
|
*/
|
|
5148
5175
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5149
5176
|
/**
|
|
5150
5177
|
* Disallow identifiers starting with `new` or `class`.
|
|
5151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5178
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
|
|
5152
5179
|
*/
|
|
5153
5180
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5154
5181
|
/**
|
|
5155
|
-
*
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5182
|
+
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5183
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5184
|
+
* @deprecated
|
|
5157
5185
|
*/
|
|
5158
5186
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5159
5187
|
/**
|
|
5160
5188
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
|
|
5162
5190
|
*/
|
|
5163
5191
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5164
5192
|
/**
|
|
5165
5193
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
5167
5195
|
*/
|
|
5168
5196
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5169
5197
|
/**
|
|
5170
5198
|
* Disallow named usage of default import and export.
|
|
5171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
|
|
5172
5200
|
*/
|
|
5173
5201
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
5174
5202
|
/**
|
|
5175
5203
|
* Disallow negated conditions.
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
|
|
5177
5205
|
*/
|
|
5178
5206
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5179
5207
|
/**
|
|
5180
5208
|
* Disallow negated expression in equality check.
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
|
|
5182
5210
|
*/
|
|
5183
5211
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5184
5212
|
/**
|
|
5185
5213
|
* Disallow nested ternary expressions.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
|
|
5187
5215
|
*/
|
|
5188
5216
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5189
5217
|
/**
|
|
5190
5218
|
* Disallow `new Array()`.
|
|
5191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
|
|
5192
5220
|
*/
|
|
5193
5221
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5194
5222
|
/**
|
|
5195
5223
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
|
|
5197
5225
|
*/
|
|
5198
5226
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5199
5227
|
/**
|
|
5200
5228
|
* Disallow the use of the `null` literal.
|
|
5201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
|
|
5202
5230
|
*/
|
|
5203
5231
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5204
5232
|
/**
|
|
5205
5233
|
* Disallow the use of objects as default parameters.
|
|
5206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
|
|
5207
5235
|
*/
|
|
5208
5236
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5209
5237
|
/**
|
|
5210
5238
|
* Disallow `process.exit()`.
|
|
5211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
|
|
5212
5240
|
*/
|
|
5213
5241
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5214
5242
|
/**
|
|
5215
5243
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
5217
5245
|
*/
|
|
5218
5246
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5219
5247
|
/**
|
|
5220
5248
|
* Disallow classes that only have static members.
|
|
5221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
|
|
5222
5250
|
*/
|
|
5223
5251
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5224
5252
|
/**
|
|
5225
5253
|
* Disallow `then` property.
|
|
5226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
|
|
5227
5255
|
*/
|
|
5228
5256
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5229
5257
|
/**
|
|
5230
5258
|
* Disallow assigning `this` to a variable.
|
|
5231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
|
|
5232
5260
|
*/
|
|
5233
5261
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5234
5262
|
/**
|
|
5235
5263
|
* Disallow comparing `undefined` using `typeof`.
|
|
5236
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
|
|
5237
5265
|
*/
|
|
5238
5266
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5267
|
+
/**
|
|
5268
|
+
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5270
|
+
*/
|
|
5271
|
+
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5272
|
+
/**
|
|
5273
|
+
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
|
|
5275
|
+
*/
|
|
5276
|
+
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
5239
5277
|
/**
|
|
5240
5278
|
* Disallow awaiting non-promise values.
|
|
5241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
|
|
5242
5280
|
*/
|
|
5243
5281
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5244
5282
|
/**
|
|
5245
5283
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5246
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5247
5285
|
*/
|
|
5248
5286
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5287
|
+
/**
|
|
5288
|
+
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
|
|
5290
|
+
*/
|
|
5291
|
+
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
5249
5292
|
/**
|
|
5250
5293
|
* Disallow unreadable array destructuring.
|
|
5251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5252
5295
|
*/
|
|
5253
5296
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5254
5297
|
/**
|
|
5255
5298
|
* Disallow unreadable IIFEs.
|
|
5256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
|
|
5257
5300
|
*/
|
|
5258
5301
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5259
5302
|
/**
|
|
5260
5303
|
* Disallow unused object properties.
|
|
5261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
|
|
5262
5305
|
*/
|
|
5263
5306
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5264
5307
|
/**
|
|
5265
5308
|
* Disallow useless fallback when spreading in object literals.
|
|
5266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5267
5310
|
*/
|
|
5268
5311
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5269
5312
|
/**
|
|
5270
5313
|
* Disallow useless array length check.
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
|
|
5272
5315
|
*/
|
|
5273
5316
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5274
5317
|
/**
|
|
5275
5318
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
5277
5320
|
*/
|
|
5278
5321
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5279
5322
|
/**
|
|
5280
5323
|
* Disallow unnecessary spread.
|
|
5281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
|
|
5282
5325
|
*/
|
|
5283
5326
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5284
5327
|
/**
|
|
5285
5328
|
* Disallow useless case in switch statements.
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
|
|
5287
5330
|
*/
|
|
5288
5331
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5289
5332
|
/**
|
|
5290
5333
|
* Disallow useless `undefined`.
|
|
5291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
|
|
5292
5335
|
*/
|
|
5293
5336
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5294
5337
|
/**
|
|
5295
5338
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
|
|
5297
5340
|
*/
|
|
5298
5341
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5299
5342
|
/**
|
|
5300
5343
|
* Enforce proper case for numeric literals.
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
|
|
5302
5345
|
*/
|
|
5303
5346
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
5304
5347
|
/**
|
|
5305
5348
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
|
|
5307
5350
|
*/
|
|
5308
5351
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5309
5352
|
/**
|
|
5310
5353
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
|
|
5312
5355
|
*/
|
|
5313
5356
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5314
5357
|
/**
|
|
5315
5358
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
|
|
5317
5360
|
*/
|
|
5318
5361
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5319
5362
|
/**
|
|
5320
5363
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
|
|
5322
5365
|
*/
|
|
5323
5366
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5324
5367
|
/**
|
|
5325
5368
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
|
|
5327
5370
|
*/
|
|
5328
5371
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5329
5372
|
/**
|
|
5330
5373
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
|
|
5332
5375
|
*/
|
|
5333
5376
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5334
5377
|
/**
|
|
5335
5378
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
|
|
5337
5380
|
*/
|
|
5338
5381
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5339
5382
|
/**
|
|
5340
5383
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
|
|
5342
5385
|
*/
|
|
5343
5386
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5344
5387
|
/**
|
|
5345
5388
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
5347
5390
|
*/
|
|
5348
5391
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5349
5392
|
/**
|
|
5350
5393
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
|
|
5352
5395
|
*/
|
|
5353
5396
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5354
5397
|
/**
|
|
5355
5398
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
|
|
5357
5400
|
*/
|
|
5358
5401
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5359
5402
|
/**
|
|
5360
5403
|
* Prefer default parameters over reassignment.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
|
|
5362
5405
|
*/
|
|
5363
5406
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5364
5407
|
/**
|
|
5365
5408
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5409
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
|
|
5367
5410
|
*/
|
|
5368
5411
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5369
5412
|
/**
|
|
5370
5413
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5414
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
5372
5415
|
*/
|
|
5373
5416
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5374
5417
|
/**
|
|
5375
5418
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
|
|
5377
5420
|
*/
|
|
5378
5421
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5379
5422
|
/**
|
|
5380
5423
|
* Prefer `.textContent` over `.innerText`.
|
|
5381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
5382
5425
|
*/
|
|
5383
5426
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5384
5427
|
/**
|
|
5385
5428
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
|
|
5387
5430
|
*/
|
|
5388
5431
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5389
5432
|
/**
|
|
5390
5433
|
* Prefer `export…from` when re-exporting.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
|
|
5392
5435
|
*/
|
|
5393
5436
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5394
5437
|
/**
|
|
5395
5438
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
|
|
5397
5440
|
*/
|
|
5398
5441
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5442
|
+
/**
|
|
5443
|
+
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
|
|
5445
|
+
*/
|
|
5446
|
+
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
5399
5447
|
/**
|
|
5400
5448
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
|
|
5402
5450
|
*/
|
|
5403
5451
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5404
5452
|
/**
|
|
5405
5453
|
* Prefer reading a JSON file as a buffer.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
5407
5455
|
*/
|
|
5408
5456
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5409
5457
|
/**
|
|
5410
5458
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
5412
5460
|
*/
|
|
5413
5461
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5414
5462
|
/**
|
|
5415
5463
|
* Prefer using a logical operator over a ternary.
|
|
5416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5417
5465
|
*/
|
|
5418
5466
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5419
5467
|
/**
|
|
5420
5468
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
|
|
5422
5470
|
*/
|
|
5423
5471
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5424
5472
|
/**
|
|
5425
5473
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
|
|
5427
5475
|
*/
|
|
5428
5476
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5429
5477
|
/**
|
|
5430
5478
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
5432
5480
|
*/
|
|
5433
5481
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5434
5482
|
/**
|
|
5435
5483
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
|
|
5437
5485
|
*/
|
|
5438
5486
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5439
5487
|
/**
|
|
5440
5488
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
|
|
5442
5490
|
*/
|
|
5443
5491
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5444
5492
|
/**
|
|
5445
5493
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5494
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
5447
5495
|
*/
|
|
5448
5496
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5449
5497
|
/**
|
|
5450
5498
|
* Prefer negative index over `.length - index` when possible.
|
|
5451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5499
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
|
|
5452
5500
|
*/
|
|
5453
5501
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5454
5502
|
/**
|
|
5455
5503
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5504
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
|
|
5457
5505
|
*/
|
|
5458
5506
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5459
5507
|
/**
|
|
5460
5508
|
* Prefer `Number` static properties over global ones.
|
|
5461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
|
|
5462
5510
|
*/
|
|
5463
5511
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5464
5512
|
/**
|
|
5465
5513
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
|
|
5467
5515
|
*/
|
|
5468
5516
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5469
5517
|
/**
|
|
5470
5518
|
* Prefer omitting the `catch` binding parameter.
|
|
5471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5472
5520
|
*/
|
|
5473
5521
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5474
5522
|
/**
|
|
5475
5523
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
|
|
5477
5525
|
*/
|
|
5478
5526
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5479
5527
|
/**
|
|
5480
5528
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
|
|
5482
5530
|
*/
|
|
5483
5531
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5484
5532
|
/**
|
|
5485
5533
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
|
|
5487
5535
|
*/
|
|
5488
5536
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5489
5537
|
/**
|
|
5490
5538
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
|
|
5492
5540
|
*/
|
|
5493
5541
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5494
5542
|
/**
|
|
5495
5543
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5544
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
|
|
5497
5545
|
*/
|
|
5498
5546
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5499
5547
|
/**
|
|
5500
5548
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5549
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
|
|
5502
5550
|
*/
|
|
5503
5551
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5552
|
+
/**
|
|
5553
|
+
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5554
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
|
|
5555
|
+
*/
|
|
5556
|
+
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
5504
5557
|
/**
|
|
5505
5558
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5559
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
|
|
5507
5560
|
*/
|
|
5508
5561
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5509
5562
|
/**
|
|
5510
5563
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5564
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
|
|
5512
5565
|
*/
|
|
5513
5566
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5514
5567
|
/**
|
|
5515
5568
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5516
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5569
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
|
|
5517
5570
|
*/
|
|
5518
5571
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5519
5572
|
/**
|
|
5520
5573
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
|
|
5522
5575
|
*/
|
|
5523
5576
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5524
5577
|
/**
|
|
5525
5578
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5527
5580
|
*/
|
|
5528
5581
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5529
5582
|
/**
|
|
5530
5583
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5584
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5532
5585
|
*/
|
|
5533
5586
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5534
5587
|
/**
|
|
5535
5588
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5589
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
|
|
5537
5590
|
*/
|
|
5538
5591
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5539
5592
|
/**
|
|
5540
5593
|
* Prefer `switch` over multiple `else-if`.
|
|
5541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5594
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
|
|
5542
5595
|
*/
|
|
5543
5596
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5544
5597
|
/**
|
|
5545
5598
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5599
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
|
|
5547
5600
|
*/
|
|
5548
5601
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5549
5602
|
/**
|
|
5550
5603
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5604
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
|
|
5552
5605
|
*/
|
|
5553
5606
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5554
5607
|
/**
|
|
5555
5608
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5609
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
|
|
5557
5610
|
*/
|
|
5558
5611
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5559
5612
|
/**
|
|
5560
5613
|
* Prevent abbreviations.
|
|
5561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5614
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
|
|
5562
5615
|
*/
|
|
5563
5616
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5564
5617
|
/**
|
|
5565
5618
|
* Enforce consistent relative URL style.
|
|
5566
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5619
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
|
|
5567
5620
|
*/
|
|
5568
5621
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5569
5622
|
/**
|
|
5570
5623
|
* Enforce using the separator argument with `Array#join()`.
|
|
5571
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5624
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
|
|
5572
5625
|
*/
|
|
5573
5626
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5574
5627
|
/**
|
|
5575
5628
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5577
5630
|
*/
|
|
5578
5631
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5579
5632
|
/**
|
|
5580
5633
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5581
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5634
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
|
|
5582
5635
|
*/
|
|
5583
5636
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5584
5637
|
/**
|
|
5585
5638
|
* Enforce better string content.
|
|
5586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5639
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
|
|
5587
5640
|
*/
|
|
5588
5641
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5589
5642
|
/**
|
|
5590
5643
|
* Enforce consistent brace style for `case` clauses.
|
|
5591
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5644
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
|
|
5592
5645
|
*/
|
|
5593
5646
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5594
5647
|
/**
|
|
5595
5648
|
* Fix whitespace-insensitive template indentation.
|
|
5596
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5649
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
|
|
5597
5650
|
*/
|
|
5598
5651
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5599
5652
|
/**
|
|
5600
5653
|
* Enforce consistent case for text encoding identifiers.
|
|
5601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5654
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
|
|
5602
5655
|
*/
|
|
5603
5656
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5604
5657
|
/**
|
|
5605
5658
|
* Require `new` when creating an error.
|
|
5606
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5659
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
|
|
5607
5660
|
*/
|
|
5608
5661
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5609
5662
|
/**
|
|
@@ -5768,7 +5821,7 @@ interface RuleOptions {
|
|
|
5768
5821
|
*/
|
|
5769
5822
|
'vitest/no-standalone-expect'?: Linter.RuleEntry<VitestNoStandaloneExpect>
|
|
5770
5823
|
/**
|
|
5771
|
-
*
|
|
5824
|
+
* Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
|
|
5772
5825
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
5773
5826
|
*/
|
|
5774
5827
|
'vitest/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
@@ -6097,6 +6150,11 @@ interface RuleOptions {
|
|
|
6097
6150
|
* @see https://eslint.vuejs.org/rules/define-props-declaration.html
|
|
6098
6151
|
*/
|
|
6099
6152
|
'vue/define-props-declaration'?: Linter.RuleEntry<VueDefinePropsDeclaration>
|
|
6153
|
+
/**
|
|
6154
|
+
* enforce consistent style for props destructuring
|
|
6155
|
+
* @see https://eslint.vuejs.org/rules/define-props-destructuring.html
|
|
6156
|
+
*/
|
|
6157
|
+
'vue/define-props-destructuring'?: Linter.RuleEntry<VueDefinePropsDestructuring>
|
|
6100
6158
|
/**
|
|
6101
6159
|
* Enforce consistent newlines before and after dots in `<template>`
|
|
6102
6160
|
* @see https://eslint.vuejs.org/rules/dot-location.html
|
|
@@ -6501,7 +6559,7 @@ interface RuleOptions {
|
|
|
6501
6559
|
* disallow adding multiple root nodes to the template
|
|
6502
6560
|
* @see https://eslint.vuejs.org/rules/no-multiple-template-root.html
|
|
6503
6561
|
*/
|
|
6504
|
-
'vue/no-multiple-template-root'?: Linter.RuleEntry<
|
|
6562
|
+
'vue/no-multiple-template-root'?: Linter.RuleEntry<VueNoMultipleTemplateRoot>
|
|
6505
6563
|
/**
|
|
6506
6564
|
* disallow mutation of component props
|
|
6507
6565
|
* @see https://eslint.vuejs.org/rules/no-mutating-props.html
|
|
@@ -8195,6 +8253,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
8195
8253
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
8196
8254
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
8197
8255
|
|
|
8256
|
+
checkLiteralConstAssertions?: boolean
|
|
8257
|
+
|
|
8198
8258
|
typesToIgnore?: string[]
|
|
8199
8259
|
}]
|
|
8200
8260
|
// ----- @typescript-eslint/no-unused-expressions -----
|
|
@@ -8203,6 +8263,7 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
8203
8263
|
allowTernary?: boolean
|
|
8204
8264
|
allowTaggedTemplates?: boolean
|
|
8205
8265
|
enforceForJSX?: boolean
|
|
8266
|
+
ignoreDirectives?: boolean
|
|
8206
8267
|
}]
|
|
8207
8268
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
8208
8269
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -8265,6 +8326,8 @@ type TypescriptEslintOnlyThrowError = []|[{
|
|
|
8265
8326
|
package: string
|
|
8266
8327
|
})[]
|
|
8267
8328
|
|
|
8329
|
+
allowRethrowing?: boolean
|
|
8330
|
+
|
|
8268
8331
|
allowThrowingAny?: boolean
|
|
8269
8332
|
|
|
8270
8333
|
allowThrowingUnknown?: boolean
|
|
@@ -8836,7 +8899,17 @@ type GetterReturn = []|[{
|
|
|
8836
8899
|
allowImplicit?: boolean
|
|
8837
8900
|
}]
|
|
8838
8901
|
// ----- github-action/action-name-casing -----
|
|
8839
|
-
type GithubActionActionNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase" | "snake_case" | "Title Case" | "Train-Case" | "SCREAMING_SNAKE_CASE")
|
|
8902
|
+
type GithubActionActionNameCasing = []|[(("camelCase" | "kebab-case" | "PascalCase" | "snake_case" | "Title Case" | "Train-Case" | "SCREAMING_SNAKE_CASE") | {
|
|
8903
|
+
"kebab-case"?: boolean
|
|
8904
|
+
camelCase?: boolean
|
|
8905
|
+
PascalCase?: boolean
|
|
8906
|
+
snake_case?: boolean
|
|
8907
|
+
"Title Case"?: boolean
|
|
8908
|
+
"Train-Case"?: boolean
|
|
8909
|
+
SCREAMING_SNAKE_CASE?: boolean
|
|
8910
|
+
|
|
8911
|
+
ignores?: string[]
|
|
8912
|
+
})]
|
|
8840
8913
|
// ----- github-action/job-id-casing -----
|
|
8841
8914
|
type GithubActionJobIdCasing = []|[(("camelCase" | "kebab-case" | "PascalCase" | "snake_case" | "Train-Case" | "SCREAMING_SNAKE_CASE") | {
|
|
8842
8915
|
"kebab-case"?: boolean
|
|
@@ -8865,6 +8938,26 @@ type GithubActionPreferStepUsesStyle = []|[(("release" | "commit" | "branch") |
|
|
|
8865
8938
|
|
|
8866
8939
|
ignores?: string[]
|
|
8867
8940
|
})]
|
|
8941
|
+
// ----- github-action/valid-timeout-minutes -----
|
|
8942
|
+
type GithubActionValidTimeoutMinutes = []|[(number | {
|
|
8943
|
+
|
|
8944
|
+
min?: number
|
|
8945
|
+
|
|
8946
|
+
max?: number
|
|
8947
|
+
} | {
|
|
8948
|
+
job?: (number | {
|
|
8949
|
+
|
|
8950
|
+
min?: number
|
|
8951
|
+
|
|
8952
|
+
max?: number
|
|
8953
|
+
})
|
|
8954
|
+
step?: (number | {
|
|
8955
|
+
|
|
8956
|
+
min?: number
|
|
8957
|
+
|
|
8958
|
+
max?: number
|
|
8959
|
+
})
|
|
8960
|
+
})]
|
|
8868
8961
|
// ----- grouped-accessor-pairs -----
|
|
8869
8962
|
type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
8870
8963
|
// ----- handle-callback-err -----
|
|
@@ -10489,7 +10582,7 @@ type NoEmpty = []|[{
|
|
|
10489
10582
|
}]
|
|
10490
10583
|
// ----- no-empty-function -----
|
|
10491
10584
|
type NoEmptyFunction = []|[{
|
|
10492
|
-
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
|
|
10585
|
+
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
|
|
10493
10586
|
}]
|
|
10494
10587
|
// ----- no-empty-pattern -----
|
|
10495
10588
|
type NoEmptyPattern = []|[{
|
|
@@ -10698,13 +10791,9 @@ type NoRestrictedModules = ((string | {
|
|
|
10698
10791
|
}[])
|
|
10699
10792
|
// ----- no-restricted-properties -----
|
|
10700
10793
|
type NoRestrictedProperties = ({
|
|
10701
|
-
|
|
10702
|
-
property?: string
|
|
10703
|
-
message?: string
|
|
10794
|
+
[k: string]: unknown | undefined
|
|
10704
10795
|
} | {
|
|
10705
|
-
|
|
10706
|
-
property: string
|
|
10707
|
-
message?: string
|
|
10796
|
+
[k: string]: unknown | undefined
|
|
10708
10797
|
})[]
|
|
10709
10798
|
// ----- no-restricted-syntax -----
|
|
10710
10799
|
type NoRestrictedSyntax = (string | {
|
|
@@ -10728,6 +10817,10 @@ type NoShadow = []|[{
|
|
|
10728
10817
|
allow?: string[]
|
|
10729
10818
|
ignoreOnInitialization?: boolean
|
|
10730
10819
|
}]
|
|
10820
|
+
// ----- no-shadow-restricted-names -----
|
|
10821
|
+
type NoShadowRestrictedNames = []|[{
|
|
10822
|
+
reportGlobalThis?: boolean
|
|
10823
|
+
}]
|
|
10731
10824
|
// ----- no-sync -----
|
|
10732
10825
|
type NoSync = []|[{
|
|
10733
10826
|
allowAtRootLevel?: boolean
|
|
@@ -10779,6 +10872,7 @@ type NoUnusedExpressions = []|[{
|
|
|
10779
10872
|
allowTernary?: boolean
|
|
10780
10873
|
allowTaggedTemplates?: boolean
|
|
10781
10874
|
enforceForJSX?: boolean
|
|
10875
|
+
ignoreDirectives?: boolean
|
|
10782
10876
|
}]
|
|
10783
10877
|
// ----- no-unused-vars -----
|
|
10784
10878
|
type NoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -11831,91 +11925,10 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
11831
11925
|
})[]
|
|
11832
11926
|
}]
|
|
11833
11927
|
// ----- perfectionist/sort-imports -----
|
|
11834
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
11835
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
11836
|
-
|
|
11837
|
-
fallbackSort?: {
|
|
11838
|
-
|
|
11839
|
-
order?: ("asc" | "desc")
|
|
11840
|
-
|
|
11841
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11842
|
-
[k: string]: unknown | undefined
|
|
11843
|
-
}
|
|
11844
|
-
|
|
11845
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11846
|
-
|
|
11847
|
-
ignoreCase?: boolean
|
|
11848
|
-
|
|
11849
|
-
alphabet?: string
|
|
11850
|
-
|
|
11851
|
-
locales?: (string | string[])
|
|
11852
|
-
|
|
11853
|
-
order?: ("asc" | "desc")
|
|
11854
|
-
|
|
11855
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11856
|
-
|
|
11857
|
-
customGroups?: {
|
|
11858
|
-
|
|
11859
|
-
value?: {
|
|
11860
|
-
[k: string]: unknown | undefined
|
|
11861
|
-
}
|
|
11862
|
-
|
|
11863
|
-
type?: {
|
|
11864
|
-
[k: string]: unknown | undefined
|
|
11865
|
-
}
|
|
11866
|
-
}
|
|
11867
|
-
|
|
11868
|
-
maxLineLength?: number
|
|
11869
|
-
|
|
11870
|
-
sortSideEffects?: boolean
|
|
11871
|
-
|
|
11872
|
-
environment?: ("node" | "bun")
|
|
11873
|
-
|
|
11874
|
-
tsconfigRootDir?: string
|
|
11875
|
-
|
|
11876
|
-
partitionByComment?: (boolean | (({
|
|
11877
|
-
pattern?: string
|
|
11878
|
-
flags?: string
|
|
11879
|
-
} | string)[] | ({
|
|
11880
|
-
pattern?: string
|
|
11881
|
-
flags?: string
|
|
11882
|
-
} | string)) | {
|
|
11883
|
-
block?: (boolean | (({
|
|
11884
|
-
pattern?: string
|
|
11885
|
-
flags?: string
|
|
11886
|
-
} | string)[] | ({
|
|
11887
|
-
pattern?: string
|
|
11888
|
-
flags?: string
|
|
11889
|
-
} | string)))
|
|
11890
|
-
line?: (boolean | (({
|
|
11891
|
-
pattern?: string
|
|
11892
|
-
flags?: string
|
|
11893
|
-
} | string)[] | ({
|
|
11894
|
-
pattern?: string
|
|
11895
|
-
flags?: string
|
|
11896
|
-
} | string)))
|
|
11897
|
-
})
|
|
11898
|
-
|
|
11899
|
-
partitionByNewLine?: boolean
|
|
11900
|
-
|
|
11901
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11902
|
-
|
|
11903
|
-
internalPattern?: (({
|
|
11904
|
-
pattern?: string
|
|
11905
|
-
flags?: string
|
|
11906
|
-
} | string)[] | ({
|
|
11907
|
-
pattern?: string
|
|
11908
|
-
flags?: string
|
|
11909
|
-
} | string))
|
|
11910
|
-
|
|
11911
|
-
groups?: (string | string[] | {
|
|
11912
|
-
|
|
11913
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11914
|
-
})[]
|
|
11915
|
-
})
|
|
11916
11928
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
11917
11929
|
[k: string]: unknown | undefined
|
|
11918
11930
|
} | _PerfectionistSortImports_IsLineLength)
|
|
11931
|
+
type _PerfectionistSortImportsSortImports = _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType[]
|
|
11919
11932
|
interface _PerfectionistSortImports_IsLineLength {
|
|
11920
11933
|
type: "line-length"
|
|
11921
11934
|
[k: string]: unknown | undefined
|
|
@@ -12532,7 +12545,7 @@ type PerfectionistSortModules = []|[{
|
|
|
12532
12545
|
})[]
|
|
12533
12546
|
}]
|
|
12534
12547
|
// ----- perfectionist/sort-named-exports -----
|
|
12535
|
-
type PerfectionistSortNamedExports =
|
|
12548
|
+
type PerfectionistSortNamedExports = {
|
|
12536
12549
|
|
|
12537
12550
|
fallbackSort?: {
|
|
12538
12551
|
|
|
@@ -12558,6 +12571,68 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12558
12571
|
|
|
12559
12572
|
ignoreAlias?: boolean
|
|
12560
12573
|
|
|
12574
|
+
customGroups?: ({
|
|
12575
|
+
|
|
12576
|
+
newlinesInside?: ("always" | "never")
|
|
12577
|
+
|
|
12578
|
+
fallbackSort?: {
|
|
12579
|
+
|
|
12580
|
+
order?: ("asc" | "desc")
|
|
12581
|
+
|
|
12582
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12583
|
+
[k: string]: unknown | undefined
|
|
12584
|
+
}
|
|
12585
|
+
|
|
12586
|
+
groupName?: string
|
|
12587
|
+
|
|
12588
|
+
order?: ("asc" | "desc")
|
|
12589
|
+
|
|
12590
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12591
|
+
anyOf?: {
|
|
12592
|
+
|
|
12593
|
+
modifiers?: ("value" | "type")[]
|
|
12594
|
+
|
|
12595
|
+
selector?: "export"
|
|
12596
|
+
|
|
12597
|
+
elementNamePattern?: (({
|
|
12598
|
+
pattern?: string
|
|
12599
|
+
flags?: string
|
|
12600
|
+
} | string)[] | ({
|
|
12601
|
+
pattern?: string
|
|
12602
|
+
flags?: string
|
|
12603
|
+
} | string))
|
|
12604
|
+
}[]
|
|
12605
|
+
} | {
|
|
12606
|
+
|
|
12607
|
+
newlinesInside?: ("always" | "never")
|
|
12608
|
+
|
|
12609
|
+
fallbackSort?: {
|
|
12610
|
+
|
|
12611
|
+
order?: ("asc" | "desc")
|
|
12612
|
+
|
|
12613
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12614
|
+
[k: string]: unknown | undefined
|
|
12615
|
+
}
|
|
12616
|
+
|
|
12617
|
+
groupName?: string
|
|
12618
|
+
|
|
12619
|
+
order?: ("asc" | "desc")
|
|
12620
|
+
|
|
12621
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12622
|
+
|
|
12623
|
+
modifiers?: ("value" | "type")[]
|
|
12624
|
+
|
|
12625
|
+
selector?: "export"
|
|
12626
|
+
|
|
12627
|
+
elementNamePattern?: (({
|
|
12628
|
+
pattern?: string
|
|
12629
|
+
flags?: string
|
|
12630
|
+
} | string)[] | ({
|
|
12631
|
+
pattern?: string
|
|
12632
|
+
flags?: string
|
|
12633
|
+
} | string))
|
|
12634
|
+
})[]
|
|
12635
|
+
|
|
12561
12636
|
partitionByComment?: (boolean | (({
|
|
12562
12637
|
pattern?: string
|
|
12563
12638
|
flags?: string
|
|
@@ -12582,9 +12657,16 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12582
12657
|
})
|
|
12583
12658
|
|
|
12584
12659
|
partitionByNewLine?: boolean
|
|
12585
|
-
|
|
12660
|
+
|
|
12661
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12662
|
+
|
|
12663
|
+
groups?: (string | string[] | {
|
|
12664
|
+
|
|
12665
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12666
|
+
})[]
|
|
12667
|
+
}[]
|
|
12586
12668
|
// ----- perfectionist/sort-named-imports -----
|
|
12587
|
-
type PerfectionistSortNamedImports =
|
|
12669
|
+
type PerfectionistSortNamedImports = {
|
|
12588
12670
|
|
|
12589
12671
|
fallbackSort?: {
|
|
12590
12672
|
|
|
@@ -12610,6 +12692,68 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
12610
12692
|
|
|
12611
12693
|
ignoreAlias?: boolean
|
|
12612
12694
|
|
|
12695
|
+
customGroups?: ({
|
|
12696
|
+
|
|
12697
|
+
newlinesInside?: ("always" | "never")
|
|
12698
|
+
|
|
12699
|
+
fallbackSort?: {
|
|
12700
|
+
|
|
12701
|
+
order?: ("asc" | "desc")
|
|
12702
|
+
|
|
12703
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12704
|
+
[k: string]: unknown | undefined
|
|
12705
|
+
}
|
|
12706
|
+
|
|
12707
|
+
groupName?: string
|
|
12708
|
+
|
|
12709
|
+
order?: ("asc" | "desc")
|
|
12710
|
+
|
|
12711
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12712
|
+
anyOf?: {
|
|
12713
|
+
|
|
12714
|
+
modifiers?: ("value" | "type")[]
|
|
12715
|
+
|
|
12716
|
+
selector?: "import"
|
|
12717
|
+
|
|
12718
|
+
elementNamePattern?: (({
|
|
12719
|
+
pattern?: string
|
|
12720
|
+
flags?: string
|
|
12721
|
+
} | string)[] | ({
|
|
12722
|
+
pattern?: string
|
|
12723
|
+
flags?: string
|
|
12724
|
+
} | string))
|
|
12725
|
+
}[]
|
|
12726
|
+
} | {
|
|
12727
|
+
|
|
12728
|
+
newlinesInside?: ("always" | "never")
|
|
12729
|
+
|
|
12730
|
+
fallbackSort?: {
|
|
12731
|
+
|
|
12732
|
+
order?: ("asc" | "desc")
|
|
12733
|
+
|
|
12734
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12735
|
+
[k: string]: unknown | undefined
|
|
12736
|
+
}
|
|
12737
|
+
|
|
12738
|
+
groupName?: string
|
|
12739
|
+
|
|
12740
|
+
order?: ("asc" | "desc")
|
|
12741
|
+
|
|
12742
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12743
|
+
|
|
12744
|
+
modifiers?: ("value" | "type")[]
|
|
12745
|
+
|
|
12746
|
+
selector?: "import"
|
|
12747
|
+
|
|
12748
|
+
elementNamePattern?: (({
|
|
12749
|
+
pattern?: string
|
|
12750
|
+
flags?: string
|
|
12751
|
+
} | string)[] | ({
|
|
12752
|
+
pattern?: string
|
|
12753
|
+
flags?: string
|
|
12754
|
+
} | string))
|
|
12755
|
+
})[]
|
|
12756
|
+
|
|
12613
12757
|
partitionByComment?: (boolean | (({
|
|
12614
12758
|
pattern?: string
|
|
12615
12759
|
flags?: string
|
|
@@ -12634,7 +12778,14 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
12634
12778
|
})
|
|
12635
12779
|
|
|
12636
12780
|
partitionByNewLine?: boolean
|
|
12637
|
-
|
|
12781
|
+
|
|
12782
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12783
|
+
|
|
12784
|
+
groups?: (string | string[] | {
|
|
12785
|
+
|
|
12786
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12787
|
+
})[]
|
|
12788
|
+
}[]
|
|
12638
12789
|
// ----- perfectionist/sort-object-types -----
|
|
12639
12790
|
type PerfectionistSortObjectTypes = {
|
|
12640
12791
|
|
|
@@ -14229,10 +14380,6 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
14229
14380
|
interface _UnicornImportStyle_BooleanObject {
|
|
14230
14381
|
[k: string]: boolean | undefined
|
|
14231
14382
|
}
|
|
14232
|
-
// ----- unicorn/no-array-push-push -----
|
|
14233
|
-
type UnicornNoArrayPushPush = []|[{
|
|
14234
|
-
ignore?: unknown[]
|
|
14235
|
-
}]
|
|
14236
14383
|
// ----- unicorn/no-array-reduce -----
|
|
14237
14384
|
type UnicornNoArrayReduce = []|[{
|
|
14238
14385
|
allowSimpleOperations?: boolean
|
|
@@ -14328,6 +14475,10 @@ type UnicornPreferNumberProperties = []|[{
|
|
|
14328
14475
|
type UnicornPreferObjectFromEntries = []|[{
|
|
14329
14476
|
functions?: unknown[]
|
|
14330
14477
|
}]
|
|
14478
|
+
// ----- unicorn/prefer-single-call -----
|
|
14479
|
+
type UnicornPreferSingleCall = []|[{
|
|
14480
|
+
ignore?: unknown[]
|
|
14481
|
+
}]
|
|
14331
14482
|
// ----- unicorn/prefer-structured-clone -----
|
|
14332
14483
|
type UnicornPreferStructuredClone = []|[{
|
|
14333
14484
|
functions?: unknown[]
|
|
@@ -14664,6 +14815,10 @@ type VueDefineMacrosOrder = []|[{
|
|
|
14664
14815
|
}]
|
|
14665
14816
|
// ----- vue/define-props-declaration -----
|
|
14666
14817
|
type VueDefinePropsDeclaration = []|[("type-based" | "runtime")]
|
|
14818
|
+
// ----- vue/define-props-destructuring -----
|
|
14819
|
+
type VueDefinePropsDestructuring = []|[{
|
|
14820
|
+
destructure?: ("always" | "never")
|
|
14821
|
+
}]
|
|
14667
14822
|
// ----- vue/dot-location -----
|
|
14668
14823
|
type VueDotLocation = []|[("object" | "property")]
|
|
14669
14824
|
// ----- vue/dot-notation -----
|
|
@@ -15310,6 +15465,10 @@ type VueNoLoneTemplate = []|[{
|
|
|
15310
15465
|
type VueNoMultiSpaces = []|[{
|
|
15311
15466
|
ignoreProperties?: boolean
|
|
15312
15467
|
}]
|
|
15468
|
+
// ----- vue/no-multiple-template-root -----
|
|
15469
|
+
type VueNoMultipleTemplateRoot = []|[{
|
|
15470
|
+
disallowComments?: boolean
|
|
15471
|
+
}]
|
|
15313
15472
|
// ----- vue/no-mutating-props -----
|
|
15314
15473
|
type VueNoMutatingProps = []|[{
|
|
15315
15474
|
shallowOnly?: boolean
|
|
@@ -15771,6 +15930,7 @@ type YmlFlowSequenceBracketSpacing = []|[("always" | "never")]|[("always" | "nev
|
|
|
15771
15930
|
type YmlIndent = []|[number]|[number, {
|
|
15772
15931
|
indentBlockSequences?: boolean
|
|
15773
15932
|
indicatorValueIndent?: number
|
|
15933
|
+
alignMultilineFlowScalars?: boolean
|
|
15774
15934
|
}]
|
|
15775
15935
|
// ----- yml/key-name-casing -----
|
|
15776
15936
|
type YmlKeyNameCasing = []|[{
|
|
@@ -16261,6 +16421,24 @@ declare const PERFECTIONIST_SORT_INTERSECTION_TYPES_OR_UNION_TYPES_GROUPS: strin
|
|
|
16261
16421
|
* @see {@link https://perfectionist.dev/rules/sort-imports}
|
|
16262
16422
|
*/
|
|
16263
16423
|
declare const PERFECTIONIST_SORT_IMPORTS_GROUPS: string[];
|
|
16424
|
+
/**
|
|
16425
|
+
* Shared option `groups` for rule `sort-exports`
|
|
16426
|
+
*
|
|
16427
|
+
* @see {@link https://perfectionist.dev/rules/sort-exports}
|
|
16428
|
+
*/
|
|
16429
|
+
declare const PERFECTIONIST_SORT_EXPORTS_GROUPS: string[];
|
|
16430
|
+
/**
|
|
16431
|
+
* Shared option `groups` for rule `sort-named-exports`
|
|
16432
|
+
*
|
|
16433
|
+
* @see {@link https://perfectionist.dev/rules/sort-named-exports}
|
|
16434
|
+
*/
|
|
16435
|
+
declare const PERFECTIONIST_SORT_NAMED_EXPORTS_GROUPS: string[];
|
|
16436
|
+
/**
|
|
16437
|
+
* Shared option `groups` for rule `sort-named-imports`
|
|
16438
|
+
*
|
|
16439
|
+
* @see {@link https://perfectionist.dev/rules/sort-named-imports}
|
|
16440
|
+
*/
|
|
16441
|
+
declare const PERFECTIONIST_SORT_NAMED_IMPORTS_GROUPS: string[];
|
|
16264
16442
|
/**
|
|
16265
16443
|
* Shared option `groups` for rule `sort-classes`
|
|
16266
16444
|
*
|
|
@@ -16270,5 +16448,5 @@ declare const PERFECTIONIST_SORT_IMPORTS_GROUPS: string[];
|
|
|
16270
16448
|
*/
|
|
16271
16449
|
declare const PERFECTIONIST_SORT_CLASSES_GROUPS: string[];
|
|
16272
16450
|
|
|
16273
|
-
export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSON_SCHEMA, GLOB_JSX, GLOB_JSX_ONLY, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PACKAGE_JSON, GLOB_PINIA_STORE, GLOB_PNPM_WORKSPACE_YAML, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG_JSON, GLOB_TSX, GLOB_TSX_ONLY, GLOB_TYPES, GLOB_TYPE_TEST, GLOB_VUE, GLOB_YAML, PERFECTIONIST_COMMON_RULE_OPTIONS, PERFECTIONIST_EXTRA_RULE_OPTIONS, PERFECTIONIST_SORT_CLASSES_GROUPS, PERFECTIONIST_SORT_IMPORTS_GROUPS, PERFECTIONIST_SORT_INTERFACES_OR_OBJECT_TYPES_GROUPS, PERFECTIONIST_SORT_INTERSECTION_TYPES_OR_UNION_TYPES_GROUPS, PERFECTIONIST_SORT_OBJECTS_GROUPS, PRETTIER_DEFAULT_OPTIONS, combineConfigs, configAntfu, configCommand, configDeMorgan, configDepend, configESLintComments, configESLintPlugin, configFormat, configGitHubAction, configGitIgnore, configIgnores, configImportX, configJSX, configJavaScript, configJsdoc, configJsonc, configMarkdown, configNode, configNtnyq, configPerfectionist, configPinia, configPnpm, configPrettier, configRegexp, configSVGO, configSort, configSpecials, configTest, configToml, configTypeScript, configUnicorn, configUnoCSS, configUnusedImports, configVue, configYml, defineESLintConfig, ensurePackages, getOverrides, hasPinia, hasShadcnVue, hasTypeScript, hasUnoCSS, hasVitest, hasVue, interopDefault, isInGitHooksOrRunBySpecifyPackages, mergePrettierOptions, index_d as parserPlain, resolveSubOptions };
|
|
16274
|
-
export type { AccessorPairs, AntfuConsistentChaining, AntfuConsistentListNewline, AntfuIndentUnindent, ArrayBracketNewline, ArrayBracketSpacing, ArrayCallbackReturn, ArrayElementNewline, Arrayable, ArrowBodyStyle, ArrowParens, ArrowSpacing, Awaitable, BlockSpacing, BraceStyle, CallbackReturn, Camelcase, CapitalizedComments, ClassMethodsUseThis, CommaDangle, CommaSpacing, CommaStyle, Complexity, ComputedPropertySpacing, ConfigAntfuOptions, ConfigCommandOptions, ConfigDeMorganOptions, ConfigDependOptions, ConfigESLintCommentsOptions, ConfigESLintPluginOptions, ConfigFormatOptions, ConfigGitHubActionOptions, ConfigGitIgnoreOptions, ConfigIgnoresOptions, ConfigImportXOptions, ConfigJavaScriptOptions, ConfigJsdocOptions, ConfigJsoncOptions, ConfigMarkdownOptions, ConfigNames, ConfigNodeOptions, ConfigNtnyqOptions, ConfigOptions, ConfigOptionsInternal, ConfigPerfectionistOptions, ConfigPiniaOptions, ConfigPnpmOptions, ConfigPrettierOptions, ConfigRegexpOptions, ConfigSVGOOptions, ConfigSortOptions, ConfigSpecialsOptions, ConfigTestOptions, ConfigTomlOptions, ConfigTypeScriptOptions, ConfigUnicornOptions, ConfigUnoCSSOptions, ConfigUnusedImportsOptions, ConfigVueOptions, ConfigYmlOptions, ConsistentReturn, ConsistentThis, Curly, DefaultCase, DependBanDependencies, DotLocation, DotNotation, ESLintConfig, ESLintParser, ESLintParserOptions, ESLintProcessor, ESLintRuleSeverity, ESLintRulesRecord, EolLast, Eqeqeq, EslintCommunityEslintCommentsDisableEnablePair, EslintCommunityEslintCommentsNoRestrictedDisable, EslintCommunityEslintCommentsNoUse, EslintCommunityEslintCommentsRequireDescription, EslintPluginConsistentOutput, EslintPluginMetaPropertyOrdering, EslintPluginNoPropertyInNode, EslintPluginReportMessageFormat, EslintPluginRequireMetaDocsDescription, EslintPluginRequireMetaDocsRecommended, EslintPluginRequireMetaDocsUrl, EslintPluginRequireMetaFixable, EslintPluginRequireMetaSchema, EslintPluginTestCasePropertyOrdering, EslintPluginTestCaseShorthandStrings, FormatDprint, FormatPrettier, FuncCallSpacing, FuncNameMatching, FuncNames, FuncStyle, FunctionCallArgumentNewline, FunctionParenNewline, GeneratorStarSpacing, GetterReturn, GithubActionActionNameCasing, GithubActionJobIdCasing, GithubActionMaxJobsPerAction, GithubActionPreferFileExtension, GithubActionPreferStepUsesStyle, GroupedAccessorPairs, HandleCallbackErr, IdBlacklist, IdDenylist, IdLength, IdMatch, ImplicitArrowLinebreak, ImportXConsistentTypeSpecifierStyle, ImportXDynamicImportChunkname, ImportXExtensions, ImportXFirst, ImportXImportsFirst, ImportXMaxDependencies, ImportXNamed, ImportXNamespace, ImportXNewlineAfterImport, ImportXNoAbsolutePath, ImportXNoAnonymousDefaultExport, ImportXNoCommonjs, ImportXNoCycle, ImportXNoDuplicates, ImportXNoDynamicRequire, ImportXNoExtraneousDependencies, ImportXNoImportModuleExports, ImportXNoInternalModules, ImportXNoNamespace, ImportXNoNodejsModules, ImportXNoRelativePackages, ImportXNoRelativeParentImports, ImportXNoRenameDefault, ImportXNoRestrictedPaths, ImportXNoUnassignedImport, ImportXNoUnresolved, ImportXNoUnusedModules, ImportXNoUselessPathSegments, ImportXOrder, ImportXPreferDefaultExport, Indent, IndentLegacy, InitDeclarations, InteropModuleDefault, JsdocCheckExamples, JsdocCheckIndentation, JsdocCheckLineAlignment, JsdocCheckParamNames, JsdocCheckPropertyNames, JsdocCheckTagNames, JsdocCheckTypes, JsdocCheckValues, JsdocConvertToJsdocComments, JsdocEmptyTags, JsdocImplementsOnClasses, JsdocInformativeDocs, JsdocLinesBeforeBlock, JsdocMatchDescription, JsdocMatchName, JsdocMultilineBlocks, JsdocNoBadBlocks, JsdocNoBlankBlocks, JsdocNoDefaults, JsdocNoMissingSyntax, JsdocNoMultiAsterisks, JsdocNoRestrictedSyntax, JsdocNoTypes, JsdocNoUndefinedTypes, JsdocRequireAsteriskPrefix, JsdocRequireDescription, JsdocRequireDescriptionCompleteSentence, JsdocRequireExample, JsdocRequireFileOverview, JsdocRequireHyphenBeforeParamDescription, JsdocRequireJsdoc, JsdocRequireParam, JsdocRequireParamDescription, JsdocRequireParamName, JsdocRequireParamType, JsdocRequireReturns, JsdocRequireReturnsCheck, JsdocRequireReturnsDescription, JsdocRequireReturnsType, JsdocRequireTemplate, JsdocRequireThrows, JsdocRequireYields, JsdocRequireYieldsCheck, JsdocSortTags, JsdocTagLines, JsdocTextEscaping, JsdocValidTypes, JsoncArrayBracketNewline, JsoncArrayBracketSpacing, JsoncArrayElementNewline, JsoncCommaDangle, JsoncCommaStyle, JsoncIndent, JsoncKeyNameCasing, JsoncKeySpacing, JsoncNoIrregularWhitespace, JsoncObjectCurlyNewline, JsoncObjectCurlySpacing, JsoncObjectPropertyNewline, JsoncQuoteProps, JsoncQuotes, JsoncSortArrayValues, JsoncSortKeys, JsoncSpaceUnaryOps, JsxQuotes, KeySpacing, KeywordSpacing, LineCommentPosition, LinebreakStyle, LinesAroundComment, LinesAroundDirective, LinesBetweenClassMembers, LogicalAssignmentOperators, MarkdownFencedCodeLanguage, MarkdownNoHtml, MaxClassesPerFile, MaxDepth, MaxLen, MaxLines, MaxLinesPerFunction, MaxNestedCallbacks, MaxParams, MaxStatements, MaxStatementsPerLine, MultilineCommentStyle, MultilineTernary, NewCap, NewParens, NewlineAfterVar, NewlinePerChainedCall, NoBitwise, NoCondAssign, NoConfusingArrow, NoConsole, NoConstantCondition, NoDuplicateImports, NoElseReturn, NoEmpty, NoEmptyFunction, NoEmptyPattern, NoEval, NoExtendNative, NoExtraBooleanCast, NoExtraParens, NoFallthrough, NoGlobalAssign, NoImplicitCoercion, NoImplicitGlobals, NoInlineComments, NoInnerDeclarations, NoInvalidRegexp, NoInvalidThis, NoIrregularWhitespace, NoLabels, NoMagicNumbers, NoMisleadingCharacterClass, NoMixedOperators, NoMixedRequires, NoMixedSpacesAndTabs, NoMultiAssign, NoMultiSpaces, NoMultipleEmptyLines, NoNativeReassign, NoOnlyTestsNoOnlyTests, NoParamReassign, NoPlusplus, NoPromiseExecutorReturn, NoRedeclare, NoRestrictedExports, NoRestrictedGlobals, NoRestrictedImports, NoRestrictedModules, NoRestrictedProperties, NoRestrictedSyntax, NoReturnAssign, NoSelfAssign, NoSequences, NoShadow, NoSync, NoTabs, NoTrailingSpaces, NoUndef, NoUnderscoreDangle, NoUnneededTernary, NoUnreachableLoop, NoUnsafeNegation, NoUnsafeOptionalChaining, NoUnusedExpressions, NoUnusedVars, NoUseBeforeDefine, NoUselessComputedKey, NoUselessRename, NoVoid, NoWarningComments, NodeCallbackReturn, NodeExportsStyle, NodeFileExtensionInImport, NodeHandleCallbackErr, NodeHashbang, NodeNoDeprecatedApi, NodeNoExtraneousImport, NodeNoExtraneousRequire, NodeNoHideCoreModules, NodeNoMissingImport, NodeNoMissingRequire, NodeNoMixedRequires, NodeNoProcessEnv, NodeNoRestrictedImport, NodeNoRestrictedRequire, NodeNoSync, NodeNoUnpublishedBin, NodeNoUnpublishedImport, NodeNoUnpublishedRequire, NodeNoUnsupportedFeaturesEsBuiltins, NodeNoUnsupportedFeaturesEsSyntax, NodeNoUnsupportedFeaturesNodeBuiltins, NodePreferGlobalBuffer, NodePreferGlobalConsole, NodePreferGlobalProcess, NodePreferGlobalTextDecoder, NodePreferGlobalTextEncoder, NodePreferGlobalUrl, NodePreferGlobalUrlSearchParams, NodePreferNodeProtocol, NodeShebang, NonblockStatementBodyPosition, NtnyqNoDuplicateExports, NtnyqPreferNewlineAfterFileHeader, ObjectCurlyNewline, ObjectCurlySpacing, ObjectPropertyNewline, ObjectShorthand, OneVar, OneVarDeclarationPerLine, OperatorAssignment, OperatorLinebreak, OptionsFiles, OptionsIgnores, OptionsOverrides, OptionsShareable, PaddedBlocks, PaddingLineBetweenStatements, PerfectionistPartitionByComment, PerfectionistSortArrayIncludes, PerfectionistSortClasses, PerfectionistSortDecorators, PerfectionistSortEnums, PerfectionistSortExports, PerfectionistSortHeritageClauses, PerfectionistSortImports, PerfectionistSortInterfaces, PerfectionistSortIntersectionTypes, PerfectionistSortJsxProps, PerfectionistSortMaps, PerfectionistSortModules, PerfectionistSortNamedExports, PerfectionistSortNamedImports, PerfectionistSortObjectTypes, PerfectionistSortObjects, PerfectionistSortSets, PerfectionistSortSwitchCase, PerfectionistSortUnionTypes, PerfectionistSortVariableDeclarations, PiniaPreferUseStoreNamingConvention, PnpmJsonEnforceCatalog, PnpmJsonPreferWorkspaceSettings, PnpmJsonValidCatalog, PnpmYamlNoDuplicateCatalogItem, PreferArrowCallback, PreferConst, PreferDestructuring, PreferPromiseRejectErrors, PreferReflect, PreferRegexLiterals, PrettierOptions, PrettierPrettier, Pretty, QuoteProps, Quotes, Radix, RegexpHexadecimalEscape, RegexpLetterCase, RegexpMatchAny, RegexpNoDupeDisjunctions, RegexpNoLazyEnds, RegexpNoLegacyFeatures, RegexpNoMisleadingCapturingGroup, RegexpNoMisleadingUnicodeCharacter, RegexpNoMissingGFlag, RegexpNoObscureRange, RegexpNoSuperLinearBacktracking, RegexpNoSuperLinearMove, RegexpNoUnusedCapturingGroup, RegexpNoUselessCharacterClass, RegexpNoUselessFlag, RegexpNoUselessNonCapturingGroup, RegexpOptimalQuantifierConcatenation, RegexpPreferCharacterClass, RegexpPreferD, RegexpPreferLookaround, RegexpPreferNamedReplacement, RegexpPreferRange, RegexpPreferResultArrayGroups, RegexpSortCharacterClassElements, RegexpUnicodeEscape, RegexpUnicodeProperty, RequireAtomicUpdates, RequireUnicodeRegexp, ResolvedOptions, RestSpreadSpacing, RuleOptions, Semi, SemiSpacing, SemiStyle, SortImports, SortKeys, SortVars, SpaceBeforeBlocks, SpaceBeforeFunctionParen, SpaceInParens, SpaceInfixOps, SpaceUnaryOps, SpacedComment, Strict, SvgoSvgo, SwitchColonSpacing, TSESLintParserOptions, TemplateCurlySpacing, TemplateTagSpacing, TomlArrayBracketNewline, TomlArrayBracketSpacing, TomlArrayElementNewline, TomlCommaStyle, TomlIndent, TomlInlineTableCurlySpacing, TomlKeySpacing, TomlNoMixedTypeInArray, TomlNoNonDecimalInteger, TomlPrecisionOfFractionalSeconds, TomlPrecisionOfInteger, TomlQuotedKeys, TomlSpacedComment, TomlTableBracketSpacing, TypedConfigItem, TypescriptEslintArrayType, TypescriptEslintBanTsComment, TypescriptEslintClassLiteralPropertyStyle, TypescriptEslintClassMethodsUseThis, TypescriptEslintConsistentGenericConstructors, TypescriptEslintConsistentIndexedObjectStyle, TypescriptEslintConsistentReturn, TypescriptEslintConsistentTypeAssertions, TypescriptEslintConsistentTypeDefinitions, TypescriptEslintConsistentTypeExports, TypescriptEslintConsistentTypeImports, TypescriptEslintDotNotation, TypescriptEslintExplicitFunctionReturnType, TypescriptEslintExplicitMemberAccessibility, TypescriptEslintExplicitModuleBoundaryTypes, TypescriptEslintInitDeclarations, TypescriptEslintMaxParams, TypescriptEslintMemberOrdering, TypescriptEslintMethodSignatureStyle, TypescriptEslintNamingConvention, TypescriptEslintNoBaseToString, TypescriptEslintNoConfusingVoidExpression, TypescriptEslintNoDeprecated, TypescriptEslintNoDuplicateTypeConstituents, TypescriptEslintNoEmptyFunction, TypescriptEslintNoEmptyInterface, TypescriptEslintNoEmptyObjectType, TypescriptEslintNoExplicitAny, TypescriptEslintNoExtraneousClass, TypescriptEslintNoFloatingPromises, TypescriptEslintNoInferrableTypes, TypescriptEslintNoInvalidThis, TypescriptEslintNoInvalidVoidType, TypescriptEslintNoMagicNumbers, TypescriptEslintNoMeaninglessVoidOperator, TypescriptEslintNoMisusedPromises, TypescriptEslintNoMisusedSpread, TypescriptEslintNoNamespace, TypescriptEslintNoRedeclare, TypescriptEslintNoRequireImports, TypescriptEslintNoRestrictedImports, TypescriptEslintNoRestrictedTypes, TypescriptEslintNoShadow, TypescriptEslintNoThisAlias, TypescriptEslintNoTypeAlias, TypescriptEslintNoUnnecessaryBooleanLiteralCompare, TypescriptEslintNoUnnecessaryCondition, TypescriptEslintNoUnnecessaryTypeAssertion, TypescriptEslintNoUnusedExpressions, TypescriptEslintNoUnusedVars, TypescriptEslintNoUseBeforeDefine, TypescriptEslintNoVarRequires, TypescriptEslintOnlyThrowError, TypescriptEslintParameterProperties, TypescriptEslintPreferDestructuring, TypescriptEslintPreferLiteralEnumMember, TypescriptEslintPreferNullishCoalescing, TypescriptEslintPreferOptionalChain, TypescriptEslintPreferPromiseRejectErrors, TypescriptEslintPreferReadonly, TypescriptEslintPreferReadonlyParameterTypes, TypescriptEslintPreferStringStartsEndsWith, TypescriptEslintPromiseFunctionAsync, TypescriptEslintRequireArraySortCompare, TypescriptEslintRestrictPlusOperands, TypescriptEslintRestrictTemplateExpressions, TypescriptEslintReturnAwait, TypescriptEslintSortTypeConstituents, TypescriptEslintStrictBooleanExpressions, TypescriptEslintSwitchExhaustivenessCheck, TypescriptEslintTripleSlashReference, TypescriptEslintTypedef, TypescriptEslintUnboundMethod, TypescriptEslintUnifiedSignatures, UnicodeBom, UnicornBetterRegex, UnicornCatchErrorName, UnicornConsistentFunctionScoping, UnicornEscapeCase, UnicornExpiringTodoComments, UnicornExplicitLengthCheck, UnicornFilenameCase, UnicornImportStyle, UnicornNoArrayPushPush, UnicornNoArrayReduce, UnicornNoInstanceofBuiltins, UnicornNoKeywordPrefix, UnicornNoNull, UnicornNoTypeofUndefined, UnicornNoUnnecessaryPolyfills, UnicornNoUselessUndefined, UnicornNumberLiteralCase, UnicornNumericSeparatorsStyle, UnicornPreferAddEventListener, UnicornPreferArrayFind, UnicornPreferArrayFlat, UnicornPreferAt, UnicornPreferExportFrom, UnicornPreferNumberProperties, UnicornPreferObjectFromEntries, UnicornPreferStructuredClone, UnicornPreferSwitch, UnicornPreferTernary, UnicornPreventAbbreviations, UnicornRelativeUrlStyle, UnicornStringContent, UnicornSwitchCaseBraces, UnicornTemplateIndent, UnocssEnforceClassCompile, UnusedImportsNoUnusedImports, UnusedImportsNoUnusedVars, UseIsnan, ValidTypeof, VitestConsistentTestFilename, VitestConsistentTestIt, VitestExpectExpect, VitestMaxExpects, VitestMaxNestedDescribe, VitestNoFocusedTests, VitestNoHooks, VitestNoLargeSnapshots, VitestNoRestrictedMatchers, VitestNoRestrictedViMethods, VitestNoStandaloneExpect, VitestPreferExpectAssertions, VitestPreferLowercaseTitle, VitestPreferSnapshotHint, VitestRequireHook, VitestRequireMockTypeParameters, VitestRequireTopLevelDescribe, VitestValidExpect, VitestValidTitle, VueArrayBracketNewline, VueArrayBracketSpacing, VueArrayElementNewline, VueArrowSpacing, VueAttributeHyphenation, VueAttributesOrder, VueBlockLang, VueBlockOrder, VueBlockSpacing, VueBlockTagNewline, VueBraceStyle, VueCamelcase, VueCommaDangle, VueCommaSpacing, VueCommaStyle, VueCommentDirective, VueComponentApiStyle, VueComponentDefinitionNameCasing, VueComponentNameInTemplateCasing, VueComponentOptionsNameCasing, VueCustomEventNameCasing, VueDefineEmitsDeclaration, VueDefineMacrosOrder, VueDefinePropsDeclaration, VueDotLocation, VueDotNotation, VueEnforceStyleAttribute, VueEqeqeq, VueFirstAttributeLinebreak, VueFuncCallSpacing, VueHtmlButtonHasType, VueHtmlClosingBracketNewline, VueHtmlClosingBracketSpacing, VueHtmlCommentContentNewline, VueHtmlCommentContentSpacing, VueHtmlCommentIndent, VueHtmlIndent, VueHtmlQuotes, VueHtmlSelfClosing, VueKeySpacing, VueKeywordSpacing, VueMatchComponentFileName, VueMaxAttributesPerLine, VueMaxLen, VueMaxLinesPerBlock, VueMaxProps, VueMaxTemplateDepth, VueMultiWordComponentNames, VueMultilineHtmlElementContentNewline, VueMultilineTernary, VueMustacheInterpolationSpacing, VueNewLineBetweenMultiLineProperty, VueNextTickStyle, VueNoBareStringsInTemplate, VueNoBooleanDefault, VueNoChildContent, VueNoConsole, VueNoConstantCondition, VueNoDeprecatedModelDefinition, VueNoDeprecatedRouterLinkTagProp, VueNoDeprecatedSlotAttribute, VueNoDupeKeys, VueNoDuplicateAttrInheritance, VueNoDuplicateAttributes, VueNoEmptyPattern, VueNoExtraParens, VueNoImplicitCoercion, VueNoIrregularWhitespace, VueNoLoneTemplate, VueNoMultiSpaces, VueNoMutatingProps, VueNoParsingError, VueNoPotentialComponentOptionTypo, VueNoRequiredPropWithDefault, VueNoReservedComponentNames, VueNoReservedKeys, VueNoReservedProps, VueNoRestrictedBlock, VueNoRestrictedCallAfterAwait, VueNoRestrictedClass, VueNoRestrictedComponentNames, VueNoRestrictedComponentOptions, VueNoRestrictedCustomEvent, VueNoRestrictedHtmlElements, VueNoRestrictedProps, VueNoRestrictedStaticAttribute, VueNoRestrictedSyntax, VueNoRestrictedVBind, VueNoRestrictedVOn, VueNoStaticInlineStyles, VueNoTemplateShadow, VueNoTemplateTargetBlank, VueNoUndefComponents, VueNoUndefProperties, VueNoUnsupportedFeatures, VueNoUnusedComponents, VueNoUnusedProperties, VueNoUnusedVars, VueNoUseVIfWithVFor, VueNoUselessMustaches, VueNoUselessVBind, VueNoVTextVHtmlOnComponent, VueObjectCurlyNewline, VueObjectCurlySpacing, VueObjectPropertyNewline, VueObjectShorthand, VueOperatorLinebreak, VueOrderInComponents, VuePaddingLineBetweenBlocks, VuePaddingLineBetweenTags, VuePaddingLinesInComponentDefinition, VuePreferTrueAttributeShorthand, VuePropNameCasing, VueQuoteProps, VueRequireDirectExport, VueRequireExplicitEmits, VueRequireMacroVariableName, VueRequirePropComment, VueRequireToggleInsideTransition, VueRestrictedComponentNames, VueReturnInComputedProperty, VueScriptIndent, VueSinglelineHtmlElementContentNewline, VueSlotNameCasing, VueSortKeys, VueSpaceInParens, VueSpaceInfixOps, VueSpaceUnaryOps, VueTemplateCurlySpacing, VueThisInTemplate, VueVBindStyle, VueVForDelimiterStyle, VueVOnEventHyphenation, VueVOnHandlerStyle, VueVOnStyle, VueVSlotStyle, VueValidVOn, VueValidVSlot, WrapIife, YieldStarSpacing, YmlBlockMapping, YmlBlockMappingColonIndicatorNewline, YmlBlockMappingQuestionIndicatorNewline, YmlBlockSequence, YmlBlockSequenceHyphenIndicatorNewline, YmlFileExtension, YmlFlowMappingCurlyNewline, YmlFlowMappingCurlySpacing, YmlFlowSequenceBracketNewline, YmlFlowSequenceBracketSpacing, YmlIndent, YmlKeyNameCasing, YmlKeySpacing, YmlNoIrregularWhitespace, YmlNoMultipleEmptyLines, YmlPlainScalar, YmlQuotes, YmlSortKeys, YmlSortSequenceValues, YmlSpacedComment, Yoda, _ArrayElementNewlineBasicConfig, _CommaDangleValue, _CommaDangleValueWithIgnore, _FuncNamesValue, _JsoncArrayElementNewlineBasicConfig, _JsoncCommaDangleValue, _JsoncCommaDangleValueWithIgnore, _PaddingLineBetweenStatementsPaddingType, _PaddingLineBetweenStatementsStatementType, _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType, _PerfectionistSortImportsSortImports, _PerfectionistSortImports_IsLineLength, _TomlArrayElementNewlineBasicConfig, _TypescriptEslintNamingConventionFormatOptionsConfig, _TypescriptEslintNamingConventionPredefinedFormats, _TypescriptEslintNamingConventionTypeModifiers, _TypescriptEslintNamingConventionUnderscoreOptions, _TypescriptEslintNamingConvention_MatchRegexConfig, _TypescriptEslintNamingConvention_PrefixSuffixConfig, _UnicornImportStyleStyles, _UnicornImportStyle_BooleanObject, _UnicornImportStyle_ModuleStyles, _UnicornPreventAbbreviationsReplacements, _UnicornPreventAbbreviations_Abbreviations, _UnicornPreventAbbreviations_BooleanObject, _VueArrayElementNewlineBasicConfig, _VueCommaDangleValue, _VueCommaDangleValueWithIgnore, _VueHtmlSelfClosingOptionValue };
|
|
16451
|
+
export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSON_SCHEMA, GLOB_JSX, GLOB_JSX_ONLY, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PACKAGE_JSON, GLOB_PINIA_STORE, GLOB_PNPM_WORKSPACE_YAML, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG_JSON, GLOB_TSX, GLOB_TSX_ONLY, GLOB_TYPES, GLOB_TYPE_TEST, GLOB_VUE, GLOB_YAML, PERFECTIONIST_COMMON_RULE_OPTIONS, PERFECTIONIST_EXTRA_RULE_OPTIONS, PERFECTIONIST_SORT_CLASSES_GROUPS, PERFECTIONIST_SORT_EXPORTS_GROUPS, PERFECTIONIST_SORT_IMPORTS_GROUPS, PERFECTIONIST_SORT_INTERFACES_OR_OBJECT_TYPES_GROUPS, PERFECTIONIST_SORT_INTERSECTION_TYPES_OR_UNION_TYPES_GROUPS, PERFECTIONIST_SORT_NAMED_EXPORTS_GROUPS, PERFECTIONIST_SORT_NAMED_IMPORTS_GROUPS, PERFECTIONIST_SORT_OBJECTS_GROUPS, PRETTIER_DEFAULT_OPTIONS, combineConfigs, configAntfu, configCommand, configDeMorgan, configDepend, configESLintComments, configESLintPlugin, configFormat, configGitHubAction, configGitIgnore, configIgnores, configImportX, configJSX, configJavaScript, configJsdoc, configJsonc, configMarkdown, configNode, configNtnyq, configPerfectionist, configPinia, configPnpm, configPrettier, configRegexp, configSVGO, configSort, configSpecials, configTest, configToml, configTypeScript, configUnicorn, configUnoCSS, configUnusedImports, configVue, configYml, defineESLintConfig, ensurePackages, getOverrides, hasPinia, hasShadcnVue, hasTypeScript, hasUnoCSS, hasVitest, hasVue, interopDefault, isInGitHooksOrRunBySpecifyPackages, mergePrettierOptions, index_d as parserPlain, resolveSubOptions };
|
|
16452
|
+
export type { AccessorPairs, AntfuConsistentChaining, AntfuConsistentListNewline, AntfuIndentUnindent, ArrayBracketNewline, ArrayBracketSpacing, ArrayCallbackReturn, ArrayElementNewline, Arrayable, ArrowBodyStyle, ArrowParens, ArrowSpacing, Awaitable, BlockSpacing, BraceStyle, CallbackReturn, Camelcase, CapitalizedComments, ClassMethodsUseThis, CommaDangle, CommaSpacing, CommaStyle, Complexity, ComputedPropertySpacing, ConfigAntfuOptions, ConfigCommandOptions, ConfigDeMorganOptions, ConfigDependOptions, ConfigESLintCommentsOptions, ConfigESLintPluginOptions, ConfigFormatOptions, ConfigGitHubActionOptions, ConfigGitIgnoreOptions, ConfigIgnoresOptions, ConfigImportXOptions, ConfigJavaScriptOptions, ConfigJsdocOptions, ConfigJsoncOptions, ConfigMarkdownOptions, ConfigNames, ConfigNodeOptions, ConfigNtnyqOptions, ConfigOptions, ConfigOptionsInternal, ConfigPerfectionistOptions, ConfigPiniaOptions, ConfigPnpmOptions, ConfigPrettierOptions, ConfigRegexpOptions, ConfigSVGOOptions, ConfigSortOptions, ConfigSpecialsOptions, ConfigTestOptions, ConfigTomlOptions, ConfigTypeScriptOptions, ConfigUnicornOptions, ConfigUnoCSSOptions, ConfigUnusedImportsOptions, ConfigVueOptions, ConfigYmlOptions, ConsistentReturn, ConsistentThis, Curly, DefaultCase, DependBanDependencies, DotLocation, DotNotation, ESLintConfig, ESLintParser, ESLintParserOptions, ESLintProcessor, ESLintRuleSeverity, ESLintRulesRecord, EolLast, Eqeqeq, EslintCommunityEslintCommentsDisableEnablePair, EslintCommunityEslintCommentsNoRestrictedDisable, EslintCommunityEslintCommentsNoUse, EslintCommunityEslintCommentsRequireDescription, EslintPluginConsistentOutput, EslintPluginMetaPropertyOrdering, EslintPluginNoPropertyInNode, EslintPluginReportMessageFormat, EslintPluginRequireMetaDocsDescription, EslintPluginRequireMetaDocsRecommended, EslintPluginRequireMetaDocsUrl, EslintPluginRequireMetaFixable, EslintPluginRequireMetaSchema, EslintPluginTestCasePropertyOrdering, EslintPluginTestCaseShorthandStrings, FormatDprint, FormatPrettier, FuncCallSpacing, FuncNameMatching, FuncNames, FuncStyle, FunctionCallArgumentNewline, FunctionParenNewline, GeneratorStarSpacing, GetterReturn, GithubActionActionNameCasing, GithubActionJobIdCasing, GithubActionMaxJobsPerAction, GithubActionPreferFileExtension, GithubActionPreferStepUsesStyle, GithubActionValidTimeoutMinutes, GroupedAccessorPairs, HandleCallbackErr, IdBlacklist, IdDenylist, IdLength, IdMatch, ImplicitArrowLinebreak, ImportXConsistentTypeSpecifierStyle, ImportXDynamicImportChunkname, ImportXExtensions, ImportXFirst, ImportXImportsFirst, ImportXMaxDependencies, ImportXNamed, ImportXNamespace, ImportXNewlineAfterImport, ImportXNoAbsolutePath, ImportXNoAnonymousDefaultExport, ImportXNoCommonjs, ImportXNoCycle, ImportXNoDuplicates, ImportXNoDynamicRequire, ImportXNoExtraneousDependencies, ImportXNoImportModuleExports, ImportXNoInternalModules, ImportXNoNamespace, ImportXNoNodejsModules, ImportXNoRelativePackages, ImportXNoRelativeParentImports, ImportXNoRenameDefault, ImportXNoRestrictedPaths, ImportXNoUnassignedImport, ImportXNoUnresolved, ImportXNoUnusedModules, ImportXNoUselessPathSegments, ImportXOrder, ImportXPreferDefaultExport, Indent, IndentLegacy, InitDeclarations, InteropModuleDefault, JsdocCheckExamples, JsdocCheckIndentation, JsdocCheckLineAlignment, JsdocCheckParamNames, JsdocCheckPropertyNames, JsdocCheckTagNames, JsdocCheckTypes, JsdocCheckValues, JsdocConvertToJsdocComments, JsdocEmptyTags, JsdocImplementsOnClasses, JsdocInformativeDocs, JsdocLinesBeforeBlock, JsdocMatchDescription, JsdocMatchName, JsdocMultilineBlocks, JsdocNoBadBlocks, JsdocNoBlankBlocks, JsdocNoDefaults, JsdocNoMissingSyntax, JsdocNoMultiAsterisks, JsdocNoRestrictedSyntax, JsdocNoTypes, JsdocNoUndefinedTypes, JsdocRequireAsteriskPrefix, JsdocRequireDescription, JsdocRequireDescriptionCompleteSentence, JsdocRequireExample, JsdocRequireFileOverview, JsdocRequireHyphenBeforeParamDescription, JsdocRequireJsdoc, JsdocRequireParam, JsdocRequireParamDescription, JsdocRequireParamName, JsdocRequireParamType, JsdocRequireReturns, JsdocRequireReturnsCheck, JsdocRequireReturnsDescription, JsdocRequireReturnsType, JsdocRequireTemplate, JsdocRequireThrows, JsdocRequireYields, JsdocRequireYieldsCheck, JsdocSortTags, JsdocTagLines, JsdocTextEscaping, JsdocValidTypes, JsoncArrayBracketNewline, JsoncArrayBracketSpacing, JsoncArrayElementNewline, JsoncCommaDangle, JsoncCommaStyle, JsoncIndent, JsoncKeyNameCasing, JsoncKeySpacing, JsoncNoIrregularWhitespace, JsoncObjectCurlyNewline, JsoncObjectCurlySpacing, JsoncObjectPropertyNewline, JsoncQuoteProps, JsoncQuotes, JsoncSortArrayValues, JsoncSortKeys, JsoncSpaceUnaryOps, JsxQuotes, KeySpacing, KeywordSpacing, LineCommentPosition, LinebreakStyle, LinesAroundComment, LinesAroundDirective, LinesBetweenClassMembers, LogicalAssignmentOperators, MarkdownFencedCodeLanguage, MarkdownNoHtml, MaxClassesPerFile, MaxDepth, MaxLen, MaxLines, MaxLinesPerFunction, MaxNestedCallbacks, MaxParams, MaxStatements, MaxStatementsPerLine, MultilineCommentStyle, MultilineTernary, NewCap, NewParens, NewlineAfterVar, NewlinePerChainedCall, NoBitwise, NoCondAssign, NoConfusingArrow, NoConsole, NoConstantCondition, NoDuplicateImports, NoElseReturn, NoEmpty, NoEmptyFunction, NoEmptyPattern, NoEval, NoExtendNative, NoExtraBooleanCast, NoExtraParens, NoFallthrough, NoGlobalAssign, NoImplicitCoercion, NoImplicitGlobals, NoInlineComments, NoInnerDeclarations, NoInvalidRegexp, NoInvalidThis, NoIrregularWhitespace, NoLabels, NoMagicNumbers, NoMisleadingCharacterClass, NoMixedOperators, NoMixedRequires, NoMixedSpacesAndTabs, NoMultiAssign, NoMultiSpaces, NoMultipleEmptyLines, NoNativeReassign, NoOnlyTestsNoOnlyTests, NoParamReassign, NoPlusplus, NoPromiseExecutorReturn, NoRedeclare, NoRestrictedExports, NoRestrictedGlobals, NoRestrictedImports, NoRestrictedModules, NoRestrictedProperties, NoRestrictedSyntax, NoReturnAssign, NoSelfAssign, NoSequences, NoShadow, NoShadowRestrictedNames, NoSync, NoTabs, NoTrailingSpaces, NoUndef, NoUnderscoreDangle, NoUnneededTernary, NoUnreachableLoop, NoUnsafeNegation, NoUnsafeOptionalChaining, NoUnusedExpressions, NoUnusedVars, NoUseBeforeDefine, NoUselessComputedKey, NoUselessRename, NoVoid, NoWarningComments, NodeCallbackReturn, NodeExportsStyle, NodeFileExtensionInImport, NodeHandleCallbackErr, NodeHashbang, NodeNoDeprecatedApi, NodeNoExtraneousImport, NodeNoExtraneousRequire, NodeNoHideCoreModules, NodeNoMissingImport, NodeNoMissingRequire, NodeNoMixedRequires, NodeNoProcessEnv, NodeNoRestrictedImport, NodeNoRestrictedRequire, NodeNoSync, NodeNoUnpublishedBin, NodeNoUnpublishedImport, NodeNoUnpublishedRequire, NodeNoUnsupportedFeaturesEsBuiltins, NodeNoUnsupportedFeaturesEsSyntax, NodeNoUnsupportedFeaturesNodeBuiltins, NodePreferGlobalBuffer, NodePreferGlobalConsole, NodePreferGlobalProcess, NodePreferGlobalTextDecoder, NodePreferGlobalTextEncoder, NodePreferGlobalUrl, NodePreferGlobalUrlSearchParams, NodePreferNodeProtocol, NodeShebang, NonblockStatementBodyPosition, NtnyqNoDuplicateExports, NtnyqPreferNewlineAfterFileHeader, ObjectCurlyNewline, ObjectCurlySpacing, ObjectPropertyNewline, ObjectShorthand, OneVar, OneVarDeclarationPerLine, OperatorAssignment, OperatorLinebreak, OptionsFiles, OptionsIgnores, OptionsOverrides, OptionsShareable, PaddedBlocks, PaddingLineBetweenStatements, PerfectionistPartitionByComment, PerfectionistSortArrayIncludes, PerfectionistSortClasses, PerfectionistSortDecorators, PerfectionistSortEnums, PerfectionistSortExports, PerfectionistSortHeritageClauses, PerfectionistSortInterfaces, PerfectionistSortIntersectionTypes, PerfectionistSortJsxProps, PerfectionistSortMaps, PerfectionistSortModules, PerfectionistSortNamedExports, PerfectionistSortNamedImports, PerfectionistSortObjectTypes, PerfectionistSortObjects, PerfectionistSortSets, PerfectionistSortSwitchCase, PerfectionistSortUnionTypes, PerfectionistSortVariableDeclarations, PiniaPreferUseStoreNamingConvention, PnpmJsonEnforceCatalog, PnpmJsonPreferWorkspaceSettings, PnpmJsonValidCatalog, PnpmYamlNoDuplicateCatalogItem, PreferArrowCallback, PreferConst, PreferDestructuring, PreferPromiseRejectErrors, PreferReflect, PreferRegexLiterals, PrettierOptions, PrettierPrettier, Pretty, QuoteProps, Quotes, Radix, RegexpHexadecimalEscape, RegexpLetterCase, RegexpMatchAny, RegexpNoDupeDisjunctions, RegexpNoLazyEnds, RegexpNoLegacyFeatures, RegexpNoMisleadingCapturingGroup, RegexpNoMisleadingUnicodeCharacter, RegexpNoMissingGFlag, RegexpNoObscureRange, RegexpNoSuperLinearBacktracking, RegexpNoSuperLinearMove, RegexpNoUnusedCapturingGroup, RegexpNoUselessCharacterClass, RegexpNoUselessFlag, RegexpNoUselessNonCapturingGroup, RegexpOptimalQuantifierConcatenation, RegexpPreferCharacterClass, RegexpPreferD, RegexpPreferLookaround, RegexpPreferNamedReplacement, RegexpPreferRange, RegexpPreferResultArrayGroups, RegexpSortCharacterClassElements, RegexpUnicodeEscape, RegexpUnicodeProperty, RequireAtomicUpdates, RequireUnicodeRegexp, ResolvedOptions, RestSpreadSpacing, RuleOptions, Semi, SemiSpacing, SemiStyle, SortImports, SortKeys, SortVars, SpaceBeforeBlocks, SpaceBeforeFunctionParen, SpaceInParens, SpaceInfixOps, SpaceUnaryOps, SpacedComment, Strict, SvgoSvgo, SwitchColonSpacing, TSESLintParserOptions, TemplateCurlySpacing, TemplateTagSpacing, TomlArrayBracketNewline, TomlArrayBracketSpacing, TomlArrayElementNewline, TomlCommaStyle, TomlIndent, TomlInlineTableCurlySpacing, TomlKeySpacing, TomlNoMixedTypeInArray, TomlNoNonDecimalInteger, TomlPrecisionOfFractionalSeconds, TomlPrecisionOfInteger, TomlQuotedKeys, TomlSpacedComment, TomlTableBracketSpacing, TypedConfigItem, TypescriptEslintArrayType, TypescriptEslintBanTsComment, TypescriptEslintClassLiteralPropertyStyle, TypescriptEslintClassMethodsUseThis, TypescriptEslintConsistentGenericConstructors, TypescriptEslintConsistentIndexedObjectStyle, TypescriptEslintConsistentReturn, TypescriptEslintConsistentTypeAssertions, TypescriptEslintConsistentTypeDefinitions, TypescriptEslintConsistentTypeExports, TypescriptEslintConsistentTypeImports, TypescriptEslintDotNotation, TypescriptEslintExplicitFunctionReturnType, TypescriptEslintExplicitMemberAccessibility, TypescriptEslintExplicitModuleBoundaryTypes, TypescriptEslintInitDeclarations, TypescriptEslintMaxParams, TypescriptEslintMemberOrdering, TypescriptEslintMethodSignatureStyle, TypescriptEslintNamingConvention, TypescriptEslintNoBaseToString, TypescriptEslintNoConfusingVoidExpression, TypescriptEslintNoDeprecated, TypescriptEslintNoDuplicateTypeConstituents, TypescriptEslintNoEmptyFunction, TypescriptEslintNoEmptyInterface, TypescriptEslintNoEmptyObjectType, TypescriptEslintNoExplicitAny, TypescriptEslintNoExtraneousClass, TypescriptEslintNoFloatingPromises, TypescriptEslintNoInferrableTypes, TypescriptEslintNoInvalidThis, TypescriptEslintNoInvalidVoidType, TypescriptEslintNoMagicNumbers, TypescriptEslintNoMeaninglessVoidOperator, TypescriptEslintNoMisusedPromises, TypescriptEslintNoMisusedSpread, TypescriptEslintNoNamespace, TypescriptEslintNoRedeclare, TypescriptEslintNoRequireImports, TypescriptEslintNoRestrictedImports, TypescriptEslintNoRestrictedTypes, TypescriptEslintNoShadow, TypescriptEslintNoThisAlias, TypescriptEslintNoTypeAlias, TypescriptEslintNoUnnecessaryBooleanLiteralCompare, TypescriptEslintNoUnnecessaryCondition, TypescriptEslintNoUnnecessaryTypeAssertion, TypescriptEslintNoUnusedExpressions, TypescriptEslintNoUnusedVars, TypescriptEslintNoUseBeforeDefine, TypescriptEslintNoVarRequires, TypescriptEslintOnlyThrowError, TypescriptEslintParameterProperties, TypescriptEslintPreferDestructuring, TypescriptEslintPreferLiteralEnumMember, TypescriptEslintPreferNullishCoalescing, TypescriptEslintPreferOptionalChain, TypescriptEslintPreferPromiseRejectErrors, TypescriptEslintPreferReadonly, TypescriptEslintPreferReadonlyParameterTypes, TypescriptEslintPreferStringStartsEndsWith, TypescriptEslintPromiseFunctionAsync, TypescriptEslintRequireArraySortCompare, TypescriptEslintRestrictPlusOperands, TypescriptEslintRestrictTemplateExpressions, TypescriptEslintReturnAwait, TypescriptEslintSortTypeConstituents, TypescriptEslintStrictBooleanExpressions, TypescriptEslintSwitchExhaustivenessCheck, TypescriptEslintTripleSlashReference, TypescriptEslintTypedef, TypescriptEslintUnboundMethod, TypescriptEslintUnifiedSignatures, UnicodeBom, UnicornBetterRegex, UnicornCatchErrorName, UnicornConsistentFunctionScoping, UnicornEscapeCase, UnicornExpiringTodoComments, UnicornExplicitLengthCheck, UnicornFilenameCase, UnicornImportStyle, UnicornNoArrayReduce, UnicornNoInstanceofBuiltins, UnicornNoKeywordPrefix, UnicornNoNull, UnicornNoTypeofUndefined, UnicornNoUnnecessaryPolyfills, UnicornNoUselessUndefined, UnicornNumberLiteralCase, UnicornNumericSeparatorsStyle, UnicornPreferAddEventListener, UnicornPreferArrayFind, UnicornPreferArrayFlat, UnicornPreferAt, UnicornPreferExportFrom, UnicornPreferNumberProperties, UnicornPreferObjectFromEntries, UnicornPreferSingleCall, UnicornPreferStructuredClone, UnicornPreferSwitch, UnicornPreferTernary, UnicornPreventAbbreviations, UnicornRelativeUrlStyle, UnicornStringContent, UnicornSwitchCaseBraces, UnicornTemplateIndent, UnocssEnforceClassCompile, UnusedImportsNoUnusedImports, UnusedImportsNoUnusedVars, UseIsnan, ValidTypeof, VitestConsistentTestFilename, VitestConsistentTestIt, VitestExpectExpect, VitestMaxExpects, VitestMaxNestedDescribe, VitestNoFocusedTests, VitestNoHooks, VitestNoLargeSnapshots, VitestNoRestrictedMatchers, VitestNoRestrictedViMethods, VitestNoStandaloneExpect, VitestPreferExpectAssertions, VitestPreferLowercaseTitle, VitestPreferSnapshotHint, VitestRequireHook, VitestRequireMockTypeParameters, VitestRequireTopLevelDescribe, VitestValidExpect, VitestValidTitle, VueArrayBracketNewline, VueArrayBracketSpacing, VueArrayElementNewline, VueArrowSpacing, VueAttributeHyphenation, VueAttributesOrder, VueBlockLang, VueBlockOrder, VueBlockSpacing, VueBlockTagNewline, VueBraceStyle, VueCamelcase, VueCommaDangle, VueCommaSpacing, VueCommaStyle, VueCommentDirective, VueComponentApiStyle, VueComponentDefinitionNameCasing, VueComponentNameInTemplateCasing, VueComponentOptionsNameCasing, VueCustomEventNameCasing, VueDefineEmitsDeclaration, VueDefineMacrosOrder, VueDefinePropsDeclaration, VueDefinePropsDestructuring, VueDotLocation, VueDotNotation, VueEnforceStyleAttribute, VueEqeqeq, VueFirstAttributeLinebreak, VueFuncCallSpacing, VueHtmlButtonHasType, VueHtmlClosingBracketNewline, VueHtmlClosingBracketSpacing, VueHtmlCommentContentNewline, VueHtmlCommentContentSpacing, VueHtmlCommentIndent, VueHtmlIndent, VueHtmlQuotes, VueHtmlSelfClosing, VueKeySpacing, VueKeywordSpacing, VueMatchComponentFileName, VueMaxAttributesPerLine, VueMaxLen, VueMaxLinesPerBlock, VueMaxProps, VueMaxTemplateDepth, VueMultiWordComponentNames, VueMultilineHtmlElementContentNewline, VueMultilineTernary, VueMustacheInterpolationSpacing, VueNewLineBetweenMultiLineProperty, VueNextTickStyle, VueNoBareStringsInTemplate, VueNoBooleanDefault, VueNoChildContent, VueNoConsole, VueNoConstantCondition, VueNoDeprecatedModelDefinition, VueNoDeprecatedRouterLinkTagProp, VueNoDeprecatedSlotAttribute, VueNoDupeKeys, VueNoDuplicateAttrInheritance, VueNoDuplicateAttributes, VueNoEmptyPattern, VueNoExtraParens, VueNoImplicitCoercion, VueNoIrregularWhitespace, VueNoLoneTemplate, VueNoMultiSpaces, VueNoMultipleTemplateRoot, VueNoMutatingProps, VueNoParsingError, VueNoPotentialComponentOptionTypo, VueNoRequiredPropWithDefault, VueNoReservedComponentNames, VueNoReservedKeys, VueNoReservedProps, VueNoRestrictedBlock, VueNoRestrictedCallAfterAwait, VueNoRestrictedClass, VueNoRestrictedComponentNames, VueNoRestrictedComponentOptions, VueNoRestrictedCustomEvent, VueNoRestrictedHtmlElements, VueNoRestrictedProps, VueNoRestrictedStaticAttribute, VueNoRestrictedSyntax, VueNoRestrictedVBind, VueNoRestrictedVOn, VueNoStaticInlineStyles, VueNoTemplateShadow, VueNoTemplateTargetBlank, VueNoUndefComponents, VueNoUndefProperties, VueNoUnsupportedFeatures, VueNoUnusedComponents, VueNoUnusedProperties, VueNoUnusedVars, VueNoUseVIfWithVFor, VueNoUselessMustaches, VueNoUselessVBind, VueNoVTextVHtmlOnComponent, VueObjectCurlyNewline, VueObjectCurlySpacing, VueObjectPropertyNewline, VueObjectShorthand, VueOperatorLinebreak, VueOrderInComponents, VuePaddingLineBetweenBlocks, VuePaddingLineBetweenTags, VuePaddingLinesInComponentDefinition, VuePreferTrueAttributeShorthand, VuePropNameCasing, VueQuoteProps, VueRequireDirectExport, VueRequireExplicitEmits, VueRequireMacroVariableName, VueRequirePropComment, VueRequireToggleInsideTransition, VueRestrictedComponentNames, VueReturnInComputedProperty, VueScriptIndent, VueSinglelineHtmlElementContentNewline, VueSlotNameCasing, VueSortKeys, VueSpaceInParens, VueSpaceInfixOps, VueSpaceUnaryOps, VueTemplateCurlySpacing, VueThisInTemplate, VueVBindStyle, VueVForDelimiterStyle, VueVOnEventHyphenation, VueVOnHandlerStyle, VueVOnStyle, VueVSlotStyle, VueValidVOn, VueValidVSlot, WrapIife, YieldStarSpacing, YmlBlockMapping, YmlBlockMappingColonIndicatorNewline, YmlBlockMappingQuestionIndicatorNewline, YmlBlockSequence, YmlBlockSequenceHyphenIndicatorNewline, YmlFileExtension, YmlFlowMappingCurlyNewline, YmlFlowMappingCurlySpacing, YmlFlowSequenceBracketNewline, YmlFlowSequenceBracketSpacing, YmlIndent, YmlKeyNameCasing, YmlKeySpacing, YmlNoIrregularWhitespace, YmlNoMultipleEmptyLines, YmlPlainScalar, YmlQuotes, YmlSortKeys, YmlSortSequenceValues, YmlSpacedComment, Yoda, _ArrayElementNewlineBasicConfig, _CommaDangleValue, _CommaDangleValueWithIgnore, _FuncNamesValue, _JsoncArrayElementNewlineBasicConfig, _JsoncCommaDangleValue, _JsoncCommaDangleValueWithIgnore, _PaddingLineBetweenStatementsPaddingType, _PaddingLineBetweenStatementsStatementType, _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType, _PerfectionistSortImportsSortImports, _PerfectionistSortImports_IsLineLength, _TomlArrayElementNewlineBasicConfig, _TypescriptEslintNamingConventionFormatOptionsConfig, _TypescriptEslintNamingConventionPredefinedFormats, _TypescriptEslintNamingConventionTypeModifiers, _TypescriptEslintNamingConventionUnderscoreOptions, _TypescriptEslintNamingConvention_MatchRegexConfig, _TypescriptEslintNamingConvention_PrefixSuffixConfig, _UnicornImportStyleStyles, _UnicornImportStyle_BooleanObject, _UnicornImportStyle_ModuleStyles, _UnicornPreventAbbreviationsReplacements, _UnicornPreventAbbreviations_Abbreviations, _UnicornPreventAbbreviations_BooleanObject, _VueArrayElementNewlineBasicConfig, _VueCommaDangleValue, _VueCommaDangleValueWithIgnore, _VueHtmlSelfClosingOptionValue };
|