Our shared config for all CI tools that are installed via (p)npm.
Add a .eslintrc.yaml
to your project, containing:
extends:
- './node_modules/@21torr/ci-npm/eslint/{package}.yaml'
In a Next.js project, you should use:
extends:
- './node_modules/@21torr/ci-npm/eslint/next.js-jsonly.yaml'
- './node_modules/@21torr/ci-npm/eslint/includes/typescript.yaml'
- "next"
- "next/core-web-vitals"
Add a .stylelintrc.yml
to your project, containing:
extends:
- './node_modules/@21torr/ci-npm/stylelint/.stylelintrc.yml'