@ntnyq/eslint-config 3.0.0-beta.16 → 3.0.0-beta.18

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.ts CHANGED
@@ -17,6 +17,7 @@ export { default as pluginNode } from 'eslint-plugin-n';
17
17
  export { default as pluginVue } from 'eslint-plugin-vue';
18
18
  export { default as pluginYaml } from 'eslint-plugin-yml';
19
19
  export { default as pluginToml } from 'eslint-plugin-toml';
20
+ export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
20
21
  export { default as pluginMarkdown } from '@eslint/markdown';
21
22
  export { default as pluginAntfu } from 'eslint-plugin-antfu';
22
23
  export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
@@ -1064,233 +1065,233 @@ interface RuleOptions {
1064
1065
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
1065
1066
  /**
1066
1067
  * Enforce or ban the use of inline type-only markers for named imports.
1067
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/consistent-type-specifier-style.md
1068
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/consistent-type-specifier-style.md
1068
1069
  */
1069
1070
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
1070
1071
  /**
1071
1072
  * Ensure a default export is present, given a default import.
1072
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/default.md
1073
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/default.md
1073
1074
  */
1074
1075
  'import/default'?: Linter.RuleEntry<[]>;
1075
1076
  /**
1076
1077
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1077
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/dynamic-import-chunkname.md
1078
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/dynamic-import-chunkname.md
1078
1079
  */
1079
1080
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
1080
1081
  /**
1081
1082
  * Forbid any invalid exports, i.e. re-export of the same name.
1082
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/export.md
1083
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/export.md
1083
1084
  */
1084
1085
  'import/export'?: Linter.RuleEntry<[]>;
1085
1086
  /**
1086
1087
  * Ensure all exports appear after other statements.
1087
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/exports-last.md
1088
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/exports-last.md
1088
1089
  */
1089
1090
  'import/exports-last'?: Linter.RuleEntry<[]>;
1090
1091
  /**
1091
1092
  * Ensure consistent use of file extension within the import path.
1092
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/extensions.md
1093
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/extensions.md
1093
1094
  */
1094
1095
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
1095
1096
  /**
1096
1097
  * Ensure all imports appear before other statements.
1097
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/first.md
1098
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/first.md
1098
1099
  */
1099
1100
  'import/first'?: Linter.RuleEntry<ImportFirst>;
1100
1101
  /**
1101
1102
  * Prefer named exports to be grouped together in a single export declaration.
1102
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/group-exports.md
1103
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/group-exports.md
1103
1104
  */
1104
1105
  'import/group-exports'?: Linter.RuleEntry<[]>;
1105
1106
  /**
1106
1107
  * Replaced by `import-x/first`.
1107
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/imports-first.md
1108
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/imports-first.md
1108
1109
  * @deprecated
1109
1110
  */
1110
1111
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
1111
1112
  /**
1112
1113
  * Enforce the maximum number of dependencies a module can have.
1113
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/max-dependencies.md
1114
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/max-dependencies.md
1114
1115
  */
1115
1116
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
1116
1117
  /**
1117
1118
  * Ensure named imports correspond to a named export in the remote file.
1118
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/named.md
1119
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/named.md
1119
1120
  */
1120
1121
  'import/named'?: Linter.RuleEntry<ImportNamed>;
1121
1122
  /**
1122
1123
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1123
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/namespace.md
1124
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/namespace.md
1124
1125
  */
1125
1126
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
1126
1127
  /**
1127
1128
  * Enforce a newline after import statements.
1128
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/newline-after-import.md
1129
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/newline-after-import.md
1129
1130
  */
1130
1131
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
1131
1132
  /**
1132
1133
  * Forbid import of modules using absolute paths.
1133
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-absolute-path.md
1134
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-absolute-path.md
1134
1135
  */
1135
1136
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
1136
1137
  /**
1137
1138
  * Forbid AMD `require` and `define` calls.
1138
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-amd.md
1139
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-amd.md
1139
1140
  */
1140
1141
  'import/no-amd'?: Linter.RuleEntry<[]>;
1141
1142
  /**
1142
1143
  * Forbid anonymous values as default exports.
1143
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-anonymous-default-export.md
1144
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-anonymous-default-export.md
1144
1145
  */
1145
1146
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
1146
1147
  /**
1147
1148
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1148
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-commonjs.md
1149
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-commonjs.md
1149
1150
  */
1150
1151
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
1151
1152
  /**
1152
1153
  * Forbid a module from importing a module with a dependency path back to itself.
1153
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-cycle.md
1154
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-cycle.md
1154
1155
  */
1155
1156
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
1156
1157
  /**
1157
1158
  * Forbid default exports.
1158
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-default-export.md
1159
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-default-export.md
1159
1160
  */
1160
1161
  'import/no-default-export'?: Linter.RuleEntry<[]>;
1161
1162
  /**
1162
1163
  * Forbid imported names marked with `@deprecated` documentation tag.
1163
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-deprecated.md
1164
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-deprecated.md
1164
1165
  */
1165
1166
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
1166
1167
  /**
1167
1168
  * Forbid repeated import of the same module in multiple places.
1168
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-duplicates.md
1169
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-duplicates.md
1169
1170
  */
1170
1171
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
1171
1172
  /**
1172
1173
  * Forbid `require()` calls with expressions.
1173
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-dynamic-require.md
1174
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-dynamic-require.md
1174
1175
  */
1175
1176
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
1176
1177
  /**
1177
1178
  * Forbid empty named import blocks.
1178
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-empty-named-blocks.md
1179
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-empty-named-blocks.md
1179
1180
  */
1180
1181
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
1181
1182
  /**
1182
1183
  * Forbid the use of extraneous packages.
1183
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-extraneous-dependencies.md
1184
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-extraneous-dependencies.md
1184
1185
  */
1185
1186
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
1186
1187
  /**
1187
1188
  * Forbid import statements with CommonJS module.exports.
1188
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-import-module-exports.md
1189
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-import-module-exports.md
1189
1190
  */
1190
1191
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
1191
1192
  /**
1192
1193
  * Forbid importing the submodules of other modules.
1193
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-internal-modules.md
1194
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-internal-modules.md
1194
1195
  */
1195
1196
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
1196
1197
  /**
1197
1198
  * Forbid the use of mutable exports with `var` or `let`.
1198
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-mutable-exports.md
1199
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-mutable-exports.md
1199
1200
  */
1200
1201
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
1201
1202
  /**
1202
1203
  * Forbid use of exported name as identifier of default export.
1203
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default.md
1204
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default.md
1204
1205
  */
1205
1206
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
1206
1207
  /**
1207
1208
  * Forbid use of exported name as property of default export.
1208
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default-member.md
1209
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default-member.md
1209
1210
  */
1210
1211
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
1211
1212
  /**
1212
1213
  * Forbid named default exports.
1213
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-default.md
1214
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-default.md
1214
1215
  */
1215
1216
  'import/no-named-default'?: Linter.RuleEntry<[]>;
1216
1217
  /**
1217
1218
  * Forbid named exports.
1218
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-export.md
1219
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-export.md
1219
1220
  */
1220
1221
  'import/no-named-export'?: Linter.RuleEntry<[]>;
1221
1222
  /**
1222
1223
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1223
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-namespace.md
1224
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-namespace.md
1224
1225
  */
1225
1226
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
1226
1227
  /**
1227
1228
  * Forbid Node.js builtin modules.
1228
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-nodejs-modules.md
1229
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-nodejs-modules.md
1229
1230
  */
1230
1231
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
1231
1232
  /**
1232
1233
  * Forbid importing packages through relative paths.
1233
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-packages.md
1234
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-packages.md
1234
1235
  */
1235
1236
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
1236
1237
  /**
1237
1238
  * Forbid importing modules from parent directories.
1238
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-parent-imports.md
1239
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-parent-imports.md
1239
1240
  */
1240
1241
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
1241
1242
  /**
1242
1243
  * Forbid importing a default export by a different name.
1243
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-rename-default.md
1244
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-rename-default.md
1244
1245
  */
1245
1246
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
1246
1247
  /**
1247
1248
  * Enforce which files can be imported in a given folder.
1248
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-restricted-paths.md
1249
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-restricted-paths.md
1249
1250
  */
1250
1251
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
1251
1252
  /**
1252
1253
  * Forbid a module from importing itself.
1253
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-self-import.md
1254
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-self-import.md
1254
1255
  */
1255
1256
  'import/no-self-import'?: Linter.RuleEntry<[]>;
1256
1257
  /**
1257
1258
  * Forbid unassigned imports.
1258
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unassigned-import.md
1259
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unassigned-import.md
1259
1260
  */
1260
1261
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
1261
1262
  /**
1262
1263
  * Ensure imports point to a file/module that can be resolved.
1263
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unresolved.md
1264
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unresolved.md
1264
1265
  */
1265
1266
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
1266
1267
  /**
1267
1268
  * Forbid modules without exports, or exports without matching import in another module.
1268
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unused-modules.md
1269
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unused-modules.md
1269
1270
  */
1270
1271
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
1271
1272
  /**
1272
1273
  * Forbid unnecessary path segments in import and require statements.
1273
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-useless-path-segments.md
1274
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-useless-path-segments.md
1274
1275
  */
1275
1276
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
1276
1277
  /**
1277
1278
  * Forbid webpack loader syntax in imports.
1278
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-webpack-loader-syntax.md
1279
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-webpack-loader-syntax.md
1279
1280
  */
1280
1281
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
1281
1282
  /**
1282
1283
  * Enforce a convention in module import order.
1283
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/order.md
1284
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/order.md
1284
1285
  */
1285
1286
  'import/order'?: Linter.RuleEntry<ImportOrder>;
1286
1287
  /**
1287
1288
  * Prefer a default export if module exports a single name or multiple names.
1288
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/prefer-default-export.md
1289
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/prefer-default-export.md
1289
1290
  */
1290
1291
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
1291
1292
  /**
1292
1293
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1293
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/unambiguous.md
1294
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/unambiguous.md
1294
1295
  */
1295
1296
  'import/unambiguous'?: Linter.RuleEntry<[]>;
1296
1297
  /**
@@ -2991,6 +2992,11 @@ interface RuleOptions {
2991
2992
  * @deprecated
2992
2993
  */
2993
2994
  'nonblock-statement-body-position'?: Linter.RuleEntry<NonblockStatementBodyPosition>;
2995
+ /**
2996
+ * Disallow usage of typescript member accessibility
2997
+ * @see https://eslint-plugin.ntnyq.com/rules/no-member-accessibility.html
2998
+ */
2999
+ 'ntnyq/no-member-accessibility'?: Linter.RuleEntry<[]>;
2994
3000
  /**
2995
3001
  * Enforce consistent line breaks after opening and before closing braces
2996
3002
  * @see https://eslint.org/docs/latest/rules/object-curly-newline
@@ -6713,6 +6719,7 @@ type TypescriptEslintNoUnnecessaryCondition = [] | [
6713
6719
  {
6714
6720
  allowConstantLoopConditions?: boolean;
6715
6721
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
6722
+ checkTypePredicates?: boolean;
6716
6723
  }
6717
6724
  ];
6718
6725
  type TypescriptEslintNoUnnecessaryTypeAssertion = [] | [
@@ -7930,6 +7937,7 @@ type JsdocRequireParam = [] | [
7930
7937
  enableRestElementFixer?: boolean;
7931
7938
  enableRootFixer?: boolean;
7932
7939
  exemptedBy?: string[];
7940
+ ignoreWhenAllParamsMissing?: boolean;
7933
7941
  unnamedRootBase?: string[];
7934
7942
  useDefaultObjectProperties?: boolean;
7935
7943
  }
@@ -9718,14 +9726,18 @@ type PerfectionistSortArrayIncludes = [] | [
9718
9726
  {
9719
9727
  type?: ("alphabetical" | "natural" | "line-length");
9720
9728
  order?: ("asc" | "desc");
9729
+ matcher?: ("minimatch" | "regex");
9721
9730
  ignoreCase?: boolean;
9722
9731
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
9732
+ partitionByComment?: (string[] | boolean | string);
9733
+ partitionByNewLine?: boolean;
9723
9734
  }
9724
9735
  ];
9725
9736
  type PerfectionistSortAstroAttributes = [] | [
9726
9737
  {
9727
9738
  type?: ("alphabetical" | "natural" | "line-length");
9728
9739
  order?: ("asc" | "desc");
9740
+ matcher?: ("minimatch" | "regex");
9729
9741
  ignoreCase?: boolean;
9730
9742
  groups?: (string | string[])[];
9731
9743
  customGroups?: {
@@ -9737,6 +9749,7 @@ type PerfectionistSortClasses = [] | [
9737
9749
  {
9738
9750
  type?: ("alphabetical" | "natural" | "line-length");
9739
9751
  order?: ("asc" | "desc");
9752
+ matcher?: ("minimatch" | "regex");
9740
9753
  ignoreCase?: boolean;
9741
9754
  partitionByComment?: (string[] | boolean | string);
9742
9755
  groups?: (string | string[])[];
@@ -9767,23 +9780,30 @@ type PerfectionistSortEnums = [] | [
9767
9780
  {
9768
9781
  type?: ("alphabetical" | "natural" | "line-length");
9769
9782
  order?: ("asc" | "desc");
9783
+ matcher?: ("minimatch" | "regex");
9770
9784
  ignoreCase?: boolean;
9771
9785
  sortByValue?: boolean;
9772
9786
  forceNumericSort?: boolean;
9773
9787
  partitionByComment?: (string[] | boolean | string);
9788
+ partitionByNewLine?: boolean;
9774
9789
  }
9775
9790
  ];
9776
9791
  type PerfectionistSortExports = [] | [
9777
9792
  {
9778
9793
  type?: ("alphabetical" | "natural" | "line-length");
9779
9794
  order?: ("asc" | "desc");
9795
+ matcher?: ("minimatch" | "regex");
9780
9796
  ignoreCase?: boolean;
9797
+ partitionByComment?: (string[] | boolean | string);
9798
+ partitionByNewLine?: boolean;
9799
+ groupKind?: ("mixed" | "values-first" | "types-first");
9781
9800
  }
9782
9801
  ];
9783
9802
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
9784
9803
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9785
9804
  type?: ("alphabetical" | "natural" | "line-length");
9786
9805
  order?: ("asc" | "desc");
9806
+ matcher?: ("minimatch" | "regex");
9787
9807
  ignoreCase?: boolean;
9788
9808
  internalPattern?: string[];
9789
9809
  sortSideEffects?: boolean;
@@ -9811,8 +9831,10 @@ type PerfectionistSortInterfaces = [] | [
9811
9831
  {
9812
9832
  type?: ("alphabetical" | "natural" | "line-length");
9813
9833
  order?: ("asc" | "desc");
9834
+ matcher?: ("minimatch" | "regex");
9814
9835
  ignoreCase?: boolean;
9815
9836
  ignorePattern?: string[];
9837
+ partitionByComment?: (boolean | string | string[]);
9816
9838
  partitionByNewLine?: boolean;
9817
9839
  groupKind?: ("mixed" | "optional-first" | "required-first");
9818
9840
  groups?: (string | string[])[];
@@ -9825,14 +9847,18 @@ type PerfectionistSortIntersectionTypes = [] | [
9825
9847
  {
9826
9848
  type?: ("alphabetical" | "natural" | "line-length");
9827
9849
  order?: ("asc" | "desc");
9850
+ matcher?: ("minimatch" | "regex");
9828
9851
  ignoreCase?: boolean;
9829
9852
  groups?: (string | string[])[];
9853
+ partitionByComment?: (string[] | boolean | string);
9854
+ partitionByNewLine?: boolean;
9830
9855
  }
9831
9856
  ];
9832
9857
  type PerfectionistSortJsxProps = [] | [
9833
9858
  {
9834
9859
  type?: ("alphabetical" | "natural" | "line-length");
9835
9860
  order?: ("asc" | "desc");
9861
+ matcher?: ("minimatch" | "regex");
9836
9862
  ignoreCase?: boolean;
9837
9863
  ignorePattern?: string[];
9838
9864
  groups?: (string | string[])[];
@@ -9845,31 +9871,42 @@ type PerfectionistSortMaps = [] | [
9845
9871
  {
9846
9872
  type?: ("alphabetical" | "natural" | "line-length");
9847
9873
  order?: ("asc" | "desc");
9874
+ matcher?: ("minimatch" | "regex");
9848
9875
  ignoreCase?: boolean;
9876
+ partitionByComment?: (string[] | boolean | string);
9877
+ partitionByNewLine?: boolean;
9849
9878
  }
9850
9879
  ];
9851
9880
  type PerfectionistSortNamedExports = [] | [
9852
9881
  {
9853
9882
  type?: ("alphabetical" | "natural" | "line-length");
9854
9883
  order?: ("asc" | "desc");
9884
+ matcher?: ("minimatch" | "regex");
9855
9885
  ignoreCase?: boolean;
9856
9886
  groupKind?: ("mixed" | "values-first" | "types-first");
9887
+ partitionByComment?: (string[] | boolean | string);
9888
+ partitionByNewLine?: boolean;
9857
9889
  }
9858
9890
  ];
9859
9891
  type PerfectionistSortNamedImports = [] | [
9860
9892
  {
9861
9893
  type?: ("alphabetical" | "natural" | "line-length");
9862
9894
  order?: ("asc" | "desc");
9895
+ matcher?: ("minimatch" | "regex");
9863
9896
  ignoreCase?: boolean;
9864
9897
  ignoreAlias?: boolean;
9865
9898
  groupKind?: ("mixed" | "values-first" | "types-first");
9899
+ partitionByComment?: (string[] | boolean | string);
9900
+ partitionByNewLine?: boolean;
9866
9901
  }
9867
9902
  ];
9868
9903
  type PerfectionistSortObjectTypes = [] | [
9869
9904
  {
9870
9905
  type?: ("alphabetical" | "natural" | "line-length");
9871
9906
  order?: ("asc" | "desc");
9907
+ matcher?: ("minimatch" | "regex");
9872
9908
  ignoreCase?: boolean;
9909
+ partitionByComment?: (string[] | boolean | string);
9873
9910
  partitionByNewLine?: boolean;
9874
9911
  groupKind?: ("mixed" | "required-first" | "optional-first");
9875
9912
  groups?: (string | string[])[];
@@ -9882,6 +9919,7 @@ type PerfectionistSortObjects = [] | [
9882
9919
  {
9883
9920
  type?: ("alphabetical" | "natural" | "line-length");
9884
9921
  order?: ("asc" | "desc");
9922
+ matcher?: ("minimatch" | "regex");
9885
9923
  ignoreCase?: boolean;
9886
9924
  partitionByComment?: (string[] | boolean | string);
9887
9925
  partitionByNewLine?: boolean;
@@ -9898,14 +9936,18 @@ type PerfectionistSortSets = [] | [
9898
9936
  {
9899
9937
  type?: ("alphabetical" | "natural" | "line-length");
9900
9938
  order?: ("asc" | "desc");
9939
+ matcher?: ("minimatch" | "regex");
9901
9940
  ignoreCase?: boolean;
9902
9941
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
9942
+ partitionByComment?: (string[] | boolean | string);
9943
+ partitionByNewLine?: boolean;
9903
9944
  }
9904
9945
  ];
9905
9946
  type PerfectionistSortSvelteAttributes = [] | [
9906
9947
  {
9907
9948
  type?: ("alphabetical" | "natural" | "line-length");
9908
9949
  order?: ("asc" | "desc");
9950
+ matcher?: ("minimatch" | "regex");
9909
9951
  ignoreCase?: boolean;
9910
9952
  groups?: (string | string[])[];
9911
9953
  customGroups?: {
@@ -9924,21 +9966,28 @@ type PerfectionistSortUnionTypes = [] | [
9924
9966
  {
9925
9967
  type?: ("alphabetical" | "natural" | "line-length");
9926
9968
  order?: ("asc" | "desc");
9969
+ matcher?: ("minimatch" | "regex");
9927
9970
  ignoreCase?: boolean;
9928
9971
  groups?: (string | string[])[];
9972
+ partitionByComment?: (string[] | boolean | string);
9973
+ partitionByNewLine?: boolean;
9929
9974
  }
9930
9975
  ];
9931
9976
  type PerfectionistSortVariableDeclarations = [] | [
9932
9977
  {
9933
9978
  type?: ("alphabetical" | "natural" | "line-length");
9934
9979
  order?: ("asc" | "desc");
9980
+ matcher?: ("minimatch" | "regex");
9935
9981
  ignoreCase?: boolean;
9982
+ partitionByComment?: (string[] | boolean | string);
9983
+ partitionByNewLine?: boolean;
9936
9984
  }
9937
9985
  ];
9938
9986
  type PerfectionistSortVueAttributes = [] | [
9939
9987
  {
9940
9988
  type?: ("alphabetical" | "natural" | "line-length");
9941
9989
  order?: ("asc" | "desc");
9990
+ matcher?: ("minimatch" | "regex");
9942
9991
  ignoreCase?: boolean;
9943
9992
  groups?: (string | string[])[];
9944
9993
  customGroups?: {
@@ -12211,7 +12260,7 @@ type Yoda = [] | [("always" | "never")] | [
12211
12260
  onlyEquality?: boolean;
12212
12261
  }
12213
12262
  ];
12214
- type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
12263
+ type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
12215
12264
 
12216
12265
  /**
12217
12266
  * Typed flat config item
@@ -12258,6 +12307,8 @@ interface ConfigNodeOptions extends OptionsOverrides {
12258
12307
  }
12259
12308
  interface ConfigAntfuOptions extends OptionsOverrides {
12260
12309
  }
12310
+ interface ConfigNtnyqOptions extends OptionsOverrides {
12311
+ }
12261
12312
  interface ConfigPrettierOptions extends OptionsOverrides {
12262
12313
  /**
12263
12314
  * Prettier level
@@ -12357,6 +12408,10 @@ interface ConfigOptions {
12357
12408
  * @internal
12358
12409
  */
12359
12410
  antfu?: boolean | ConfigAntfuOptions;
12411
+ /**
12412
+ * @internal
12413
+ */
12414
+ ntnyq?: boolean | ConfigNtnyqOptions;
12360
12415
  comments?: boolean | ConfigCommentsOptions;
12361
12416
  jsdoc?: boolean | ConfigJsdocOptions;
12362
12417
  unocss?: boolean | ConfigUnoCSSOptions;
@@ -12370,13 +12425,17 @@ interface ConfigOptions {
12370
12425
  }
12371
12426
 
12372
12427
  /**
12373
- * @file presets
12428
+ * @file factory function to create ESLint config
12374
12429
  */
12375
12430
 
12376
12431
  /**
12377
12432
  * Config factory
12378
12433
  */
12379
- declare function ntnyq(options?: ConfigOptions, userConfigs?: Arrayable<TypedConfigItem>): FlatConfigComposer<TypedConfigItem, ConfigNames>;
12434
+ declare function defineESLintConfig(options?: ConfigOptions, userConfigs?: Arrayable<TypedConfigItem>): FlatConfigComposer<TypedConfigItem, ConfigNames>;
12435
+ /**
12436
+ * @deprecated use `defineESLintConfig` instead
12437
+ */
12438
+ declare const ntnyq: typeof defineESLintConfig;
12380
12439
 
12381
12440
  /**
12382
12441
  * @file globs constants
@@ -12455,6 +12514,8 @@ declare const jsdoc: (options?: ConfigJsdocOptions) => TypedConfigItem[];
12455
12514
 
12456
12515
  declare const jsonc: (options?: ConfigJsoncOptions) => TypedConfigItem[];
12457
12516
 
12517
+ declare const createConfigNtnyq: (options?: ConfigNtnyqOptions) => TypedConfigItem[];
12518
+
12458
12519
  declare const regexp: (options?: ConfigRegexpOptions) => TypedConfigItem[];
12459
12520
 
12460
12521
  declare const unocss: (options?: ConfigUnoCSSOptions) => TypedConfigItem[];
@@ -12490,4 +12551,4 @@ declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConf
12490
12551
 
12491
12552
  declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
12492
12553
 
12493
- export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, specials, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };
12554
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, createConfigNtnyq, defineESLintConfig, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, specials, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };