-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: fix build break and upgrade dependencies #853
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
| "experimentalDecorators": true, | ||
| "noImplicitAny": true, | ||
| "strictNullChecks": true, | ||
|
|
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.
JSON files should not be linted by prettier. I find this empty line as very useful to delimit language-related flags from project-related settings.
Could you please revert this change?
| "no-unused-variable": true, | ||
| "no-var-keyword": true, | ||
| "triple-equals": [true, "allow-null-check", "allow-undefined-check"], | ||
| "typeof-compare": true |
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.
Could you please explain why you are removing typeof-compare? I am sure you have good reasons, I'd just like to understand them too 😄
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.
Running the upgraded version of tslint complains that typeof-compare rule is now the default since TS 2.2 and it's not needed.
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.
^^^ It even prints that warning in our CI after tests pass (Travis & AppVeyor)
- fix build break by newer version of prettier - upgrade tool dependencies - remove the typeof-compare tslint rule as it's default now since TS 2.2
4971a6f to
7b26106
Compare
|
@bajtos PTAL |
bajtos
left a comment
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.
👏
Checklist
npm testpasses on your machinepackages/cliwere updatedpackages/example-*were updated