Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Nicora committed Jun 12, 2024
1 parent 37d6225 commit 987f871
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If StyleLint is new to you, you might want to check out [what it does](https://
## Install

```bash
npm install --save @netcentric/stylelint-config stylelint
npm install --save-dev @netcentric/stylelint-config stylelint
```

## Setup
Expand Down Expand Up @@ -68,14 +68,23 @@ When working with this plugin we've found some browser issues that might help yo

```javascript
"plugin/no-unsupported-browser-features": [true, {
severity: `error`,
severity: `warning`,
browsers,
ignore: [
// "css-hyphens" is only partially supported by Chrome and Android Browser 56
// autoprefixer does the job
`css-hyphens`,
// we expect full CSS grid support on target browsers nowadays
`multicolumn`,
// most of the values are well supported, just clip is partially suppported by Safari
'css-overflow',
// most of the values are well supported, just old versions of Firefox and Safari have a few issues with transparent colors
'css-gradients',
// following rules need to be disabled if using SCSS, since the CSS nesting is going to be converted to compatible CSS by the build tools
'css-nesting',
'css-when-else',
// it might give false positives when using together with SCSS functions, such as column-gap: scss-function();
'column-gap',
]
}],
```

0 comments on commit 987f871

Please sign in to comment.