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

feat(ts-estree): enable 1098,1099 errors and add missing tests #219

Merged
merged 7 commits into from
Feb 7, 2019
Merged

feat(ts-estree): enable 1098,1099 errors and add missing tests #219

merged 7 commits into from
Feb 7, 2019

Conversation

armano2
Copy link
Member

@armano2 armano2 commented Feb 6, 2019

This PR enables TS1098 and TS1099 error codes and adds tests cases for them.

babel/babel#9462

@armano2 armano2 self-assigned this Feb 6, 2019
JamesHenry
JamesHenry previously approved these changes Feb 7, 2019
bradzacher
bradzacher previously approved these changes Feb 7, 2019
@armano2 armano2 dismissed stale reviews from bradzacher and JamesHenry via a1e417c February 7, 2019 01:36
@armano2
Copy link
Member Author

armano2 commented Feb 7, 2019

conflicts

@codecov
Copy link

codecov bot commented Feb 7, 2019

Codecov Report

Merging #219 into master will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #219      +/-   ##
==========================================
+ Coverage   96.77%   96.85%   +0.08%     
==========================================
  Files          53       53              
  Lines        2478     2478              
  Branches      372      372              
==========================================
+ Hits         2398     2400       +2     
+ Misses         40       39       -1     
+ Partials       40       39       -1
Impacted Files Coverage Δ
packages/typescript-estree/src/semantic-errors.ts 77.77% <ø> (ø) ⬆️
packages/typescript-estree/src/convert.ts 97.9% <0%> (+0.29%) ⬆️

@armano2 armano2 merged commit fc50167 into typescript-eslint:master Feb 7, 2019
@armano2 armano2 deleted the error-codes branch February 7, 2019 02:47
kaicataldo pushed a commit to kaicataldo/typescript-eslint that referenced this pull request Aug 27, 2019
…eslint#219)

Fixes typescript-eslint#201
Fixes typescript-eslint#96
Fixes eslint/typescript-eslint-parser#577

The [base eslint implementation](https://github.com/eslint/eslint/blob/master/lib/rules/indent.js) purposely ignores nodes it doesn't know about (i.e. our TS nodes).

Because of how the base rule is written, we have to override the implementation entirely.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants