Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 653 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 653 Bytes

@fantasticit/code-lint

一行命令为项目集成 eslint、stylelint、commitlint、lint-staged、prettierr 支持

preview

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.