LinuxCommandLibrary

standard

standard

TLDR

Lint all JavaScript source files in the current directory

$ standard
copy


Lint specific JavaScript file(s)
$ standard [path/to/file1 path/to/file2 ...]
copy


Apply automatic fixes during linting
$ standard --fix
copy


Declare any available global variables
$ standard --global [variable]
copy


Use a custom ESLint plugin when linting
$ standard --plugin [plugin]
copy


Use a custom JS parser when linting
$ standard --parser [parser]
copy


Use a custom ESLint environment when linting
$ standard --env [environment]
copy

Copied to clipboard