Ignore Stylelint rules in SCSS files#10
Ignore Stylelint rules in SCSS files#10szepeviktor wants to merge 1 commit intoconedevelopment:mainfrom szepeviktor:global-rules
Conversation
|
I am on the fence with this. Right now just these 4 modification needed? |
Righty-right! |
|
Let's say you have four violations of the same rule and one of them is intentional. |
|
@adamlaki Friendly ping 🏓 |
|
@szepeviktor not forgotten. After the release of the admin theme (in the next 2-3 weeks), I will come to Spruce (both CSS and UI) for a bigger iteration. Thanks for the reminder! |
|
@adamlaki I am planning to close this on the 4th monthiversary |
|
@adamlaki I would like to contribute again but emotionally blocked my the above ignoring method. |
|
@szepeviktor, you know you are welcome, Viktor. The config - as it is now - was just easier for me, that's all. What would prettier solve? The alphabetizing? Can we ditch Stylelint for prettier? |
Stylelint v16 dropped formatting features. Those features could be added back by installing Prettier. |
|
Prettier is not easy. -@mixin generate-table(
- $selector: '.table',
- $has-variations: true,
- $has-responsive-table: true
-) {
+@mixin generate-table($selector: '.table', $has-variations: true, $has-responsive-table: true) {e.g. I don't know how to prevent this change. |
|
I understand; thanks for the clarification! Well, the example is not so ideal. We have so much mixin where the line-breaking helps visually. I will try to look into it. |
... instead of ignoring them in the Stylelint configuration.
So further violations will pop up!
Lovely 5 line config file 🤩
Please consider doing this in other projects.