Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrsskls committed Dec 17, 2021
1 parent 6f8c64f commit 6710edb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,22 @@ You can also lint a specific type via e.g.:
yarn factorial lint --only css
```

Vice versa, if you want to lint all but one type, you can use `--skip`:

```bash
yarn factorial lint --skip css
```

Both params (`--only` and `--skip`) accept a comma separated list.

If you want to lint only staged files, you can do that by adding `--staged`:

```bash
yarn factorial lint --staged
```

Please note, that this is only supported by the `css`, `javascript` and `vue` packages.

### optimize

```bash
Expand Down

0 comments on commit 6710edb

Please sign in to comment.