Skip to content

Support to report TS style checks as warnings#37616

Merged
mjbvz merged 2 commits intomasterfrom
egamma/styleChecksAsWarnings
Nov 6, 2017
Merged

Support to report TS style checks as warnings#37616
mjbvz merged 2 commits intomasterfrom
egamma/styleChecksAsWarnings

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