跳到主要内容

oxlint

  • oxlint

  • 基于rust的前端工具,速度比eslint快50-100倍

  • 开箱即用

  • 不需要额外其他的配置

  • 错误信息可读性、会告诉为什么报错,如何解决错误

使用​

bash
pnpm add -D oxlint

相关命令​

bash
# 以获取规则列表
npx oxlint@latest --rules

# 有关配置说明
npx oxlint@latest --help