
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@fezvrasta/tsc-silent
Advanced tools
tsc-silent
The purpose of the wrapper is to execute TypeScript compiler but suppress some error messages
coming from certain files/folders. For example, this can be used to enable noImplicitAny
in
some parts of the project while keeping it disabled in others.
npm install -g tsc-silent
tsc-silent --project <path> [--suppress config | --suppressConfig path] [--compiler path] [--watch]
--project, -p Path to tsconfig.json
--compiler Path to typescript.js.
By default, uses `./node_modules/typescript/lib/typescript.js`.
--suppress Suppressed erros.
E.g. `--suppress 7017@src/js/ 2322,2339,2344@/src/legacy/`.
--suppressConfig Path to supressed errors config.
See documentation for examples.
--watch, -w Run in watch mode.
--stats Print number of suppressed errors per path and error code.
You have to pass either --suppress
or --suppressConfig
.
--suppress
Let's ignore error 7017
in src/js/
directory and errors 2322, 2339, 2344
in /src/legacy/
:
tsc-silent -p tsconfig.json --suppress 7017@/src/js/ 2322,2339,2344@/src/legacy/
or, ignore all errors in /src/legacy/
folder
tsc-silent -p tsconfig.json --suppress @/src/legacy/
or, completely ignore all errors
tsc-silent -p tsconfig.json --suppress @
--suppressConfig
tsc-silent -p tsconfig.json --suppressConfig tsc-silent.config.js
See example.config.js.
Check out the article to see the intended use.
FAQs
tsc with --supress
We found that @fezvrasta/tsc-silent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.