New rule: no-unused-use
See original GitHub issueOk this is a terrible name 😃
I’m suggesting a rule that will flag @use 'foo' as foo
when foo.
is not used
Issue Analytics
- State:
- Created 4 years ago
- Reactions:13
- Comments:8 (2 by maintainers)
Top Results From Across the Web
no-unused-vars - ESLint - Pluggable JavaScript Linter
This rule is aimed at eliminating unused variables, functions, and function parameters. A variable foo is considered to be used if any of...
Read more >New rule: no-unused-use · Issue #423 · stylelint-scss ... - GitHub
I would say if one is using @use directive, the file that is being "used" should not have side effects. If one uses...
Read more >no-unused-expression - Rule
Disallows unused expression statements. Unused expressions are expression statements which are not assignments or function calls (and thus usually no-ops).
Read more >no-unused-vars - TypeScript ESLint
How to Use ·.exports = { · "rules": { · // Note: you must disable the base rule as it can report incorrect...
Read more >ESLint - "no-unused-vars" warning for every import
Looks like your using VSCode, try using "typescript.format. · @JAY-DEV I've added it to the settings. · If you want to keep the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To me
no-unused-module-import
sounds like a good name.I was just about to write up a new issue with this (as I ran into it yesterday) and i’m glad i did a google search first. I don’t want to create noise, but is this still planned?