GitXplorerGitXplorer
z

vscode-disable-ts-errors

public
4 stars
0 forks
1 issues

Commits

List of commits on branch main.
Unverified
611a129624d2b0a2c973d1e2b7c76f02e12bac9b

update readme

zzardoy committed 2 years ago
Unverified
7400a401510db2d8531f1a6706bf75d4d14f452c

ci: missing lint

zzardoy committed 2 years ago
Unverified
c0af360e0e608041b86b0d3233d4a2d9af267c4a

init commit

zzardoy committed 2 years ago

README

The README file for this repository.

VS Code Disable TS Errors

Disable / configure TypeScript diagnostics.

Usage examples

Toggle

This was mainly created for easier reading of just-cloned repos that don't have dependencies installed yet (so you don't have bunch of red lines). That's why there is statusbar item that can toggle disableTsErrors.disableAllErrors setting.

Per-diagnostic configuration

For projects without typechecking (without jsconfig, js only) you can use disableTsErrors.customizations to disable specific diagnostics, similar how you can override eslint rules reporting with eslint.rules.customizations.

Also you can use this setting to disable refactoring hints, such as suggestions for unused variables. Or you can change severity of some errors to warning or hint.

Using with tsc-silent

If you still really need to disable specific errors in type-checked projects for some reason, you should use this along with tsc-silent. Support for tsc-silent is enabled out of the box when the file with the name tsc-silent.config.js is found in the root (can be changed via setting).