Skip to content

Commit

Permalink
Update docs/rules/use-layers.md
Browse files Browse the repository at this point in the history
Co-authored-by: Milos Djermanovic <[email protected]>
  • Loading branch information
nzakas and mdjermanovic authored Jan 14, 2025
1 parent 253e0be commit 2d537f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/use-layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The `layerNamePattern` is a regular expression string that allows you to validat
Here's an example of **incorrect** code:

```css
/* eslint css/use-layers: ["error", { layerNamePattern: "reset|theme|base" }] */
/* eslint css/use-layers: ["error", { layerNamePattern: "^(reset|theme|base)$" }] */
/* possible typo */
@import url(foo.css) layer(resett);

Expand Down

0 comments on commit 2d537f2

Please sign in to comment.