Add common linters, formatters, and hopefully sane configurations, for common web projects with an intuitive CLI.
calavera.mp4
- EditorConfig
- ESLint (If using TypeScript, this will be configured using typescript-eslint)
- ESLint HTML - with use-baseline
- ESLint CSS - with use-baseline
-
tsconfig -
tsconfig(noEmit - when used with a bundler) -
tsconfig(noEmit and erasableSyntaxOnly - when used with a bundler) - Prettier
- Stylelint - with use-baseline
From the root of your project, run the following command:
npm create project-calaveraAll that is left to do is to follow the prompts.
NOTE: If you do not have a
package.jsonCalavera will offer to create one for you. If you choose this option, one is created usingnpm init -y.
Thank you Nik on Unsplash for the photo I used on the social preview.