qualifyingElement linter should allow `&.classname` form
See original GitHub issueThe following is valid in my opinion, but qualifyElement flags the &.is-active
:
.widget {
color: black;
&.is-active {
color: red;
}
}
This would apply to things like &[disabled]
as well
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Configuring Sass Lint for BEM - Stack Overflow
grid , I get [sass-lint] Class '.grid' should match regular expression /hyphenated_BEM/ (class-name-format) . – Jam3sn. Apr 3, 2018 at ...
Read more >Forms - React-Bootstrap
Control> element in <FloatingLabel> to enable floating labels with Bootstrap's textual form fields. A placeholder is required on each <Form.
Read more >Layout - React-Bootstrap
Give your forms some structure—from inline to horizontal to custom grid implementations—with our form layout options. Forms#. Every group of form fields should...
Read more >Conditional Styling using ClassName in React + ... - YouTube
In this video, you will see how to have conditional styling using className in React. I have prepared a simple react template for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In that code, qualifyElement still flags
&.c
, I believe inappropriately.I’m taking this one on tonight. PR will be soon to follow