@ntnyq/eslint-config 4.0.3 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # eslint-config
1
+ # @ntnyq/eslint-config
2
2
 
3
3
  > ESLint config for JavaScript, TypeScript, Vue, JSON, Markdown, YAML, TOML, SVG and etc.
4
4
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Features
11
11
 
12
- - Designed to work alongside with [Prettier](https://prettier.io)
12
+ - Designed to work alongside with [Prettier](https://prettier.io) and [TypeScript](https://www.typescriptlang.org/)
13
13
  - Opinionable: single quote, no semi, trailing comma, etc
14
14
  - Respect `.gitignore` via [eslint-config-flat-gitignore](https://github.com/antfu/eslint-config-flat-gitignore)
15
15
  - Out-of-box support for TypeScript, Vue, JSON, Markdown, YAML, TOML, SVG and etc
@@ -44,7 +44,9 @@ Highly recommended using **`eslint.config.mjs`** as the config file :
44
44
 
45
45
  import { defineESLintConfig } from '@ntnyq/eslint-config'
46
46
 
47
- export default defineESLintConfig()
47
+ export default defineESLintConfig({
48
+ // Options here
49
+ })
48
50
  ```
49
51
 
50
52
  Add scripts `lint` in `package.json`:
@@ -144,11 +146,11 @@ export default defineConfig({
144
146
 
145
147
  ### 1. Add dependencies
146
148
 
147
- ```bash
149
+ ```shell
148
150
  pnpm add husky nano-staged -D
149
151
  ```
150
152
 
151
- ### 2. Config `package.json`
153
+ ### 2. Config in `package.json`
152
154
 
153
155
  ```json
154
156
  {
@@ -164,12 +166,16 @@ pnpm add husky nano-staged -D
164
166
 
165
167
  ### 3. Add a Git hook
166
168
 
167
- ```bash
169
+ ```shell
168
170
  echo "nano-staged" > .husky/pre-commit
169
171
  ```
170
172
 
171
173
  </details>
172
174
 
175
+ ## View what rules are enabled
176
+
177
+ Please check [eslint-config-inspector](https://eslint-config-inspector.ntnyq.com/) powered by [@eslint/config-inspector](https://github.com/eslint/config-inspector).
178
+
173
179
  ## Advanced config
174
180
 
175
181
  Check for detail in:
@@ -234,7 +240,7 @@ export interface ConfigOptions {
234
240
 
235
241
  ## Versioning policy
236
242
 
237
- This project follows [Semantic Versioning](https://semver.org/) for releases.
243
+ This project aims to follows [Semantic Versioning](https://semver.org/) for releases.
238
244
 
239
245
  ### Changes considered as Breaking Changes
240
246
 
package/dist/index.d.mts CHANGED
@@ -15,8 +15,6 @@ import * as yamlEslintParser from 'yaml-eslint-parser';
15
15
  export { yamlEslintParser as parserYaml };
16
16
  import * as jsoncEslintParser from 'jsonc-eslint-parser';
17
17
  export { jsoncEslintParser as parserJsonc };
18
- import * as eslintPluginDepend from 'eslint-plugin-depend';
19
- export { eslintPluginDepend as pluginDepend };
20
18
  import * as eslintPluginRegexp from 'eslint-plugin-regexp';
21
19
  export { eslintPluginRegexp as pluginRegexp };
22
20
  export { default as pluginNode } from 'eslint-plugin-n';
@@ -31,6 +29,7 @@ export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
31
29
  export { default as pluginJsonc } from 'eslint-plugin-jsonc';
32
30
  export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
33
31
  export { default as pluginPinia } from 'eslint-plugin-pinia';
32
+ export { default as pluginDepend } from 'eslint-plugin-depend';
34
33
  export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
35
34
  export { default as pluginVitest } from '@vitest/eslint-plugin';
36
35
  export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
@@ -2054,233 +2053,233 @@ interface RuleOptions {
2054
2053
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
2055
2054
  /**
2056
2055
  * Enforce or ban the use of inline type-only markers for named imports.
2057
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/consistent-type-specifier-style.md
2056
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/consistent-type-specifier-style.md
2058
2057
  */
2059
2058
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
2060
2059
  /**
2061
2060
  * Ensure a default export is present, given a default import.
2062
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/default.md
2061
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/default.md
2063
2062
  */
2064
2063
  'import-x/default'?: Linter.RuleEntry<[]>
2065
2064
  /**
2066
2065
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
2067
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/dynamic-import-chunkname.md
2066
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/dynamic-import-chunkname.md
2068
2067
  */
2069
2068
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
2070
2069
  /**
2071
2070
  * Forbid any invalid exports, i.e. re-export of the same name.
2072
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/export.md
2071
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/export.md
2073
2072
  */
2074
2073
  'import-x/export'?: Linter.RuleEntry<[]>
2075
2074
  /**
2076
2075
  * Ensure all exports appear after other statements.
2077
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/exports-last.md
2076
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/exports-last.md
2078
2077
  */
2079
2078
  'import-x/exports-last'?: Linter.RuleEntry<[]>
2080
2079
  /**
2081
2080
  * Ensure consistent use of file extension within the import path.
2082
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/extensions.md
2081
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/extensions.md
2083
2082
  */
2084
2083
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
2085
2084
  /**
2086
2085
  * Ensure all imports appear before other statements.
2087
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/first.md
2086
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/first.md
2088
2087
  */
2089
2088
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>
2090
2089
  /**
2091
2090
  * Prefer named exports to be grouped together in a single export declaration.
2092
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/group-exports.md
2091
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/group-exports.md
2093
2092
  */
2094
2093
  'import-x/group-exports'?: Linter.RuleEntry<[]>
2095
2094
  /**
2096
2095
  * Replaced by `import-x/first`.
2097
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/imports-first.md
2096
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/imports-first.md
2098
2097
  * @deprecated
2099
2098
  */
2100
2099
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
2101
2100
  /**
2102
2101
  * Enforce the maximum number of dependencies a module can have.
2103
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/max-dependencies.md
2102
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/max-dependencies.md
2104
2103
  */
2105
2104
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
2106
2105
  /**
2107
2106
  * Ensure named imports correspond to a named export in the remote file.
2108
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/named.md
2107
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/named.md
2109
2108
  */
2110
2109
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>
2111
2110
  /**
2112
2111
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
2113
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/namespace.md
2112
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/namespace.md
2114
2113
  */
2115
2114
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
2116
2115
  /**
2117
2116
  * Enforce a newline after import statements.
2118
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/newline-after-import.md
2117
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/newline-after-import.md
2119
2118
  */
2120
2119
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
2121
2120
  /**
2122
2121
  * Forbid import of modules using absolute paths.
2123
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-absolute-path.md
2122
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-absolute-path.md
2124
2123
  */
2125
2124
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
2126
2125
  /**
2127
2126
  * Forbid AMD `require` and `define` calls.
2128
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-amd.md
2127
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-amd.md
2129
2128
  */
2130
2129
  'import-x/no-amd'?: Linter.RuleEntry<[]>
2131
2130
  /**
2132
2131
  * Forbid anonymous values as default exports.
2133
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-anonymous-default-export.md
2132
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-anonymous-default-export.md
2134
2133
  */
2135
2134
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
2136
2135
  /**
2137
2136
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
2138
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-commonjs.md
2137
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-commonjs.md
2139
2138
  */
2140
2139
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
2141
2140
  /**
2142
2141
  * Forbid a module from importing a module with a dependency path back to itself.
2143
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-cycle.md
2142
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-cycle.md
2144
2143
  */
2145
2144
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
2146
2145
  /**
2147
2146
  * Forbid default exports.
2148
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-default-export.md
2147
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-default-export.md
2149
2148
  */
2150
2149
  'import-x/no-default-export'?: Linter.RuleEntry<[]>
2151
2150
  /**
2152
2151
  * Forbid imported names marked with `@deprecated` documentation tag.
2153
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-deprecated.md
2152
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-deprecated.md
2154
2153
  */
2155
2154
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>
2156
2155
  /**
2157
2156
  * Forbid repeated import of the same module in multiple places.
2158
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-duplicates.md
2157
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-duplicates.md
2159
2158
  */
2160
2159
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
2161
2160
  /**
2162
2161
  * Forbid `require()` calls with expressions.
2163
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-dynamic-require.md
2162
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-dynamic-require.md
2164
2163
  */
2165
2164
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
2166
2165
  /**
2167
2166
  * Forbid empty named import blocks.
2168
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-empty-named-blocks.md
2167
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-empty-named-blocks.md
2169
2168
  */
2170
2169
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
2171
2170
  /**
2172
2171
  * Forbid the use of extraneous packages.
2173
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-extraneous-dependencies.md
2172
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-extraneous-dependencies.md
2174
2173
  */
2175
2174
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
2176
2175
  /**
2177
2176
  * Forbid import statements with CommonJS module.exports.
2178
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-import-module-exports.md
2177
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-import-module-exports.md
2179
2178
  */
2180
2179
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
2181
2180
  /**
2182
2181
  * Forbid importing the submodules of other modules.
2183
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-internal-modules.md
2182
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-internal-modules.md
2184
2183
  */
2185
2184
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
2186
2185
  /**
2187
2186
  * Forbid the use of mutable exports with `var` or `let`.
2188
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-mutable-exports.md
2187
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-mutable-exports.md
2189
2188
  */
2190
2189
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
2191
2190
  /**
2192
2191
  * Forbid use of exported name as identifier of default export.
2193
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-as-default.md
2192
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-named-as-default.md
2194
2193
  */
2195
2194
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
2196
2195
  /**
2197
2196
  * Forbid use of exported name as property of default export.
2198
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-as-default-member.md
2197
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-named-as-default-member.md
2199
2198
  */
2200
2199
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
2201
2200
  /**
2202
2201
  * Forbid named default exports.
2203
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-default.md
2202
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-named-default.md
2204
2203
  */
2205
2204
  'import-x/no-named-default'?: Linter.RuleEntry<[]>
2206
2205
  /**
2207
2206
  * Forbid named exports.
2208
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-export.md
2207
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-named-export.md
2209
2208
  */
2210
2209
  'import-x/no-named-export'?: Linter.RuleEntry<[]>
2211
2210
  /**
2212
2211
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
2213
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-namespace.md
2212
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-namespace.md
2214
2213
  */
2215
2214
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
2216
2215
  /**
2217
2216
  * Forbid Node.js builtin modules.
2218
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-nodejs-modules.md
2217
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-nodejs-modules.md
2219
2218
  */
2220
2219
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
2221
2220
  /**
2222
2221
  * Forbid importing packages through relative paths.
2223
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-relative-packages.md
2222
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-relative-packages.md
2224
2223
  */
2225
2224
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
2226
2225
  /**
2227
2226
  * Forbid importing modules from parent directories.
2228
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-relative-parent-imports.md
2227
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-relative-parent-imports.md
2229
2228
  */
2230
2229
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
2231
2230
  /**
2232
2231
  * Forbid importing a default export by a different name.
2233
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-rename-default.md
2232
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-rename-default.md
2234
2233
  */
2235
2234
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
2236
2235
  /**
2237
2236
  * Enforce which files can be imported in a given folder.
2238
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-restricted-paths.md
2237
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-restricted-paths.md
2239
2238
  */
2240
2239
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
2241
2240
  /**
2242
2241
  * Forbid a module from importing itself.
2243
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-self-import.md
2242
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-self-import.md
2244
2243
  */
2245
2244
  'import-x/no-self-import'?: Linter.RuleEntry<[]>
2246
2245
  /**
2247
2246
  * Forbid unassigned imports.
2248
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unassigned-import.md
2247
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-unassigned-import.md
2249
2248
  */
2250
2249
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
2251
2250
  /**
2252
2251
  * Ensure imports point to a file/module that can be resolved.
2253
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unresolved.md
2252
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-unresolved.md
2254
2253
  */
2255
2254
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
2256
2255
  /**
2257
2256
  * Forbid modules without exports, or exports without matching import in another module.
2258
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unused-modules.md
2257
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-unused-modules.md
2259
2258
  */
2260
2259
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
2261
2260
  /**
2262
2261
  * Forbid unnecessary path segments in import and require statements.
2263
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-useless-path-segments.md
2262
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-useless-path-segments.md
2264
2263
  */
2265
2264
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
2266
2265
  /**
2267
2266
  * Forbid webpack loader syntax in imports.
2268
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-webpack-loader-syntax.md
2267
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/no-webpack-loader-syntax.md
2269
2268
  */
2270
2269
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
2271
2270
  /**
2272
2271
  * Enforce a convention in module import order.
2273
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/order.md
2272
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/order.md
2274
2273
  */
2275
2274
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>
2276
2275
  /**
2277
2276
  * Prefer a default export if module exports a single name or multiple names.
2278
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/prefer-default-export.md
2277
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/prefer-default-export.md
2279
2278
  */
2280
2279
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
2281
2280
  /**
2282
2281
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
2283
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/unambiguous.md
2282
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/unambiguous.md
2284
2283
  */
2285
2284
  'import-x/unambiguous'?: Linter.RuleEntry<[]>
2286
2285
  /**
@@ -5828,6 +5827,11 @@ interface RuleOptions {
5828
5827
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
5829
5828
  */
5830
5829
  'vitest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
5830
+ /**
5831
+ * enforce using a function as a describe title over an equivalent string
5832
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-describe-function-title.md
5833
+ */
5834
+ 'vitest/prefer-describe-function-title'?: Linter.RuleEntry<[]>
5831
5835
  /**
5832
5836
  * enforce using `each` rather than manual loops
5833
5837
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
@@ -8662,6 +8666,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
8662
8666
  type ClassMethodsUseThis = []|[{
8663
8667
  exceptMethods?: string[]
8664
8668
  enforceForClassFields?: boolean
8669
+ ignoreOverrideMethods?: boolean
8670
+ ignoreClassesWithImplements?: ("all" | "public-fields")
8665
8671
  }]
8666
8672
  // ----- comma-dangle -----
8667
8673
  type CommaDangle = []|[(_CommaDangleValue | {
@@ -11674,7 +11680,7 @@ type PerfectionistSortEnums = []|[{
11674
11680
  })[]
11675
11681
  }]
11676
11682
  // ----- perfectionist/sort-exports -----
11677
- type PerfectionistSortExports = []|[{
11683
+ type PerfectionistSortExports = {
11678
11684
 
11679
11685
  fallbackSort?: {
11680
11686
 
@@ -11698,6 +11704,68 @@ type PerfectionistSortExports = []|[{
11698
11704
 
11699
11705
  groupKind?: ("mixed" | "values-first" | "types-first")
11700
11706
 
11707
+ customGroups?: ({
11708
+
11709
+ newlinesInside?: ("always" | "never")
11710
+
11711
+ fallbackSort?: {
11712
+
11713
+ order?: ("asc" | "desc")
11714
+
11715
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11716
+ [k: string]: unknown | undefined
11717
+ }
11718
+
11719
+ groupName?: string
11720
+
11721
+ order?: ("asc" | "desc")
11722
+
11723
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11724
+ anyOf?: {
11725
+
11726
+ modifiers?: ("value" | "type")[]
11727
+
11728
+ selector?: "export"
11729
+
11730
+ elementNamePattern?: (({
11731
+ pattern?: string
11732
+ flags?: string
11733
+ } | string)[] | ({
11734
+ pattern?: string
11735
+ flags?: string
11736
+ } | string))
11737
+ }[]
11738
+ } | {
11739
+
11740
+ newlinesInside?: ("always" | "never")
11741
+
11742
+ fallbackSort?: {
11743
+
11744
+ order?: ("asc" | "desc")
11745
+
11746
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11747
+ [k: string]: unknown | undefined
11748
+ }
11749
+
11750
+ groupName?: string
11751
+
11752
+ order?: ("asc" | "desc")
11753
+
11754
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11755
+
11756
+ modifiers?: ("value" | "type")[]
11757
+
11758
+ selector?: "export"
11759
+
11760
+ elementNamePattern?: (({
11761
+ pattern?: string
11762
+ flags?: string
11763
+ } | string)[] | ({
11764
+ pattern?: string
11765
+ flags?: string
11766
+ } | string))
11767
+ })[]
11768
+
11701
11769
  partitionByComment?: (boolean | (({
11702
11770
  pattern?: string
11703
11771
  flags?: string
@@ -11722,7 +11790,14 @@ type PerfectionistSortExports = []|[{
11722
11790
  })
11723
11791
 
11724
11792
  partitionByNewLine?: boolean
11725
- }]
11793
+
11794
+ newlinesBetween?: ("ignore" | "always" | "never")
11795
+
11796
+ groups?: (string | string[] | {
11797
+
11798
+ newlinesBetween?: ("ignore" | "always" | "never")
11799
+ })[]
11800
+ }[]
11726
11801
  // ----- perfectionist/sort-heritage-clauses -----
11727
11802
  type PerfectionistSortHeritageClauses = []|[{
11728
11803
 
@@ -11950,6 +12025,8 @@ type PerfectionistSortInterfaces = {
11950
12025
  } | string))
11951
12026
  sortBy?: ("name" | "value")
11952
12027
  })[])
12028
+
12029
+ groupKind?: ("mixed" | "required-first" | "optional-first")
11953
12030
  useConfigurationIf?: {
11954
12031
 
11955
12032
  allNamesMatchPattern?: (({
@@ -11969,8 +12046,6 @@ type PerfectionistSortInterfaces = {
11969
12046
  } | string))
11970
12047
  }
11971
12048
 
11972
- groupKind?: ("mixed" | "required-first" | "optional-first")
11973
-
11974
12049
  partitionByComment?: (boolean | (({
11975
12050
  pattern?: string
11976
12051
  flags?: string
@@ -12089,6 +12164,85 @@ type PerfectionistSortJsxProps = {
12089
12164
  order?: ("asc" | "desc")
12090
12165
 
12091
12166
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12167
+ customGroups?: ({
12168
+ [k: string]: (string | string[]) | undefined
12169
+ } | ({
12170
+
12171
+ newlinesInside?: ("always" | "never")
12172
+
12173
+ fallbackSort?: {
12174
+
12175
+ order?: ("asc" | "desc")
12176
+
12177
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12178
+ [k: string]: unknown | undefined
12179
+ }
12180
+
12181
+ groupName?: string
12182
+
12183
+ order?: ("asc" | "desc")
12184
+
12185
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12186
+ anyOf?: {
12187
+
12188
+ modifiers?: ("shorthand" | "multiline")[]
12189
+
12190
+ selector?: ("multiline" | "prop" | "shorthand")
12191
+
12192
+ elementValuePattern?: (({
12193
+ pattern?: string
12194
+ flags?: string
12195
+ } | string)[] | ({
12196
+ pattern?: string
12197
+ flags?: string
12198
+ } | string))
12199
+
12200
+ elementNamePattern?: (({
12201
+ pattern?: string
12202
+ flags?: string
12203
+ } | string)[] | ({
12204
+ pattern?: string
12205
+ flags?: string
12206
+ } | string))
12207
+ }[]
12208
+ } | {
12209
+
12210
+ newlinesInside?: ("always" | "never")
12211
+
12212
+ fallbackSort?: {
12213
+
12214
+ order?: ("asc" | "desc")
12215
+
12216
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12217
+ [k: string]: unknown | undefined
12218
+ }
12219
+
12220
+ groupName?: string
12221
+
12222
+ order?: ("asc" | "desc")
12223
+
12224
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12225
+
12226
+ modifiers?: ("shorthand" | "multiline")[]
12227
+
12228
+ selector?: ("multiline" | "prop" | "shorthand")
12229
+
12230
+ elementValuePattern?: (({
12231
+ pattern?: string
12232
+ flags?: string
12233
+ } | string)[] | ({
12234
+ pattern?: string
12235
+ flags?: string
12236
+ } | string))
12237
+
12238
+ elementNamePattern?: (({
12239
+ pattern?: string
12240
+ flags?: string
12241
+ } | string)[] | ({
12242
+ pattern?: string
12243
+ flags?: string
12244
+ } | string))
12245
+ })[])
12092
12246
  useConfigurationIf?: {
12093
12247
 
12094
12248
  allNamesMatchPattern?: (({
@@ -12112,10 +12266,6 @@ type PerfectionistSortJsxProps = {
12112
12266
 
12113
12267
  newlinesBetween?: ("ignore" | "always" | "never")
12114
12268
 
12115
- customGroups?: {
12116
- [k: string]: (string | string[]) | undefined
12117
- }
12118
-
12119
12269
  ignorePattern?: (({
12120
12270
  pattern?: string
12121
12271
  flags?: string
@@ -12590,6 +12740,8 @@ type PerfectionistSortObjectTypes = {
12590
12740
  } | string))
12591
12741
  sortBy?: ("name" | "value")
12592
12742
  })[])
12743
+
12744
+ groupKind?: ("mixed" | "required-first" | "optional-first")
12593
12745
  useConfigurationIf?: {
12594
12746
 
12595
12747
  allNamesMatchPattern?: (({
@@ -12609,8 +12761,6 @@ type PerfectionistSortObjectTypes = {
12609
12761
  } | string))
12610
12762
  }
12611
12763
 
12612
- groupKind?: ("mixed" | "required-first" | "optional-first")
12613
-
12614
12764
  partitionByComment?: (boolean | (({
12615
12765
  pattern?: string
12616
12766
  flags?: string
@@ -16047,7 +16197,10 @@ declare const meta: {
16047
16197
  declare const index_d_meta: typeof meta;
16048
16198
  declare const index_d_parseForESLint: typeof parseForESLint;
16049
16199
  declare namespace index_d {
16050
- export { index_d_meta as meta, index_d_parseForESLint as parseForESLint };
16200
+ export {
16201
+ index_d_meta as meta,
16202
+ index_d_parseForESLint as parseForESLint,
16203
+ };
16051
16204
  }
16052
16205
 
16053
16206
  /**
@@ -16117,4 +16270,5 @@ declare const PERFECTIONIST_SORT_IMPORTS_GROUPS: string[];
16117
16270
  */
16118
16271
  declare const PERFECTIONIST_SORT_CLASSES_GROUPS: string[];
16119
16272
 
16120
- export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigDeMorganOptions, type ConfigDependOptions, type ConfigESLintCommentsOptions, type ConfigESLintPluginOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportXOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigOptionsInternal, type ConfigPerfectionistOptions, type ConfigPiniaOptions, type ConfigPnpmOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSVGOOptions, type ConfigSortOptions, type ConfigSpecialsOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, type ESLintConfig, type ESLintParser, type ESLintParserOptions, type ESLintProcessor, type ESLintRuleSeverity, type ESLintRulesRecord, 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, type InteropModuleDefault, type OptionsFiles, type OptionsIgnores, type OptionsOverrides, type OptionsShareable, 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, type PerfectionistPartitionByComment, type PrettierOptions, type Pretty, type ResolvedOptions, type RuleOptions, type TSESLintParserOptions, type TypedConfigItem, 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 };
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 };
package/dist/index.mjs CHANGED
@@ -11,8 +11,6 @@ import * as parserYaml from 'yaml-eslint-parser';
11
11
  export { parserYaml };
12
12
  import * as parserJsonc from 'jsonc-eslint-parser';
13
13
  export { parserJsonc };
14
- import * as pluginDepend from 'eslint-plugin-depend';
15
- export { pluginDepend };
16
14
  import * as pluginRegexp from 'eslint-plugin-regexp';
17
15
  export { pluginRegexp };
18
16
  import pluginNode from 'eslint-plugin-n';
@@ -39,6 +37,8 @@ import pluginNtnyq from 'eslint-plugin-ntnyq';
39
37
  export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
40
38
  import pluginPinia from 'eslint-plugin-pinia';
41
39
  export { default as pluginPinia } from 'eslint-plugin-pinia';
40
+ import pluginDepend from 'eslint-plugin-depend';
41
+ export { default as pluginDepend } from 'eslint-plugin-depend';
42
42
  import pluginUnoCSS from '@unocss/eslint-plugin';
43
43
  export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
44
44
  import pluginVitest from '@vitest/eslint-plugin';
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "4.0.3",
5
- "packageManager": "pnpm@10.7.0",
4
+ "version": "4.0.4",
5
+ "packageManager": "pnpm@10.8.1",
6
6
  "description": "An opinionated ESLint config preset of ntnyq",
7
7
  "keywords": [
8
8
  "eslint",
@@ -74,33 +74,33 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@antfu/install-pkg": "^1.0.0",
77
- "@clack/prompts": "^0.10.0",
78
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
79
- "@eslint/js": "^9.23.0",
77
+ "@clack/prompts": "^0.10.1",
78
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
79
+ "@eslint/js": "^9.24.0",
80
80
  "@eslint/markdown": "^6.3.0",
81
- "@unocss/eslint-plugin": "^66.1.0-beta.8",
82
- "@vitest/eslint-plugin": "^1.1.38",
81
+ "@unocss/eslint-plugin": "^66.1.0-beta.11",
82
+ "@vitest/eslint-plugin": "^1.1.42",
83
83
  "eslint-config-flat-gitignore": "^2.1.0",
84
84
  "eslint-flat-config-utils": "^2.0.1",
85
- "eslint-import-resolver-typescript": "^4.3.1",
85
+ "eslint-import-resolver-typescript": "^4.3.2",
86
86
  "eslint-merge-processors": "^2.0.0",
87
87
  "eslint-plugin-antfu": "^3.1.1",
88
88
  "eslint-plugin-command": "^3.2.0",
89
89
  "eslint-plugin-de-morgan": "^1.2.1",
90
- "eslint-plugin-depend": "^0.12.0",
90
+ "eslint-plugin-depend": "^1.0.0",
91
91
  "eslint-plugin-github-action": "^0.0.15",
92
- "eslint-plugin-import-x": "^4.10.0",
92
+ "eslint-plugin-import-x": "^4.10.3",
93
93
  "eslint-plugin-jsdoc": "^50.6.9",
94
94
  "eslint-plugin-jsonc": "^2.20.0",
95
95
  "eslint-plugin-n": "^17.17.0",
96
96
  "eslint-plugin-no-only-tests": "^3.3.0",
97
97
  "eslint-plugin-ntnyq": "^0.11.0",
98
- "eslint-plugin-perfectionist": "^4.10.1",
98
+ "eslint-plugin-perfectionist": "^4.11.0",
99
99
  "eslint-plugin-pinia": "^0.4.1",
100
100
  "eslint-plugin-pnpm": "^0.3.1",
101
- "eslint-plugin-prettier": "^5.2.5",
101
+ "eslint-plugin-prettier": "^5.2.6",
102
102
  "eslint-plugin-regexp": "^2.7.0",
103
- "eslint-plugin-svgo": "^0.7.0",
103
+ "eslint-plugin-svgo": "^0.7.1",
104
104
  "eslint-plugin-toml": "^0.12.0",
105
105
  "eslint-plugin-unicorn": "^58.0.0",
106
106
  "eslint-plugin-vue": "^10.0.0",
@@ -111,15 +111,15 @@
111
111
  "local-pkg": "^1.1.1",
112
112
  "prettier": "^3.5.3",
113
113
  "toml-eslint-parser": "^0.10.0",
114
- "typescript-eslint": "^8.29.0",
115
- "vue-eslint-parser": "^10.1.1",
114
+ "typescript-eslint": "^8.30.1",
115
+ "vue-eslint-parser": "^10.1.3",
116
116
  "yaml-eslint-parser": "^1.3.0"
117
117
  },
118
118
  "devDependencies": {
119
119
  "@ntnyq/prettier-config": "^2.0.0",
120
- "@types/node": "^22.13.14",
120
+ "@types/node": "^22.14.1",
121
121
  "bumpp": "^10.1.0",
122
- "eslint": "^9.23.0",
122
+ "eslint": "^9.24.0",
123
123
  "eslint-parser-plain": "^0.1.1",
124
124
  "eslint-plugin-eslint-plugin": "^6.4.0",
125
125
  "eslint-typegen": "^2.1.0",
@@ -129,7 +129,7 @@
129
129
  "npm-run-all2": "^7.0.2",
130
130
  "tinyglobby": "^0.2.12",
131
131
  "tsx": "^4.19.3",
132
- "typescript": "^5.8.2",
132
+ "typescript": "^5.8.3",
133
133
  "unbuild": "^3.5.0",
134
134
  "uncase": "^0.0.4",
135
135
  "vitest": "^3.1.1"