Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fantasticit/code-lint

一行命令为项目集成 eslint、stylelint、commitlint、lint-staged、prettierr 支持
https://github.com/fantasticit/code-lint

commitlint eslint husky lint-staged prettierr stylelint

Last synced: 22 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# @fantasticit/code-lint

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

preview

## Usage

```bash
yarn add @fantasticit/code-lint -D -W
```

then just run:

```bash
yarn fantasticit-code-lint init
```

or you can:

```bash
npm i -g @fantasticit/code-lint
fantasticit-code-lint init # exec this in project
```

you can see these files added in your project:

```bash
.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.