0.12.0 • Published 1 month ago
@superdispatch/js-tools v0.12.0
@superdispatch/js-tools
Installation
yarn add @superdispatch/js-tools -D
Usage
$ npm install -g @superdispatch/js-tools
$ js-tools COMMAND
running command...
$ js-tools (-v|--version|version)
@superdispatch/js-tools/0.12.0 darwin-x64 node-v20.19.2
$ js-tools --help [COMMAND]
USAGE
$ js-tools COMMAND
...
With lint-staged
:
module.exports = { '*': 'js-tools lint --fix' };
Commands
js-tools lint
Run all linters
USAGE
$ js-tools lint
OPTIONS
--cache Only check changed files
--fix Run auto-fixes
--help show CLI help
--maxWarnings=maxWarnings [default: -1] Maximum number of warnings after which the command will exit with a non-zero
exit code
--quiet Do not emit warnings
EXAMPLES
$ js-tools lint --fix
$ js-tools lint --quiet
$ js-tools lint foo.js bar.js
See code: dist/commands/lint/index.js
js-tools lint:eslint
Run ESLint
USAGE
$ js-tools lint:eslint
OPTIONS
--cache Only check changed files
--fix Run auto-fixes
--help show CLI help
--maxWarnings=maxWarnings [default: -1] Maximum number of warnings after which the command will exit with a non-zero
exit code
--quiet Do not emit warnings
EXAMPLES
$ js-tools lint --fix
$ js-tools lint --quiet
$ js-tools lint foo.js bar.js
See code: dist/commands/lint/eslint.js
js-tools lint:prettier
Run Prettier
USAGE
$ js-tools lint:prettier
OPTIONS
--cache Only check changed files
--fix Run auto-fixes
--help show CLI help
--maxWarnings=maxWarnings [default: -1] Maximum number of warnings after which the command will exit with a non-zero
exit code
--quiet Do not emit warnings
EXAMPLES
$ js-tools lint --fix
$ js-tools lint --quiet
$ js-tools lint foo.js bar.js
See code: dist/commands/lint/prettier.js
js-tools lint:yarn-deduplicate
Deduplicate yarn dependencies
USAGE
$ js-tools lint:yarn-deduplicate
OPTIONS
--cache Only check changed files
--fix Run auto-fixes
--help show CLI help
--maxWarnings=maxWarnings [default: -1] Maximum number of warnings after which the command will exit with a non-zero
exit code
--quiet Do not emit warnings
EXAMPLES
$ js-tools lint --fix
$ js-tools lint --quiet
$ js-tools lint foo.js bar.js
See code: dist/commands/lint/yarn-deduplicate.js
0.11.0
1 month ago
0.12.0
1 month ago
0.10.0
2 months ago
0.9.0
2 months ago
0.8.0
4 months ago
0.7.0
4 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.0
4 years ago
0.3.0
4 years ago
0.2.24
5 years ago
0.2.22
5 years ago
0.2.20
5 years ago
0.2.19
5 years ago
0.2.18
5 years ago
0.2.17
5 years ago
0.2.15
5 years ago
0.2.14
5 years ago
0.2.12
5 years ago
0.2.5
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.62
5 years ago
0.1.60
5 years ago
0.1.57
5 years ago
0.1.51
5 years ago
0.1.50
5 years ago
0.1.47
5 years ago
0.1.46
5 years ago
0.1.44-alpha.0
5 years ago
0.1.41
5 years ago
0.1.37
5 years ago
0.1.34
6 years ago
0.1.31
6 years ago
0.1.30
6 years ago
0.1.27
6 years ago
0.1.26
6 years ago
0.1.24
6 years ago
0.1.15
6 years ago
0.1.14
6 years ago
0.1.13
6 years ago
0.1.10
6 years ago
0.1.6
6 years ago
0.1.3
6 years ago
0.1.3-alpha.4
6 years ago
0.1.3-alpha.3
6 years ago