-
Notifications
You must be signed in to change notification settings - Fork 200
Enable more TSLint rules from core #491
Comments
It looks like the current grunt task doesn't specify the TypeScript project, which means no type-checked rules are used. There are three warnings that pop up:
If you run with type checking, the 'no-use-before-declare' and 'prefer-readonly' rules produce quite a lot of violations. |
Hmm, that was probably set up before TSLint even had type checking. +1. |
It also looks like the grunt task isn't linting everything that it could. The |
Yeah, looks like |
@JoshuaKGoldberg, not sure if you want to track it here as well, but I've just disabled |
Includes @IllusionMH's changes to `exportNameRule.ts` from #666. This shouldn't be merged in until that PR is. Continues #491.
Now that the tooling is a bit more fleshed out, marking this as a good first issue and easy difficulty. Updating the OP to be a bit more clear. |
Includes @IllusionMH's changes to `exportNameRule.ts` from microsoft#666. This shouldn't be merged in until that PR is. Continues microsoft#491.
💀 It's time! 💀TSLint is being deprecated; therefore, it and tslint-microsoft-contrib are no longer accepting pull requests for major new changes or features. See palantir/tslint#4534. 😱 If you'd like to see this change implemented, you have two choices:
👋 It was a pleasure open sourcing with you! If you believe this message was posted here in error, please comment so we can re-open the issue! |
Keeping a pending list on this issue of rules that would be nice to enable internally for tslint-microsoft-contrib. For each rule, it'd be great to see a single PR that enables it in
tslint.json
and fixes any resultant failures in source code.The text was updated successfully, but these errors were encountered: