-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@schematics/angular): extend tslint:recommended #13213
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(@schematics/angular): extend tslint:recommended #13213
Conversation
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.
From my end this LGTM.
Waiting for @mgechev to confirm.
"check-space" | ||
], | ||
"curly": true, | ||
"adjacent-overload-signatures": false, |
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.
Looks like in the current CLI and tslint this has value true
, lmk if I'm wrong.
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.
Hmm, I don't think it is present in the current tslint.json, so I guess it's not activated (unless I'm missing something?).
|
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.
@cexbrayat left one comment. Otherwise, LGTM
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.
object-literal-key-quotes
seems the only config to fix.
Updates the `tslint.json` file to extend to the `tslint:recommended` set. Removes the rules that have the same value as the recommended one and explicitely deactivates some rules that are activated in the recommended set, but were not in ours.
23945da
to
6d72396
Compare
@mgechev good catch: I added |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Updates the
tslint.json
file to extend to thetslint:recommended
set.Removes the rules that have the same value as the recommended one and explicitely deactivates some rules that are activated in the recommended set, but were not in ours.
Fixes #6179
cc @mgechev this is to start the discussion, feedback welcome