Skip to content

Commit

Permalink
fix(docs/rules/sort-attrs.md): fix typo (#263)
Browse files Browse the repository at this point in the history
Added missing `"` after `"style` at lines 45 and 51.
  • Loading branch information
ShayanTheNerd authored Jan 16, 2025
1 parent 4a1a9e7 commit 1fbd81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/sort-attrs.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ When `priority` is defined, the specified attributes are sorted to the front wit

The default value of `priority` is `["id", "type", "class", "style"]`.

Examples of **incorrect** code for this rule with the default options (`{ "priority": ["id", "type", "class", "style] }`).
Examples of **incorrect** code for this rule with the default options (`{ "priority": ["id", "type", "class", "style"] }`).

```html,incorrect
<button type="submit" id="foo" style="background:red" class="bar"></button>
```

Examples of **correct** code for this rule with the default options (`{ "priority": ["id", "type", "class", "style] }`).
Examples of **correct** code for this rule with the default options (`{ "priority": ["id", "type", "class", "style"] }`).

```html,correct
<button id="foo" type="submit" class="bar" style="background:red"></button>
Expand Down

0 comments on commit 1fbd81f

Please sign in to comment.