Skip to content

Commit 10e40b7

Browse files
JesseDockenJounQin
andauthored
docs: no-unused-modules is only compatible with legacy configs (#358)
Co-authored-by: JounQin <[email protected]>
1 parent 46c8bc6 commit 10e40b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/rules/no-unused-modules.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Reports:
88
- individual exports not being statically `import`ed or `require`ed from other modules in the same project
99
- dynamic imports are supported if argument is a literal string
1010

11+
> [!IMPORTANT]
12+
> This rule is only compatible with legacy configs. If you make use of the new flat config, either do not enable this rule, or provide a legacy eslintrc config at the same time together for this rule to be functional.
13+
1114
## Rule Details
1215

1316
### Usage

0 commit comments

Comments
 (0)