Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add accept test case for <style>--custom-property: blue;</style>
  • Loading branch information
sw1tch3roo committed Aug 2, 2025
commit 556584fb582fe13e48514c66ea3c1bf9796f200f
4 changes: 4 additions & 0 deletions lib/rules/no-invalid-position-declaration/__tests__/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ testRule({
code: '<span style="font-size: 14px; margin: 10px;"></span>',
description: 'HTML style attribute with multiple properties',
},
{
code: '<style>--custom-property: blue;</style>',
description: 'HTML style element with custom property',
},
],
});

Expand Down
Loading