@fantasticit/code-lint
一行命令为项目集成 eslint、stylelint、commitlint、lint-staged、prettierr 支持
Usage
yarn add @fantasticit/code-lint -D -W
then just run:
yarn fantasticit-code-lint init
or you can:
npm i -g @fantasticit/code-lint
fantasticit-code-lint init # exec this in project
you can see these files added in your project:
.editorconfig
.prettierignore
.prettierrc.js
stylelint.config.js
.eslintignore
.eslintrc.js
.cz-config.js
commitlint.config.js
lint-staged.config.js
.huskyrc.js
Have fun coding.