eslint Command Examples

A pluggable linting utility for JavaScript and JSX. More information: https://eslint.org.

eslint --init

eslint {{path/to/file1.js path/to/file2.js ...}}

eslint --fix

eslint -c {{path/to/config_file}} {{path/to/file1.js path/to/file2.js}}