-
Notifications
You must be signed in to change notification settings - Fork 1
Usage
Moritz Jacobs edited this page Feb 25, 2020
·
1 revision
Usage: scriptlint [options] [packageFile]
Options:
-V, --version output the version number
-s, --strict strict mode
-j, --json JSON output
-c, --config inspect the config
-f, --fix autofixing
-h, --help output usage information
Find problems in the current directory's package.json
:
scriptlint
Find problems in the current directory's package.json
in strict mode:
scriptlint --strict
or scriptlint -s
Fix autofixable problems in the current directory's package.json
in strict mode:
scriptlint --fix --strict
or scriptlint -f -s
Find problems in a specific package.json
:
scriptlint ~/foo/project-dir/package.json
- Motivation
- The scriptlint "standard" tl;dr
-
The scriptlint "standard"
- Rules enforceable via the scriptlint CLI
- Best practices
- The scriptlint CLI
- Contributing to scriptlint