single command setup for a complete standardjs lint & format experience for javascript & typescript projects.
configure your project to:
- format with standard-prettier
- lint with standard
- wire in typescript support if found in your dependencies
- format & lint on git commit
npx standard-damn-it [--glob <src-glob>]
$ standard-damn-it
instantly setup standardjs formatting into your project via prettier-standard.
setup commit hooks to autoformat committed code with husky & lint-staged.
Usage
$ standard-damn-it
Options
--glob <glob>, -g
Examples
$ standard-damn-it
$ standard-damn-it --glob '{src,test,scripts}/**/*.{js,jsx,ts,tsx}'