System Grab Bag

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

eslint

A pluggable linting utility for JavaScript and JSX. More information: https://eslint.org.
  • Create the ESLint config file:
    eslint --init
  • Lint one or more files:
    eslint {{path/to/file1.js path/to/file2.js ...}}
  • Fix lint issues:
    eslint --fix
  • Lint using the specified config:
    eslint -c {{path/to/config_file}} {{path/to/file1.js path/to/file2.js}}

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.