-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: consume new scope analysis package #2039
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
Conversation
|
Thanks for the PR, @bradzacher! 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. |
3c94b99 to
5f11b78
Compare
667bdf2 to
b3ccb87
Compare
507ab40 to
883d48e
Compare
b3ccb87 to
1a7a664
Compare
883d48e to
a810f23
Compare
1a7a664 to
72a8b1a
Compare
72a8b1a to
582e7e2
Compare
1be2ab8 to
25e1f68
Compare
582e7e2 to
07a426a
Compare
25e1f68 to
1577110
Compare
a5c53df to
e0b1d0e
Compare
6d9a0aa to
d66f86d
Compare
e0b1d0e to
d656e37
Compare
d66f86d to
6949551
Compare
d656e37 to
d7a35dd
Compare
5c3398f to
f0ec7da
Compare
517de6c to
fbe16ac
Compare
f475b2b to
b7c5f78
Compare
Codecov Report
@@ Coverage Diff @@
## v4 #2039 +/- ##
==========================================
- Coverage 93.05% 92.97% -0.08%
==========================================
Files 285 285
Lines 9109 9014 -95
Branches 2503 2510 +7
==========================================
- Hits 8476 8381 -95
- Misses 303 304 +1
+ Partials 330 329 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
b7c5f78 to
a65330f
Compare
a65330f to
bb26959
Compare
Fixes #1856
parserto usescope-managerparser, because they were (pretty useless and unreviewed) snapshots of the scope tree from every singleshared-fixture.no-unused-varsfunction foo<T>() {}andclass Foo<T> {}).no-undefno-shadowthisarg shadowing, and add an option for ignoring type/value shadowing.no-redeclareno-use-before-defineBASED ON #1939
BREAKING
This is a big change that will require action from users in the form of:
parserOptions.libto silence some false-positives.We're going to have to do a 4.0 release v soon due to the optional chain and class property AST changes, so we can hold off on this until then