@21torr/ci-npm 中文文档教程
CI Config: NPM
我们通过 (p)npm 安装的所有 CI 工具的共享配置。
Using the ESLint config
添加一个 .eslintrc.yaml
到你的项目,包含:
extends:
- './node_modules/@21torr/ci-npm/eslint/{package}.yaml'
Using the Stylelint config
添加一个 .stylelintrc.yml
到你的项目,包含:
extends:
- './node_modules/@21torr/ci-npm/stylelint/.stylelintrc.yml'
CI Config: NPM
Our shared config for all CI tools that are installed via (p)npm.
Using the ESLint config
Add a .eslintrc.yaml
to your project, containing:
extends:
- './node_modules/@21torr/ci-npm/eslint/{package}.yaml'
Using the Stylelint config
Add a .stylelintrc.yml
to your project, containing:
extends:
- './node_modules/@21torr/ci-npm/stylelint/.stylelintrc.yml'