meerkapp
|
dc9c3c4329
|
Update simple theme
|
2025-02-18 03:22:22 +03:00 |
|
Bnyro
|
337a6db064
|
[upd] stylelint: use less-compatible configuration and update rules
|
2025-01-14 15:22:23 +01:00 |
|
Alexandre Flament
|
2084d7b1ed
|
[mod] simple theme: change stylelint configuration
* disable declaration-empty-line-before
https://stylelint.io/user-guide/rules/list/declaration-empty-line-before/
this change allows to mix CSS declarations and LESS mixins without empty lines:
#something {
display: flex;
.ltr-left(60rem); // no mandatory empty line before this one
}
* disable no-invalid-position-at-import-rule
https://stylelint.io/user-guide/rules/list/no-invalid-position-at-import-rule/
this change allows to declare some mixins and then import another .less file:
for example:
.ltr-left(@offset) {
left: @offset;
}
@import "style.less";
|
2022-01-16 18:50:19 +01:00 |
|
Markus Heiser
|
dfc5c3bc15
|
[mod] add stylelint process to target themes.simple
Before build, do lint the LESS files using stylelint [1]. The configuration
'stylelint-config-standard' [2] is added to the root of the simple theme [3].
[1] https://stylelint.io/
[2] https://github.com/stylelint/stylelint-config-standard
[3] https://stylelint.io/user-guide/configure
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
2021-06-24 13:27:21 +02:00 |
|