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

Update lib/util/ast-utils.js

Co-Authored-By: mysticatea <star.ctor@gmail.com>
  • Loading branch information...
platinumazure and mysticatea committed Mar 29, 2019
commit 60de98a9c230cbeba7988e221c6b90954ce16170
@@ -1364,7 +1364,7 @@ module.exports = {
// Convert the index to loc.
return sourceCode.getLocFromIndex(
comment.range[0] +
2 + // 2 is "/*".length
"/*".length +
(match ? match.index + 1 : 0)
);
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.