System Grab Bag

View all TLDR pages from common (or from all pages)

xo

A pluggable, zero-configuration linting utility for JavaScript. More information: https://github.com/xojs/xo.
  • 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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.