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

fix(eslint-plugin): support eslint@5 #2917

Merged
merged 1 commit into from Jan 4, 2021
Merged

fix(eslint-plugin): support eslint@5 #2917

merged 1 commit into from Jan 4, 2021

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Jan 4, 2021

Fixes #2890

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @SimenB!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@@ -46,6 +46,7 @@
"@typescript-eslint/scope-manager": "4.12.0",
"debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1",
"lodash": "^4.17.15",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@typescript-eslint/eslint-plugin-tslint and @typescript-eslint/typescript-estree already depend on it, so shouldn't make a difference

: str || '';
}

function getNameLocationInGlobalDirectiveComment(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my IDE "complained" about duplicate code, so I found this and just removed it

Copy link
Member

@bradzacher bradzacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing this!

@bradzacher bradzacher added the bug Something isn't working label Jan 4, 2021
@codecov
Copy link

codecov bot commented Jan 4, 2021

Codecov Report

Merging #2917 (84aff98) into master (4c6ec93) will increase coverage by 0.01%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master    #2917      +/-   ##
==========================================
+ Coverage   92.76%   92.77%   +0.01%     
==========================================
  Files         311      311              
  Lines       10460    10456       -4     
  Branches     2957     2954       -3     
==========================================
- Hits         9703     9701       -2     
  Misses        348      348              
+ Partials      409      407       -2     
Flag Coverage Δ
unittest 92.77% <80.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/eslint-plugin/src/rules/no-redeclare.ts 90.76% <ø> (+3.58%) ⬆️
packages/eslint-plugin/src/rules/no-unused-vars.ts 96.66% <ø> (-0.03%) ⬇️
packages/eslint-plugin/src/util/astUtils.ts 81.81% <80.00%> (-18.19%) ⬇️

@bradzacher bradzacher merged commit f606846 into typescript-eslint:master Jan 4, 2021
@SimenB SimenB deleted the eslint-5-compat branch January 4, 2021 23:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[no-unused-vars] uses non-existent deep import from eslint@5
2 participants