@jills-office/code-health
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @jills-office/code-health

Weekly Downloads

1

Version

2.2.2

License

MIT

Unpacked Size

18.1 kB

Total Files

34

Last publish

Collaborators

  • bthurgood
  • electrovir