@bfra.me/eslint-config 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +139 -190
- package/lib/index.js +99 -49
- package/package.json +14 -13
- package/src/config.d.ts +3 -3
- package/src/configs/markdown.ts +58 -52
- package/src/parsers/plain-parser.ts +24 -0
- package/src/rules.d.ts +136 -187
package/lib/index.d.ts
CHANGED
|
@@ -997,233 +997,233 @@ interface Rules {
|
|
|
997
997
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
998
998
|
/**
|
|
999
999
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1000
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1000
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
|
|
1001
1001
|
*/
|
|
1002
1002
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Ensure a default export is present, given a default import.
|
|
1005
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1005
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
|
|
1006
1006
|
*/
|
|
1007
1007
|
'import-x/default'?: Linter.RuleEntry<[]>
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1010
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1010
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
|
|
1011
1011
|
*/
|
|
1012
1012
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
|
|
1013
1013
|
/**
|
|
1014
1014
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1015
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1015
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
|
|
1016
1016
|
*/
|
|
1017
1017
|
'import-x/export'?: Linter.RuleEntry<[]>
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Ensure all exports appear after other statements.
|
|
1020
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1020
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
|
|
1021
1021
|
*/
|
|
1022
1022
|
'import-x/exports-last'?: Linter.RuleEntry<[]>
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Ensure consistent use of file extension within the import path.
|
|
1025
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1025
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
|
|
1026
1026
|
*/
|
|
1027
1027
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Ensure all imports appear before other statements.
|
|
1030
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1030
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
|
|
1031
1031
|
*/
|
|
1032
1032
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>
|
|
1033
1033
|
/**
|
|
1034
1034
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1035
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1035
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
|
|
1036
1036
|
*/
|
|
1037
1037
|
'import-x/group-exports'?: Linter.RuleEntry<[]>
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Replaced by `import-x/first`.
|
|
1040
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1040
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
|
|
1041
1041
|
* @deprecated
|
|
1042
1042
|
*/
|
|
1043
1043
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
|
|
1044
1044
|
/**
|
|
1045
1045
|
* Enforce the maximum number of dependencies a module can have.
|
|
1046
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1046
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
|
|
1047
1047
|
*/
|
|
1048
1048
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1051
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1051
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
|
|
1052
1052
|
*/
|
|
1053
1053
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>
|
|
1054
1054
|
/**
|
|
1055
1055
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1056
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1056
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
|
|
1057
1057
|
*/
|
|
1058
1058
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Enforce a newline after import statements.
|
|
1061
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1061
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
|
|
1062
1062
|
*/
|
|
1063
1063
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Forbid import of modules using absolute paths.
|
|
1066
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1066
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
|
|
1067
1067
|
*/
|
|
1068
1068
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Forbid AMD `require` and `define` calls.
|
|
1071
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1071
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
|
|
1072
1072
|
*/
|
|
1073
1073
|
'import-x/no-amd'?: Linter.RuleEntry<[]>
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Forbid anonymous values as default exports.
|
|
1076
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1076
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
|
|
1077
1077
|
*/
|
|
1078
1078
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1081
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1081
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
|
|
1082
1082
|
*/
|
|
1083
1083
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1086
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1086
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
|
|
1087
1087
|
*/
|
|
1088
1088
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
|
|
1089
1089
|
/**
|
|
1090
1090
|
* Forbid default exports.
|
|
1091
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1091
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
|
|
1092
1092
|
*/
|
|
1093
1093
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>
|
|
1094
1094
|
/**
|
|
1095
1095
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1096
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1096
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
|
|
1097
1097
|
*/
|
|
1098
1098
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1099
1099
|
/**
|
|
1100
1100
|
* Forbid repeated import of the same module in multiple places.
|
|
1101
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1101
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
|
|
1102
1102
|
*/
|
|
1103
1103
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
|
|
1104
1104
|
/**
|
|
1105
1105
|
* Forbid `require()` calls with expressions.
|
|
1106
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1106
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
|
|
1107
1107
|
*/
|
|
1108
1108
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
|
|
1109
1109
|
/**
|
|
1110
1110
|
* Forbid empty named import blocks.
|
|
1111
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1111
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
|
|
1112
1112
|
*/
|
|
1113
1113
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1114
1114
|
/**
|
|
1115
1115
|
* Forbid the use of extraneous packages.
|
|
1116
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1116
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
|
|
1117
1117
|
*/
|
|
1118
1118
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Forbid import statements with CommonJS module.exports.
|
|
1121
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1121
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
|
|
1122
1122
|
*/
|
|
1123
1123
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
|
|
1124
1124
|
/**
|
|
1125
1125
|
* Forbid importing the submodules of other modules.
|
|
1126
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1126
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
|
|
1127
1127
|
*/
|
|
1128
1128
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
|
|
1129
1129
|
/**
|
|
1130
1130
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1131
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1131
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
|
|
1132
1132
|
*/
|
|
1133
1133
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1134
1134
|
/**
|
|
1135
1135
|
* Forbid use of exported name as identifier of default export.
|
|
1136
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1136
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
|
|
1137
1137
|
*/
|
|
1138
1138
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1139
1139
|
/**
|
|
1140
1140
|
* Forbid use of exported name as property of default export.
|
|
1141
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1141
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
|
|
1142
1142
|
*/
|
|
1143
1143
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Forbid named default exports.
|
|
1146
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1146
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
|
|
1147
1147
|
*/
|
|
1148
1148
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>
|
|
1149
1149
|
/**
|
|
1150
1150
|
* Forbid named exports.
|
|
1151
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1151
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
|
|
1152
1152
|
*/
|
|
1153
1153
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>
|
|
1154
1154
|
/**
|
|
1155
1155
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1156
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1156
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
|
|
1157
1157
|
*/
|
|
1158
1158
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Forbid Node.js builtin modules.
|
|
1161
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1161
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
|
|
1162
1162
|
*/
|
|
1163
1163
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Forbid importing packages through relative paths.
|
|
1166
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1166
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
|
|
1167
1167
|
*/
|
|
1168
1168
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
|
|
1169
1169
|
/**
|
|
1170
1170
|
* Forbid importing modules from parent directories.
|
|
1171
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1171
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
|
|
1172
1172
|
*/
|
|
1173
1173
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Forbid importing a default export by a different name.
|
|
1176
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1176
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
|
|
1177
1177
|
*/
|
|
1178
1178
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Enforce which files can be imported in a given folder.
|
|
1181
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1181
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
|
|
1182
1182
|
*/
|
|
1183
1183
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Forbid a module from importing itself.
|
|
1186
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1186
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
|
|
1187
1187
|
*/
|
|
1188
1188
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>
|
|
1189
1189
|
/**
|
|
1190
1190
|
* Forbid unassigned imports.
|
|
1191
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1191
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
|
|
1192
1192
|
*/
|
|
1193
1193
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Ensure imports point to a file/module that can be resolved.
|
|
1196
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1196
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
|
|
1197
1197
|
*/
|
|
1198
1198
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1201
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1201
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
|
|
1202
1202
|
*/
|
|
1203
1203
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
|
|
1204
1204
|
/**
|
|
1205
1205
|
* Forbid unnecessary path segments in import and require statements.
|
|
1206
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1206
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
|
|
1207
1207
|
*/
|
|
1208
1208
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
|
|
1209
1209
|
/**
|
|
1210
1210
|
* Forbid webpack loader syntax in imports.
|
|
1211
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1211
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
|
|
1212
1212
|
*/
|
|
1213
1213
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Enforce a convention in module import order.
|
|
1216
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1216
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
|
|
1217
1217
|
*/
|
|
1218
1218
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1221
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1221
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
|
|
1222
1222
|
*/
|
|
1223
1223
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1226
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1226
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
|
|
1227
1227
|
*/
|
|
1228
1228
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>
|
|
1229
1229
|
/**
|
|
@@ -4630,6 +4630,11 @@ interface Rules {
|
|
|
4630
4630
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
4631
4631
|
*/
|
|
4632
4632
|
'vitest/consistent-test-it'?: Linter.RuleEntry<VitestConsistentTestIt>
|
|
4633
|
+
/**
|
|
4634
|
+
* enforce using vitest or vi but not both
|
|
4635
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
|
|
4636
|
+
*/
|
|
4637
|
+
'vitest/consistent-vitest-vi'?: Linter.RuleEntry<VitestConsistentVitestVi>
|
|
4633
4638
|
/**
|
|
4634
4639
|
* enforce having expectation in test body
|
|
4635
4640
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
@@ -4706,6 +4711,11 @@ interface Rules {
|
|
|
4706
4711
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
4707
4712
|
*/
|
|
4708
4713
|
'vitest/no-import-node-test'?: Linter.RuleEntry<[]>
|
|
4714
|
+
/**
|
|
4715
|
+
* disallow importing Vitest globals
|
|
4716
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
|
|
4717
|
+
*/
|
|
4718
|
+
'vitest/no-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
4709
4719
|
/**
|
|
4710
4720
|
* disallow string interpolation in snapshots
|
|
4711
4721
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
@@ -4742,7 +4752,7 @@ interface Rules {
|
|
|
4742
4752
|
*/
|
|
4743
4753
|
'vitest/no-standalone-expect'?: Linter.RuleEntry<VitestNoStandaloneExpect>
|
|
4744
4754
|
/**
|
|
4745
|
-
*
|
|
4755
|
+
* disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
|
|
4746
4756
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
4747
4757
|
*/
|
|
4748
4758
|
'vitest/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
@@ -4836,6 +4846,11 @@ interface Rules {
|
|
|
4836
4846
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
4837
4847
|
*/
|
|
4838
4848
|
'vitest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
4849
|
+
/**
|
|
4850
|
+
* enforce importing Vitest globals
|
|
4851
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
4852
|
+
*/
|
|
4853
|
+
'vitest/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
4839
4854
|
/**
|
|
4840
4855
|
* enforce lowercase titles
|
|
4841
4856
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
@@ -8975,8 +8990,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8975
8990
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
8976
8991
|
|
|
8977
8992
|
customGroups?: ({
|
|
8978
|
-
|
|
8979
|
-
newlinesInside?: ("always" | "never")
|
|
8993
|
+
newlinesInside?: (("always" | "never") | number)
|
|
8980
8994
|
|
|
8981
8995
|
fallbackSort?: {
|
|
8982
8996
|
|
|
@@ -9007,8 +9021,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9007
9021
|
} | string))
|
|
9008
9022
|
}[]
|
|
9009
9023
|
} | {
|
|
9010
|
-
|
|
9011
|
-
newlinesInside?: ("always" | "never")
|
|
9024
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9012
9025
|
|
|
9013
9026
|
fallbackSort?: {
|
|
9014
9027
|
|
|
@@ -9091,12 +9104,10 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9091
9104
|
})
|
|
9092
9105
|
|
|
9093
9106
|
partitionByNewLine?: boolean
|
|
9094
|
-
|
|
9095
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9107
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9096
9108
|
|
|
9097
9109
|
groups?: (string | string[] | {
|
|
9098
|
-
|
|
9099
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9110
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9100
9111
|
|
|
9101
9112
|
commentAbove?: string
|
|
9102
9113
|
})[]
|
|
@@ -9124,8 +9135,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
9124
9135
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9125
9136
|
|
|
9126
9137
|
customGroups?: ({
|
|
9127
|
-
|
|
9128
|
-
newlinesInside?: ("always" | "never")
|
|
9138
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9129
9139
|
|
|
9130
9140
|
fallbackSort?: {
|
|
9131
9141
|
|
|
@@ -9182,8 +9192,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
9182
9192
|
} | string))
|
|
9183
9193
|
}[]
|
|
9184
9194
|
} | {
|
|
9185
|
-
|
|
9186
|
-
newlinesInside?: ("always" | "never")
|
|
9195
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9187
9196
|
|
|
9188
9197
|
fallbackSort?: {
|
|
9189
9198
|
|
|
@@ -9289,12 +9298,10 @@ type PerfectionistSortClasses = []|[{
|
|
|
9289
9298
|
})
|
|
9290
9299
|
|
|
9291
9300
|
partitionByNewLine?: boolean
|
|
9292
|
-
|
|
9293
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9301
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9294
9302
|
|
|
9295
9303
|
groups?: (string | string[] | {
|
|
9296
|
-
|
|
9297
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9304
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9298
9305
|
|
|
9299
9306
|
commentAbove?: string
|
|
9300
9307
|
})[]
|
|
@@ -9373,8 +9380,7 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9373
9380
|
}
|
|
9374
9381
|
|
|
9375
9382
|
groups?: (string | string[] | {
|
|
9376
|
-
|
|
9377
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9383
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9378
9384
|
|
|
9379
9385
|
commentAbove?: string
|
|
9380
9386
|
})[]
|
|
@@ -9403,8 +9409,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
9403
9409
|
customGroups?: ({
|
|
9404
9410
|
[k: string]: (string | string[]) | undefined
|
|
9405
9411
|
} | ({
|
|
9406
|
-
|
|
9407
|
-
newlinesInside?: ("always" | "never")
|
|
9412
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9408
9413
|
|
|
9409
9414
|
fallbackSort?: {
|
|
9410
9415
|
|
|
@@ -9445,8 +9450,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
9445
9450
|
} | string))
|
|
9446
9451
|
}[]
|
|
9447
9452
|
} | {
|
|
9448
|
-
|
|
9449
|
-
newlinesInside?: ("always" | "never")
|
|
9453
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9450
9454
|
|
|
9451
9455
|
fallbackSort?: {
|
|
9452
9456
|
|
|
@@ -9528,12 +9532,10 @@ type PerfectionistSortEnums = []|[{
|
|
|
9528
9532
|
})
|
|
9529
9533
|
|
|
9530
9534
|
partitionByNewLine?: boolean
|
|
9531
|
-
|
|
9532
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9535
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9533
9536
|
|
|
9534
9537
|
groups?: (string | string[] | {
|
|
9535
|
-
|
|
9536
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9538
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9537
9539
|
|
|
9538
9540
|
commentAbove?: string
|
|
9539
9541
|
})[]
|
|
@@ -9563,8 +9565,7 @@ type PerfectionistSortExports = {
|
|
|
9563
9565
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9564
9566
|
|
|
9565
9567
|
customGroups?: ({
|
|
9566
|
-
|
|
9567
|
-
newlinesInside?: ("always" | "never")
|
|
9568
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9568
9569
|
|
|
9569
9570
|
fallbackSort?: {
|
|
9570
9571
|
|
|
@@ -9597,8 +9598,7 @@ type PerfectionistSortExports = {
|
|
|
9597
9598
|
} | string))
|
|
9598
9599
|
}[]
|
|
9599
9600
|
} | {
|
|
9600
|
-
|
|
9601
|
-
newlinesInside?: ("always" | "never")
|
|
9601
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9602
9602
|
|
|
9603
9603
|
fallbackSort?: {
|
|
9604
9604
|
|
|
@@ -9668,12 +9668,10 @@ type PerfectionistSortExports = {
|
|
|
9668
9668
|
})
|
|
9669
9669
|
|
|
9670
9670
|
partitionByNewLine?: boolean
|
|
9671
|
-
|
|
9672
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9671
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9673
9672
|
|
|
9674
9673
|
groups?: (string | string[] | {
|
|
9675
|
-
|
|
9676
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9674
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9677
9675
|
|
|
9678
9676
|
commentAbove?: string
|
|
9679
9677
|
})[]
|
|
@@ -9705,8 +9703,7 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
9705
9703
|
}
|
|
9706
9704
|
|
|
9707
9705
|
groups?: (string | string[] | {
|
|
9708
|
-
|
|
9709
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9706
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9710
9707
|
|
|
9711
9708
|
commentAbove?: string
|
|
9712
9709
|
})[]
|
|
@@ -9742,8 +9739,7 @@ type PerfectionistSortImports = {
|
|
|
9742
9739
|
[k: string]: (string | string[]) | undefined
|
|
9743
9740
|
}
|
|
9744
9741
|
} | ({
|
|
9745
|
-
|
|
9746
|
-
newlinesInside?: ("always" | "never")
|
|
9742
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9747
9743
|
|
|
9748
9744
|
fallbackSort?: {
|
|
9749
9745
|
|
|
@@ -9788,8 +9784,7 @@ type PerfectionistSortImports = {
|
|
|
9788
9784
|
} | string))
|
|
9789
9785
|
}[]
|
|
9790
9786
|
} | {
|
|
9791
|
-
|
|
9792
|
-
newlinesInside?: ("always" | "never")
|
|
9787
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9793
9788
|
|
|
9794
9789
|
fallbackSort?: {
|
|
9795
9790
|
|
|
@@ -9885,8 +9880,7 @@ type PerfectionistSortImports = {
|
|
|
9885
9880
|
})
|
|
9886
9881
|
|
|
9887
9882
|
partitionByNewLine?: boolean
|
|
9888
|
-
|
|
9889
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9883
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9890
9884
|
|
|
9891
9885
|
internalPattern?: (({
|
|
9892
9886
|
|
|
@@ -9901,8 +9895,7 @@ type PerfectionistSortImports = {
|
|
|
9901
9895
|
} | string))
|
|
9902
9896
|
|
|
9903
9897
|
groups?: (string | string[] | {
|
|
9904
|
-
|
|
9905
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9898
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9906
9899
|
|
|
9907
9900
|
commentAbove?: string
|
|
9908
9901
|
})[]
|
|
@@ -9932,8 +9925,7 @@ type PerfectionistSortInterfaces = {
|
|
|
9932
9925
|
customGroups?: ({
|
|
9933
9926
|
[k: string]: (string | string[]) | undefined
|
|
9934
9927
|
} | ({
|
|
9935
|
-
|
|
9936
|
-
newlinesInside?: ("always" | "never")
|
|
9928
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9937
9929
|
|
|
9938
9930
|
fallbackSort?: {
|
|
9939
9931
|
|
|
@@ -9980,8 +9972,7 @@ type PerfectionistSortInterfaces = {
|
|
|
9980
9972
|
sortBy?: ("name" | "value")
|
|
9981
9973
|
}[]
|
|
9982
9974
|
} | {
|
|
9983
|
-
|
|
9984
|
-
newlinesInside?: ("always" | "never")
|
|
9975
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9985
9976
|
|
|
9986
9977
|
fallbackSort?: {
|
|
9987
9978
|
|
|
@@ -10094,8 +10085,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10094
10085
|
})
|
|
10095
10086
|
|
|
10096
10087
|
partitionByNewLine?: boolean
|
|
10097
|
-
|
|
10098
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10088
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10099
10089
|
|
|
10100
10090
|
ignorePattern?: (({
|
|
10101
10091
|
|
|
@@ -10111,8 +10101,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10111
10101
|
sortBy?: ("name" | "value")
|
|
10112
10102
|
|
|
10113
10103
|
groups?: (string | string[] | {
|
|
10114
|
-
|
|
10115
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10104
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10116
10105
|
|
|
10117
10106
|
commentAbove?: string
|
|
10118
10107
|
})[]
|
|
@@ -10140,8 +10129,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10140
10129
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10141
10130
|
|
|
10142
10131
|
customGroups?: ({
|
|
10143
|
-
|
|
10144
|
-
newlinesInside?: ("always" | "never")
|
|
10132
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10145
10133
|
|
|
10146
10134
|
fallbackSort?: {
|
|
10147
10135
|
|
|
@@ -10172,8 +10160,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10172
10160
|
} | string))
|
|
10173
10161
|
}[]
|
|
10174
10162
|
} | {
|
|
10175
|
-
|
|
10176
|
-
newlinesInside?: ("always" | "never")
|
|
10163
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10177
10164
|
|
|
10178
10165
|
fallbackSort?: {
|
|
10179
10166
|
|
|
@@ -10241,12 +10228,10 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10241
10228
|
})
|
|
10242
10229
|
|
|
10243
10230
|
partitionByNewLine?: boolean
|
|
10244
|
-
|
|
10245
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10231
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10246
10232
|
|
|
10247
10233
|
groups?: (string | string[] | {
|
|
10248
|
-
|
|
10249
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10234
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10250
10235
|
|
|
10251
10236
|
commentAbove?: string
|
|
10252
10237
|
})[]
|
|
@@ -10275,8 +10260,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10275
10260
|
customGroups?: ({
|
|
10276
10261
|
[k: string]: (string | string[]) | undefined
|
|
10277
10262
|
} | ({
|
|
10278
|
-
|
|
10279
|
-
newlinesInside?: ("always" | "never")
|
|
10263
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10280
10264
|
|
|
10281
10265
|
fallbackSort?: {
|
|
10282
10266
|
|
|
@@ -10321,8 +10305,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10321
10305
|
} | string))
|
|
10322
10306
|
}[]
|
|
10323
10307
|
} | {
|
|
10324
|
-
|
|
10325
|
-
newlinesInside?: ("always" | "never")
|
|
10308
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10326
10309
|
|
|
10327
10310
|
fallbackSort?: {
|
|
10328
10311
|
|
|
@@ -10394,8 +10377,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10394
10377
|
}
|
|
10395
10378
|
|
|
10396
10379
|
partitionByNewLine?: boolean
|
|
10397
|
-
|
|
10398
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10380
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10399
10381
|
|
|
10400
10382
|
ignorePattern?: (({
|
|
10401
10383
|
|
|
@@ -10410,8 +10392,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10410
10392
|
} | string))
|
|
10411
10393
|
|
|
10412
10394
|
groups?: (string | string[] | {
|
|
10413
|
-
|
|
10414
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10395
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10415
10396
|
|
|
10416
10397
|
commentAbove?: string
|
|
10417
10398
|
})[]
|
|
@@ -10439,8 +10420,7 @@ type PerfectionistSortMaps = {
|
|
|
10439
10420
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10440
10421
|
|
|
10441
10422
|
customGroups?: ({
|
|
10442
|
-
|
|
10443
|
-
newlinesInside?: ("always" | "never")
|
|
10423
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10444
10424
|
|
|
10445
10425
|
fallbackSort?: {
|
|
10446
10426
|
|
|
@@ -10469,8 +10449,7 @@ type PerfectionistSortMaps = {
|
|
|
10469
10449
|
} | string))
|
|
10470
10450
|
}[]
|
|
10471
10451
|
} | {
|
|
10472
|
-
|
|
10473
|
-
newlinesInside?: ("always" | "never")
|
|
10452
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10474
10453
|
|
|
10475
10454
|
fallbackSort?: {
|
|
10476
10455
|
|
|
@@ -10551,12 +10530,10 @@ type PerfectionistSortMaps = {
|
|
|
10551
10530
|
})
|
|
10552
10531
|
|
|
10553
10532
|
partitionByNewLine?: boolean
|
|
10554
|
-
|
|
10555
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10533
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10556
10534
|
|
|
10557
10535
|
groups?: (string | string[] | {
|
|
10558
|
-
|
|
10559
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10536
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10560
10537
|
|
|
10561
10538
|
commentAbove?: string
|
|
10562
10539
|
})[]
|
|
@@ -10584,8 +10561,7 @@ type PerfectionistSortModules = []|[{
|
|
|
10584
10561
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10585
10562
|
|
|
10586
10563
|
customGroups?: ({
|
|
10587
|
-
|
|
10588
|
-
newlinesInside?: ("always" | "never")
|
|
10564
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10589
10565
|
|
|
10590
10566
|
fallbackSort?: {
|
|
10591
10567
|
|
|
@@ -10630,8 +10606,7 @@ type PerfectionistSortModules = []|[{
|
|
|
10630
10606
|
} | string))
|
|
10631
10607
|
}[]
|
|
10632
10608
|
} | {
|
|
10633
|
-
|
|
10634
|
-
newlinesInside?: ("always" | "never")
|
|
10609
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10635
10610
|
|
|
10636
10611
|
fallbackSort?: {
|
|
10637
10612
|
|
|
@@ -10713,12 +10688,10 @@ type PerfectionistSortModules = []|[{
|
|
|
10713
10688
|
})
|
|
10714
10689
|
|
|
10715
10690
|
partitionByNewLine?: boolean
|
|
10716
|
-
|
|
10717
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10691
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10718
10692
|
|
|
10719
10693
|
groups?: (string | string[] | {
|
|
10720
|
-
|
|
10721
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10694
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10722
10695
|
|
|
10723
10696
|
commentAbove?: string
|
|
10724
10697
|
})[]
|
|
@@ -10750,8 +10723,7 @@ type PerfectionistSortNamedExports = {
|
|
|
10750
10723
|
ignoreAlias?: boolean
|
|
10751
10724
|
|
|
10752
10725
|
customGroups?: ({
|
|
10753
|
-
|
|
10754
|
-
newlinesInside?: ("always" | "never")
|
|
10726
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10755
10727
|
|
|
10756
10728
|
fallbackSort?: {
|
|
10757
10729
|
|
|
@@ -10784,8 +10756,7 @@ type PerfectionistSortNamedExports = {
|
|
|
10784
10756
|
} | string))
|
|
10785
10757
|
}[]
|
|
10786
10758
|
} | {
|
|
10787
|
-
|
|
10788
|
-
newlinesInside?: ("always" | "never")
|
|
10759
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10789
10760
|
|
|
10790
10761
|
fallbackSort?: {
|
|
10791
10762
|
|
|
@@ -10855,12 +10826,10 @@ type PerfectionistSortNamedExports = {
|
|
|
10855
10826
|
})
|
|
10856
10827
|
|
|
10857
10828
|
partitionByNewLine?: boolean
|
|
10858
|
-
|
|
10859
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10829
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10860
10830
|
|
|
10861
10831
|
groups?: (string | string[] | {
|
|
10862
|
-
|
|
10863
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10832
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10864
10833
|
|
|
10865
10834
|
commentAbove?: string
|
|
10866
10835
|
})[]
|
|
@@ -10892,8 +10861,7 @@ type PerfectionistSortNamedImports = {
|
|
|
10892
10861
|
ignoreAlias?: boolean
|
|
10893
10862
|
|
|
10894
10863
|
customGroups?: ({
|
|
10895
|
-
|
|
10896
|
-
newlinesInside?: ("always" | "never")
|
|
10864
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10897
10865
|
|
|
10898
10866
|
fallbackSort?: {
|
|
10899
10867
|
|
|
@@ -10926,8 +10894,7 @@ type PerfectionistSortNamedImports = {
|
|
|
10926
10894
|
} | string))
|
|
10927
10895
|
}[]
|
|
10928
10896
|
} | {
|
|
10929
|
-
|
|
10930
|
-
newlinesInside?: ("always" | "never")
|
|
10897
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10931
10898
|
|
|
10932
10899
|
fallbackSort?: {
|
|
10933
10900
|
|
|
@@ -10997,12 +10964,10 @@ type PerfectionistSortNamedImports = {
|
|
|
10997
10964
|
})
|
|
10998
10965
|
|
|
10999
10966
|
partitionByNewLine?: boolean
|
|
11000
|
-
|
|
11001
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10967
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11002
10968
|
|
|
11003
10969
|
groups?: (string | string[] | {
|
|
11004
|
-
|
|
11005
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10970
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11006
10971
|
|
|
11007
10972
|
commentAbove?: string
|
|
11008
10973
|
})[]
|
|
@@ -11032,8 +10997,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11032
10997
|
customGroups?: ({
|
|
11033
10998
|
[k: string]: (string | string[]) | undefined
|
|
11034
10999
|
} | ({
|
|
11035
|
-
|
|
11036
|
-
newlinesInside?: ("always" | "never")
|
|
11000
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11037
11001
|
|
|
11038
11002
|
fallbackSort?: {
|
|
11039
11003
|
|
|
@@ -11080,8 +11044,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11080
11044
|
sortBy?: ("name" | "value")
|
|
11081
11045
|
}[]
|
|
11082
11046
|
} | {
|
|
11083
|
-
|
|
11084
|
-
newlinesInside?: ("always" | "never")
|
|
11047
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11085
11048
|
|
|
11086
11049
|
fallbackSort?: {
|
|
11087
11050
|
|
|
@@ -11194,8 +11157,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11194
11157
|
})
|
|
11195
11158
|
|
|
11196
11159
|
partitionByNewLine?: boolean
|
|
11197
|
-
|
|
11198
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11160
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11199
11161
|
|
|
11200
11162
|
ignorePattern?: (({
|
|
11201
11163
|
|
|
@@ -11211,8 +11173,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11211
11173
|
sortBy?: ("name" | "value")
|
|
11212
11174
|
|
|
11213
11175
|
groups?: (string | string[] | {
|
|
11214
|
-
|
|
11215
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11176
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11216
11177
|
|
|
11217
11178
|
commentAbove?: string
|
|
11218
11179
|
})[]
|
|
@@ -11246,8 +11207,7 @@ type PerfectionistSortObjects = {
|
|
|
11246
11207
|
customGroups?: ({
|
|
11247
11208
|
[k: string]: (string | string[]) | undefined
|
|
11248
11209
|
} | ({
|
|
11249
|
-
|
|
11250
|
-
newlinesInside?: ("always" | "never")
|
|
11210
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11251
11211
|
|
|
11252
11212
|
fallbackSort?: {
|
|
11253
11213
|
|
|
@@ -11292,8 +11252,7 @@ type PerfectionistSortObjects = {
|
|
|
11292
11252
|
} | string))
|
|
11293
11253
|
}[]
|
|
11294
11254
|
} | {
|
|
11295
|
-
|
|
11296
|
-
newlinesInside?: ("always" | "never")
|
|
11255
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11297
11256
|
|
|
11298
11257
|
fallbackSort?: {
|
|
11299
11258
|
|
|
@@ -11408,8 +11367,7 @@ type PerfectionistSortObjects = {
|
|
|
11408
11367
|
})
|
|
11409
11368
|
|
|
11410
11369
|
partitionByNewLine?: boolean
|
|
11411
|
-
|
|
11412
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11370
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11413
11371
|
|
|
11414
11372
|
ignorePattern?: (({
|
|
11415
11373
|
|
|
@@ -11424,8 +11382,7 @@ type PerfectionistSortObjects = {
|
|
|
11424
11382
|
} | string))
|
|
11425
11383
|
|
|
11426
11384
|
groups?: (string | string[] | {
|
|
11427
|
-
|
|
11428
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11385
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11429
11386
|
|
|
11430
11387
|
commentAbove?: string
|
|
11431
11388
|
})[]
|
|
@@ -11455,8 +11412,7 @@ type PerfectionistSortSets = {
|
|
|
11455
11412
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11456
11413
|
|
|
11457
11414
|
customGroups?: ({
|
|
11458
|
-
|
|
11459
|
-
newlinesInside?: ("always" | "never")
|
|
11415
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11460
11416
|
|
|
11461
11417
|
fallbackSort?: {
|
|
11462
11418
|
|
|
@@ -11487,8 +11443,7 @@ type PerfectionistSortSets = {
|
|
|
11487
11443
|
} | string))
|
|
11488
11444
|
}[]
|
|
11489
11445
|
} | {
|
|
11490
|
-
|
|
11491
|
-
newlinesInside?: ("always" | "never")
|
|
11446
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11492
11447
|
|
|
11493
11448
|
fallbackSort?: {
|
|
11494
11449
|
|
|
@@ -11571,12 +11526,10 @@ type PerfectionistSortSets = {
|
|
|
11571
11526
|
})
|
|
11572
11527
|
|
|
11573
11528
|
partitionByNewLine?: boolean
|
|
11574
|
-
|
|
11575
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11529
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11576
11530
|
|
|
11577
11531
|
groups?: (string | string[] | {
|
|
11578
|
-
|
|
11579
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11532
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11580
11533
|
|
|
11581
11534
|
commentAbove?: string
|
|
11582
11535
|
})[]
|
|
@@ -11626,8 +11579,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11626
11579
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11627
11580
|
|
|
11628
11581
|
customGroups?: ({
|
|
11629
|
-
|
|
11630
|
-
newlinesInside?: ("always" | "never")
|
|
11582
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11631
11583
|
|
|
11632
11584
|
fallbackSort?: {
|
|
11633
11585
|
|
|
@@ -11658,8 +11610,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11658
11610
|
} | string))
|
|
11659
11611
|
}[]
|
|
11660
11612
|
} | {
|
|
11661
|
-
|
|
11662
|
-
newlinesInside?: ("always" | "never")
|
|
11613
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11663
11614
|
|
|
11664
11615
|
fallbackSort?: {
|
|
11665
11616
|
|
|
@@ -11727,12 +11678,10 @@ type PerfectionistSortUnionTypes = {
|
|
|
11727
11678
|
})
|
|
11728
11679
|
|
|
11729
11680
|
partitionByNewLine?: boolean
|
|
11730
|
-
|
|
11731
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11681
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11732
11682
|
|
|
11733
11683
|
groups?: (string | string[] | {
|
|
11734
|
-
|
|
11735
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11684
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11736
11685
|
|
|
11737
11686
|
commentAbove?: string
|
|
11738
11687
|
})[]
|
|
@@ -11760,8 +11709,7 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11760
11709
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11761
11710
|
|
|
11762
11711
|
customGroups?: ({
|
|
11763
|
-
|
|
11764
|
-
newlinesInside?: ("always" | "never")
|
|
11712
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11765
11713
|
|
|
11766
11714
|
fallbackSort?: {
|
|
11767
11715
|
|
|
@@ -11792,8 +11740,7 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11792
11740
|
} | string))
|
|
11793
11741
|
}[]
|
|
11794
11742
|
} | {
|
|
11795
|
-
|
|
11796
|
-
newlinesInside?: ("always" | "never")
|
|
11743
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11797
11744
|
|
|
11798
11745
|
fallbackSort?: {
|
|
11799
11746
|
|
|
@@ -11861,12 +11808,10 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11861
11808
|
})
|
|
11862
11809
|
|
|
11863
11810
|
partitionByNewLine?: boolean
|
|
11864
|
-
|
|
11865
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11811
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11866
11812
|
|
|
11867
11813
|
groups?: (string | string[] | {
|
|
11868
|
-
|
|
11869
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11814
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11870
11815
|
|
|
11871
11816
|
commentAbove?: string
|
|
11872
11817
|
})[]
|
|
@@ -12568,6 +12513,10 @@ type VitestConsistentTestIt = []|[{
|
|
|
12568
12513
|
fn?: ("test" | "it")
|
|
12569
12514
|
withinDescribe?: ("test" | "it")
|
|
12570
12515
|
}]
|
|
12516
|
+
// ----- vitest/consistent-vitest-vi -----
|
|
12517
|
+
type VitestConsistentVitestVi = []|[{
|
|
12518
|
+
fn?: ("vi" | "vitest")
|
|
12519
|
+
}]
|
|
12571
12520
|
// ----- vitest/expect-expect -----
|
|
12572
12521
|
type VitestExpectExpect = []|[{
|
|
12573
12522
|
assertFunctionNames?: string[]
|
|
@@ -12947,9 +12896,9 @@ type ConfigNames =
|
|
|
12947
12896
|
| '@bfra.me/yaml/json-schema/unnamed2'
|
|
12948
12897
|
| '@bfra.me/yaml/json-schema'
|
|
12949
12898
|
| '@bfra.me/yaml'
|
|
12950
|
-
| '@bfra.me/markdown/
|
|
12951
|
-
| '@bfra.me/markdown/
|
|
12952
|
-
| '@bfra.me/markdown/
|
|
12899
|
+
| '@bfra.me/markdown/plugin'
|
|
12900
|
+
| '@bfra.me/markdown/processor'
|
|
12901
|
+
| '@bfra.me/markdown/code-blocks'
|
|
12953
12902
|
| '@bfra.me/markdown/overrides'
|
|
12954
12903
|
| '@bfra.me/prettier'
|
|
12955
12904
|
| '@bfra.me/prettier/markdown'
|