This repository was archived by the owner on Sep 19, 2025. It is now read-only.
Adds diagnosticCodesToIgnore for tsLinter
This new option lets you ignore expected lint errors by listing their error codes.
Example:
tsLinter({
diagnosticCodesToIgnore: [
2354, // tslib not found
2307, // Cannot find module 'xxx' or its corresponding type declarations
1375, // 'await' expressions are only allowed at the top level of a file when that file is a module
],
}),Thanks @KABBOUCHI for this contribution!