docs: no-unused-modules is only compatible with legacy configs#358
docs: no-unused-modules is only compatible with legacy configs#358JounQin merged 3 commits intoun-ts:masterfrom
no-unused-modules is only compatible with legacy configs#358Conversation
WalkthroughA note was added to the documentation for the Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
WalkthroughThis pull request updates the documentation for the Changes
|
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to 9dc6d28 in 22 seconds. Click for details.
- Reviewed
14lines of code in1files - Skipped
0files when reviewing. - Skipped posting
1draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docs/rules/no-unused-modules.md:11
- Draft comment:
Clear note added about legacy config compatibility. Consider adding a link or brief reference to ESLint's flat configuration docs so users understand the context. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
Workflow ID: wflow_08AYTkKHtA4cKixn
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
docs/rules/no-unused-modules.md (1)
11-12: Nit: Harmonize admonition style with existing docs.Elsewhere in this documentation (e.g., line 137) you’re using a
#### Important Noteheading rather than a[!IMPORTANT]block. For consistency, consider switching to the same format:- > [!IMPORTANT] - > This rule is only compatible with legacy configuration files. If you make use of the new flat configuration format, do not enable this rule. + #### Important Note + + This rule is only compatible with legacy configuration files. If you make use of the new flat configuration format, do not enable this rule.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/rules/no-unused-modules.md(1 hunks)
🔇 Additional comments (1)
docs/rules/no-unused-modules.md (1)
11-12: Approve: Compatibility note added for legacy configs.The new admonition clearly informs users about the limitation with the flat config format, which aligns with the PR objective and helps prevent misconfiguration.
|
no-unused-modules is only compatible with legacy config
commit: |
no-unused-modules is only compatible with legacy configno-unused-modules is only compatible with legacy configs
Signed-off-by: Jesse Docken <118761625+JesseDocken@users.noreply.github.com>
Signed-off-by: JounQin <admin@1stg.me>
Signed-off-by: Jesse Docken <118761625+JesseDocken@users.noreply.github.com>
As part of a discussion in eslint/eslint#19797, this updates the rule documentation for
no-unused-modulesto call out a compatibility issue that prevents ESLint from working properly.Important
Add note in
no-unused-modules.mdabout compatibility with legacy configs only.no-unused-modules.mdthatno-unused-modulesrule is only compatible with legacy configuration files and should not be enabled with the new flat configuration format.This description was created by
for 9dc6d28. You can customize this summary. It will automatically update as commits are pushed.
Summary by CodeRabbit
import-x/no-unused-modulesrule is only compatible with legacy configuration files and should not be used with the new flat configuration format.