Skip to content

Commit ba42850

Browse files
committed
chore: patch eslint-doc-generator again
1 parent 01dbc52 commit ba42850

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@
187187
### Patch Changes
188188

189189
- [#263](https://github.com/un-ts/eslint-plugin-import-x/pull/263) [`c0046a9`](https://github.com/un-ts/eslint-plugin-import-x/commit/c0046a9e85d6563920a5df4e8fbb3ecd977c47ab) Thanks [@JounQin](https://github.com/JounQin)! - chore: migrate to rebranding `unrs-resolver` with new targets supported:
190-
191190
- `i686-pc-windows-msvc`
192191
- `armv7-unknown-linux-musleabihf`
193192
- `powerpc64le-unknown-linux-gnu`
@@ -210,7 +209,6 @@
210209
### Minor Changes
211210

212211
- [#248](https://github.com/un-ts/eslint-plugin-import-x/pull/248) [`6940b14`](https://github.com/un-ts/eslint-plugin-import-x/commit/6940b14426e75f0b0b860c1dddfe6a928510b974) Thanks [@TrevorBurnham](https://github.com/TrevorBurnham)! - feat: port all `order` rule new options from upstream
213-
214212
- [`newlines-between-types`](https://github.com/import-js/eslint-plugin-import/pull/3127)
215213
- [`named`](https://github.com/import-js/eslint-plugin-import/pull/3043)
216214
- [`consolidateIslands`](https://github.com/import-js/eslint-plugin-import/pull/3129)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git a/node_modules/eslint-doc-generator/dist/lib/option-parsers.js b/node_modules/eslint-doc-generator/dist/lib/option-parsers.js
2+
index 556ff0d..0361b02 100644
3+
--- a/node_modules/eslint-doc-generator/dist/lib/option-parsers.js
4+
+++ b/node_modules/eslint-doc-generator/dist/lib/option-parsers.js
5+
@@ -27,9 +27,9 @@ export function parseConfigEmojiOptions(plugin, configEmoji) {
6+
if (plugin.configs?.[config] === undefined) {
7+
throw new Error(`Invalid configEmoji option: ${config} config not found.`);
8+
}
9+
- if (RESERVED_EMOJIS.includes(emoji)) {
10+
- throw new Error(`Cannot specify reserved emoji ${EMOJI_CONFIG_ERROR}.`);
11+
- }
12+
+ // if (RESERVED_EMOJIS.includes(emoji)) {
13+
+ // throw new Error(`Cannot specify reserved emoji ${EMOJI_CONFIG_ERROR}.`);
14+
+ // }
15+
return [{ config, emoji }];
16+
}) || [];
17+
// Add default emojis for the common configs for which the user hasn't already specified an emoji.

0 commit comments

Comments
 (0)