-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(typescript-estree): always return parserServices #716
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
b9205ac
to
89c81a5
Compare
BREAKING: previously plugins expected that `parserServices` would be `undefined` if full type information wasn't available.
89c81a5
to
01de581
Compare
@bradzacher are you planning to resolve conflicts or do you want me to pick it up? |
I was planning on getting back to it eventually, but it's been at a lower priority, because 3.0.0 was so far out 😅. If you get the gist of what I was intending, then feel free to pick this up and get it ready for One important note: |
BREAKING: previously plugins expected that `parserServices` would be `undefined` if full type information wasn't available.
Conflicts: packages/eslint-plugin-tslint/src/rules/config.ts packages/eslint-plugin/tools/validate-docs/validate-table-rules.ts packages/experimental-utils/src/eslint-utils/getParserServices.ts packages/typescript-estree/src/parser-options.ts packages/typescript-estree/src/parser.ts packages/typescript-estree/src/tsconfig-parser.ts packages/typescript-estree/tests/lib/convert.ts packages/typescript-estree/tests/lib/parse.ts
Conflicts: packages/eslint-plugin/README.md packages/eslint-plugin/tests/docs.test.ts
Codecov Report
@@ Coverage Diff @@
## v3 #716 +/- ##
==========================================
- Coverage 93.87% 93.78% -0.09%
==========================================
Files 172 172
Lines 7805 7809 +4
Branches 2240 2243 +3
==========================================
- Hits 7327 7324 -3
- Misses 221 227 +6
- Partials 257 258 +1
|
# Conflicts: # packages/eslint-plugin/README.md
BREAKING CHANGE:
previously plugins expected that
parserServices
would beundefined
if full type information wasn't available.Splitting these changes out of #688 to focus that PR.
The motivation behind this is that this will allow rules to consume diagnostics without needing the user to provide
project
, which slows down linting.