Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(eslint-plugin): add new rule restrict-plus-operands#70
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat(eslint-plugin): add new rule restrict-plus-operands#70
Uh oh!
There was an error while loading.Please reload this page.
Conversation
(shouldn't this be a feat?) |
armano2 commentedJan 18, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
it should i have some concerns about performance for now, i will have to digg in a little to check if this is not related to ts-estree |
packages/eslint-plugin-typescript/lib/rules/restrict-plus-operands.js OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
I think looking to land this after the first release would be best 👍 |
JamesHenry left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Now that v1 is out the door we can consider merging this.
@armano2 Can you elaborate on the performance concerns, and what has changed since you first opened the PR?
armano2 commentedJan 21, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
i did profiling on this rule, and there is no performance impact generated by our code, TypeCheker is not fast, and most likely there is some room to improve it in |
Ok great, thanks |
Codecov Report
@@ Coverage Diff @@## master #70 +/- ##==========================================+ Coverage 95.01% 95.14% +0.12%========================================== Files 48 49 +1 Lines 2487 2512 +25 Branches 382 382 ==========================================+ Hits 2363 2390 +27+ Misses 75 73 -2 Partials 49 49
|
Uh oh!
There was an error while loading.Please reload this page.
This PR implement rule
restrict-plus-operands
continuation ofbradzacher/eslint-plugin-typescript#230