angelozerr / tslint-language-service

TypeScript 2.2.1 plugin for tslint
MIT License
188 stars 22 forks source link

Feature: Supress linter errors while type errors present #51

Closed spion closed 7 years ago

spion commented 7 years ago

If enabled, linter errors will not appear until all other (type) errors are resolved.

This should reduce clutter and allow developers to "talk" with the type checker first before addressing lint errors.

spion commented 7 years ago

Fixes https://github.com/angelozerr/tslint-language-service/issues/50

angelozerr commented 7 years ago

Thanks @spion for your PR.

@egamma what do you think about this idea?

egamma commented 7 years ago

@angelozerr the option make sense to me and PR LGTM 👍

angelozerr commented 7 years ago

Thanks @egamma for your answer.

@spion could you update too https://github.com/angelozerr/tslint-language-service#configuration-options with your new option please. Thanks

spion commented 7 years ago

Updated README.md (both doc and example)

angelozerr commented 7 years ago

Thanks @spion !

spion commented 7 years ago

Awesome! Whats the plan for the next release on npm?