Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking: make no-redeclare stricter (fixes #11370, fixes #11405) #11509

Merged
merged 17 commits into from Apr 25, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

remove redundant comparison

  • Loading branch information...
mysticatea committed Mar 15, 2019
commit 077b7ea251a858ae154bf35b03f9748ba7299172
@@ -609,7 +609,7 @@ module.exports = {
});

// If there are no regular declaration, report the first `/*globals*/` comment directive.
} else if (unusedVar.eslintExplicitGlobalComments && unusedVar.eslintExplicitGlobalComments.length > 0) {
} else if (unusedVar.eslintExplicitGlobalComments) {
const directiveComment = unusedVar.eslintExplicitGlobalComments[0];

context.report({
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.