Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
fix(eslint-plugin): handleconst;
#633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@@ -175,6 +175,15 @@ export default util.createRule<Options, MessageIds>({ | |||
} | |||
}, | |||
VariableDeclaration(node: TSESTree.VariableDeclaration) { | |||
// https://github.com/typescript-eslint/typescript-eslint/issues/441 | |||
if (node.declarations.length === 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👏👏👏
I faced the exact same issue and debugging the code I was right here to add this! Thanks for being on top of it. <3@bradzacher
Codecov Report
@@ Coverage Diff @@## master #633 +/- ##==========================================- Coverage 94.37% 94.33% -0.04%========================================== Files 109 109 Lines 4535 4540 +5 Branches 1252 1254 +2 ==========================================+ Hits 4280 4283 +3- Misses 148 149 +1- Partials 107 108 +1
|
Fixes#441