mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
[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";
This commit is contained in:
parent
32874dbf7f
commit
2084d7b1ed
1 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "stylelint-config-standard"
|
"extends": "stylelint-config-standard",
|
||||||
|
"rules": {
|
||||||
|
"declaration-empty-line-before": null,
|
||||||
|
"no-invalid-position-at-import-rule": null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue