Skip to content

Commit

Permalink
Fix selector-max-type end positions (#7518)
Browse files Browse the repository at this point in the history
* Fix inaccurate end positions in `selector-max-type`

* cleanup

* cleanup

* Create shaggy-news-leave.md

* Update .changeset/shaggy-news-leave.md

Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>

* fix

* Update lib/utils/flattenNestedSelectorsForRule.mjs

Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>

* finish suggested edit

* fix indices

* apply suggestion from code review

* fix end positions

* trim before length

* Add missing `column`

* update test description

---------

Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
romainmenke and ybiquitous committed Mar 23, 2024
1 parent 46f5eaa commit 1796f82
Show file tree
Hide file tree
Showing 9 changed files with 344 additions and 60 deletions.
5 changes: 5 additions & 0 deletions .changeset/shaggy-news-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stylelint": patch
---

Fixed: `selector-max-type` end positions

0 comments on commit 1796f82

Please sign in to comment.