Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yetiasg committed May 10, 2023
1 parent c8990b9 commit 10a42b9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,27 @@ In the `package.json`
```

## Usage
- run `npm run stylelint-config-selleo init"`
- run `npm run stylelint-config-selleo init`
- select appropriate extensions
- type (or select default) liter scripts names

In your project root directory `.stylelintrc.json` file will appear with previously selected extensions.
In `package.json` selected linter scripts will appear.


## COMMANDS
`init` Initialize the Stylelint Selleo Config by selecting extensions
`husky-init` Init husky pre-commit check
`check-all` Check if some stylelint issues occur for all files
`check-current` Check if some stylelint issues occur for current changes
`fix-all` Run auto fix for all changed files
`fix-current` Run auto fix for currently changed files
`list-all` List all styles issues
`list-current` List styles issues for currently changed files
`help` Display help for stylelint-config-selleo



If you use `prettier`:
Create or update existing `.prettierignore` following rule - ignore prettier for css, sccs and sass files - use stylelint by default
```
Expand Down

0 comments on commit 10a42b9

Please sign in to comment.