eslint

eslint

TLDR

Create eslint config

$ eslint --init
copy

Lint on a given set of files

$ eslint [filename].js [filename1].js
copy

Fix lint issues

$ eslint --fix
copy

Lint with config

$ eslint -c [path/to/config_file] [app/src]
copy

Copied to clipboard
Dodo Farming