2.2.2 • Published 1 year ago

@jills-office/code-health v2.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

jills-office-code-health

Formatting, linting, static analysis, etc.

Currently implemented commands

format

Command: health format

Formats code through Prettier. Check formatting using the standard Prettier CLI flag --check.

Config files are .prettierrc.js and .prettierignore.

lint

Command: health lint

Lints code through ESLint.

Config files are .eslintrc.js and .eslintignore.

spellcheck

Command: health spellcheck

Spellchecks code through CSpell.

Config file is cspell.config.js.

Examples

# format all code
npx health format

# check formatting for all code
npx health format --check

# only run formatting for a specific file
npx health format ./src/my-file.ts
2.2.1

1 year ago

2.2.2

1 year ago

2.2.0

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

2.0.0-beta1

1 year ago