1.0.2 • Published 1 year ago
ts-silence-diagnostics v1.0.2
ts-silence-diagnostics
A TypeScript plugin to silence specific diagnostic codes in your project.
Installation
Install the package from npm:
npm install --save-dev ts-silence-diagnostics
Configuration
In your tsconfig.json
, add the plugin configuration:
{
"compilerOptions": {
"plugins": [
{
"name": "ts-silence-diagnostics",
"ignoredCodes": [1234]
}
]
}
}
Replace [1234]
with an array of diagnostic codes you want to ignore.