
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.