xo
A pluggable, zero-configuration linting utility for JavaScript. More information: https://github.com/xojs/xo#usage.
- Lint files in the "src" directory:
xo
- Lint a given set of files:
xo
- Automatically fix any lint issues found:
xo --fix
- Lint using spaces as indentation instead of tabs:
xo --space
- Lint using the "prettier" code style:
xo --prettier
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
