Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions plugins/postcss-rewrite-url/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,21 @@ Stylelint is able to check for unknown property values.
Setting the correct configuration for this rule makes it possible to check even non-standard syntax.

```js
'declaration-property-value-no-unknown': [
true,
{
"typesSyntax": {
"url": "| rewrite-url( <string> <url-modifier>* )"
}
},
],
'function-no-unknown': [
"languageOptions": {
"syntax": {
"types": {
"url": "| rewrite-url( <string> <url-modifier>* )"
}
}
},
"rules": {
"function-no-unknown": [
true,
{
"ignoreFunctions": ["rewrite-url"]
}
],
]
}
```

[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
Expand Down
21 changes: 11 additions & 10 deletions plugins/postcss-rewrite-url/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,21 @@ Stylelint is able to check for unknown property values.
Setting the correct configuration for this rule makes it possible to check even non-standard syntax.

```js
'declaration-property-value-no-unknown': [
true,
{
"typesSyntax": {
"url": "| rewrite-url( <string> <url-modifier>* )"
}
},
],
'function-no-unknown': [
"languageOptions": {
"syntax": {
"types": {
"url": "| rewrite-url( <string> <url-modifier>* )"
}
}
},
"rules": {
"function-no-unknown": [
true,
{
"ignoreFunctions": ["rewrite-url"]
}
],
]
}
```

<linkList>