@superdispatch/js-tools
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

@superdispatch/js-tools

npm

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.7.0 darwin-x64 node-v16.13.1
$ 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
  --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
  --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
  --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
  --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

Readme

Keywords

Package Sidebar

Install

npm i @superdispatch/js-tools

Weekly Downloads

117

Version

0.7.0

License

MIT

Unpacked Size

52.3 kB

Total Files

13

Last publish

Collaborators

  • timurhamitov
  • superdispatch-user
  • doniyor2109