Skip to content

Commit

Permalink
fix: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Dec 9, 2023
1 parent cb059f8 commit aac3853
Showing 1 changed file with 2 additions and 36 deletions.
38 changes: 2 additions & 36 deletions projects/stylelint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,47 +10,13 @@ Common Stylelint configuration for taiga-ui projects
npm i --save-dev @taiga-ui/stylelint-config
```

1. Create `stylelint.config.js` at project root
2. Create `stylelint.config.js` at project root

```json5
{
extends: ['@taiga-ui/stylelint-config'],
extends: ['@taiga-ui/stylelint-config/taiga'],
}
```

More information about available at
[stylelint documentation](https://github.com/stylelint/stylelint/blob/main/docs/user-guide/configure.md)

### Available presets

- **less** - includes prettier config

```json5
{
extends: ['@taiga-ui/stylelint-config/less'],
}
```

- **angular** - includes prettier config

```json5
{
extends: ['@taiga-ui/stylelint-config/angular'],
}
```

- **angular-less** - combine angular and less configs

```json5
{
extends: ['@taiga-ui/stylelint-config/angular-less'],
}
```

- **taiga** - combine angular, less, taiga configs

```json5
{
extends: ['@taiga-ui/stylelint-config/taiga'],
}
```

0 comments on commit aac3853

Please sign in to comment.