Skip to content

Commit

Permalink
disable indentation rule for now, remove stylelint disable comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 10, 2022
1 parent f63694d commit 068b55c
Show file tree
Hide file tree
Showing 13 changed files with 325 additions and 325 deletions.
2 changes: 1 addition & 1 deletion .stylelintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
'at-rule-empty-line-before': null,
'block-closing-brace-newline-before': null, // fix bad formatting with "each()"
'declaration-block-trailing-semicolon': null, // fix bad formatting with "each()"
indentation: 4,
indentation: null, // TODO change to "4" once https://github.com/fomantic/Fomantic-UI/pull/2593#discussion_r1045131096 is fixed
'max-line-length': null,
'no-descending-specificity': null,
'no-extra-semicolons': null, // fix GH-1832 - workaround for wikimedia/less.php parser
Expand Down
10 changes: 5 additions & 5 deletions src/definitions/collections/message.less
Original file line number Diff line number Diff line change
Expand Up @@ -296,39 +296,39 @@
text : @positiveTextColor;
invertedText : @positiveBorderColor;
};
@negative: { // stylelint-disable-line indentation
@negative: {
background : @negativeBackgroundColor;
header : @negativeHeaderColor;
boxShadow : @negativeBoxShadow;
boxFloatShadow : @negativeBoxFloatingShadow;
text : @negativeTextColor;
invertedText : @negativeBorderColor;
};
@info: { // stylelint-disable-line indentation
@info: {
background : @infoBackgroundColor;
header : @infoHeaderColor;
boxShadow : @infoBoxShadow;
boxFloatShadow : @infoBoxFloatingShadow;
text : @infoTextColor;
invertedText : @formInfoLabelBackground;
};
@warning: { // stylelint-disable-line indentation
@warning: {
background : @warningBackgroundColor;
header : @warningHeaderColor;
boxShadow : @warningBoxShadow;
boxFloatShadow : @warningBoxFloatingShadow;
text : @warningTextColor;
invertedText : @formWarningLabelBackground;
};
@error: { // stylelint-disable-line indentation
@error: {
background : @errorBackgroundColor;
header : @errorHeaderColor;
boxShadow : @errorBoxShadow;
boxFloatShadow : @errorBoxFloatingShadow;
text : @errorTextColor;
invertedText : @formErrorLabelBackground;
};
@success: { // stylelint-disable-line indentation
@success: {
background : @successBackgroundColor;
header : @successHeaderColor;
boxShadow : @successBoxShadow;
Expand Down
6 changes: 3 additions & 3 deletions src/themes/basic/elements/icon.variables
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
text-transform: none;
};
};
@icon-deprecated-map: {}; // stylelint-disable-line indentation, block-closing-brace-newline-after
@icon-deprecated-map: {};
@icon-outline-map: {};
@icon-outline-aliases-map: {}; // stylelint-disable-line indentation, block-closing-brace-newline-after
@icon-outline-aliases-map: {};
@icon-brand-map: {};
@icon-brand-aliases-map: {}; // stylelint-disable-line indentation, block-closing-brace-newline-after
@icon-brand-aliases-map: {};
2 changes: 1 addition & 1 deletion src/themes/default/elements/emoji.variables
Original file line number Diff line number Diff line change
Expand Up @@ -3572,7 +3572,7 @@
1f1e6: regional_indicator_a;
};

@size-map: { // stylelint-disable-line indentation
@size-map: {
small: 1;
medium: 2;
large: 4;
Expand Down
Loading

0 comments on commit 068b55c

Please sign in to comment.