Skip to content

Commit

Permalink
Set max ids to 0, disable for namespace mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bartos committed Aug 2, 2017
1 parent 8308523 commit 371b04e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"selector-max-id": 1,
"selector-max-id": 0,
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-case": "lower",
Expand Down
2 changes: 2 additions & 0 deletions src/css/shared-imports/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
/* Less requires namespaced variables/mixins to overwrite globals - https://github.com/less/less.js/issues/1316 */

/* Mixin for common skin styles with variable colors */
/* stylelint-disable selector-max-id */
#namespace() {
.basic-skin-styles() {
.jw-background-color {
Expand Down Expand Up @@ -373,4 +374,5 @@
}
}
}
/* stylelint-enable selector-max-id */

0 comments on commit 371b04e

Please sign in to comment.