xo
A pluggable, zero-configuration linting utility for JavaScript.
- Lint files in the "src" directory:
xo
- Lint a given set of files:
xo {file1}.js {file2}.js
- 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
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).