
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@megalo/cli-plugin-typescript
Advanced tools
typescript plugin for megalo-cli
使用 TypeScript
+ ts-loader
+ fork-ts-checker-webpack-plugin
进行类型检查.
可以通过 tsconfig.json
配置 TypeScript
.
此插件依赖 TypeScript
, 你可以在项目的 package.json
安装适合自己的 typescript
版本.
这个插件可以和 @megalo/cli-plugin-babel
一起使用. 与Babel一起使用时,此插件将输出ES2015,并根据babel配置将其余部分交给Babel进行自动编译转换.
使用 ts-lint
修复代码格式
megalo-cli-service lint
Usage: megalo-cli-service lint [options] [...files]
Options:
--format [formatter] specify formatter (default: codeframe)
--no-fix do not fix errors
--formatters-dir formatter directory
--rules-dir rules directory
config.rule('ts')
config.rule('ts').use('ts-loader')
config.plugin('fork-ts-checker')
FAQs
typescript plugin for megalo-cli
We found that @megalo/cli-plugin-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.