eslint-plugin-import
eslint-plugin-import copied to clipboard
Docs: no-unused-modules
It looks like the docs for the ignoreUnusedTypeExports option of the rule no-unused-modules are wrong:
ignoreUnusedTypeExports: iftrue, TypeScript type exports without any static usage within other modules are reported (defaults tofalseand has no effect unlessunusedExportsistrue)
It says "If true, [unused] type exports [..] are reported", which is the opposite of what I'd expect an option called "ignoreXY" to do.
Thanks!