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(eslint-plugin-internal): add rule no-poorly-typed-ts-props #1949

Merged
merged 3 commits into from Apr 29, 2020

Conversation

bradzacher
Copy link
Member

@bradzacher bradzacher commented Apr 28, 2020

Simple lint rule to ban usage of properties that introduce bugs.
(See: microsoft/TypeScript#24706)

Will prevent future issues like #1945


BASED ON #1948

@bradzacher bradzacher added the repo maintenance things to do with maintenance of the repo, and not with code/docs label Apr 28, 2020
@typescript-eslint
Copy link
Contributor

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.

@codecov
Copy link

codecov bot commented Apr 28, 2020

Codecov Report

Merging #1949 into master will decrease coverage by 0.01%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master    #1949      +/-   ##
==========================================
- Coverage   93.92%   93.90%   -0.02%     
==========================================
  Files         169      170       +1     
  Lines        7704     7731      +27     
  Branches     2215     2221       +6     
==========================================
+ Hits         7236     7260      +24     
- Misses        218      219       +1     
- Partials      250      252       +2     
Flag Coverage Δ
#unittest 93.90% <88.88%> (-0.02%) ⬇️
Impacted Files Coverage Δ
...gin-internal/src/rules/no-poorly-typed-ts-props.ts 88.88% <88.88%> (ø)

@bradzacher bradzacher added the blocked by another PR PRs which are ready to go but waiting on another PR label Apr 29, 2020
There are a few things we've built in (like automatically adding a filename) that others might find value in.
Plus I want to use it in the internal plugin.
Simple lint rule to ban usage of properties that introduce bugs.
microsoft/TypeScript#24706
@bradzacher bradzacher removed the blocked by another PR PRs which are ready to go but waiting on another PR label Apr 29, 2020
@bradzacher bradzacher merged commit 56ea7c9 into master Apr 29, 2020
@bradzacher bradzacher deleted the no-poorly-typed-ts-props branch April 29, 2020 23:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
repo maintenance things to do with maintenance of the repo, and not with code/docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant