
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
@aplus-frontend/oxfmt-config
Advanced tools
🚀 Ultra-fast OXC Formatter config preset for Aplus frontend team
基于 Rust 编写的高性能代码格式化工具配置预设
# 只需安装这一个包,无需 prettier
pnpm add @aplus-frontend/oxfmt-config -D
# 只需安装这一个包,无需 prettier
pnpm add @aplus-frontend/oxfmt-config -D
在 package.json 中添加:
{
"scripts": {
"format": "oxfmt",
"format:check": "oxfmt --check"
}
}
注意:包内已包含
oxfmt可执行文件和配置,无需额外安装或配置。
# 格式化所有文件(默认)
pnpm format
# 检查格式化(不修改文件)
pnpm format:check
# 格式化特定文件
pnpm format src/**/*.{js,ts,vue}
此预设包含以下配置:
| 选项 | 值 | 说明 |
|---|---|---|
printWidth | 80 | 每行最大字符数 |
indentWidth | 2 | 缩进宽度 |
useTabs | false | 使用空格而非制表符 |
semicolons | always | 始终使用分号 |
singleQuote | true | 使用单引号 |
trailingComma | none | 不使用尾随逗号 |
bracketSpacing | true | 对象字面量括号内有空格 |
arrowParens | true | 箭头函数参数总是使用括号 |
如果你正在从 @aplus-frontend/prettier-config 迁移:
pnpm remove prettier @aplus-frontend/prettier-config
pnpm add @aplus-frontend/oxfmt-config -D
更新配置文件(删除 .prettierrc,创建 .oxc.json)
更新 package.json 脚本:
{
"scripts": {
"format": "oxc format --write .",
"format:check": "oxc format --check ."
}
}
MIT © Aplus Frontend Team
FAQs
OXC formatter config preset for aplus team.
We found that @aplus-frontend/oxfmt-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.