Skip to content
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

Support to report TS style checks as warnings #37616

Merged
merged 2 commits into from
Nov 6, 2017

Conversation

egamma
Copy link
Member

@egamma egamma commented Nov 3, 2017

This PR adds a setting typescript.reportStyleChecksAsWarnings. If the setting is true, then diagnostics created by the compiler options below are reported as warnings:

  • --noUnusedLocals
  • --noUnusedParameters
  • --noImplicitReturns
  • --noFallthroughCasesInSwitch
  • --allowUnusedLabels
  • --allowUnreachableCode

See also microsoft/TypeScript#13408

@mjbvz mjbvz added this to the November 2017 milestone Nov 6, 2017
@mjbvz mjbvz merged commit edc2317 into master Nov 6, 2017
@joaomoreno joaomoreno deleted the egamma/styleChecksAsWarnings branch December 13, 2017 08:40
@suchanlee suchanlee mentioned this pull request Apr 26, 2018
4 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants