Skip to content

Commit 8253ac7

Browse files
committed
disable indentation rule for now, remove stylelint disable comments
1 parent f63694d commit 8253ac7

File tree

13 files changed

+325
-325
lines changed

13 files changed

+325
-325
lines changed

.stylelintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
'at-rule-empty-line-before': null,
1212
'block-closing-brace-newline-before': null, // fix bad formatting with "each()"
1313
'declaration-block-trailing-semicolon': null, // fix bad formatting with "each()"
14-
indentation: 4,
14+
// indentation: 4, enabled once https://github.com/fomantic/Fomantic-UI/pull/2593#discussion_r1045131096 is fixed
1515
'max-line-length': null,
1616
'no-descending-specificity': null,
1717
'no-extra-semicolons': null, // fix GH-1832 - workaround for wikimedia/less.php parser

src/definitions/collections/message.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,39 +296,39 @@
296296
text : @positiveTextColor;
297297
invertedText : @positiveBorderColor;
298298
};
299-
@negative: { // stylelint-disable-line indentation
299+
@negative: {
300300
background : @negativeBackgroundColor;
301301
header : @negativeHeaderColor;
302302
boxShadow : @negativeBoxShadow;
303303
boxFloatShadow : @negativeBoxFloatingShadow;
304304
text : @negativeTextColor;
305305
invertedText : @negativeBorderColor;
306306
};
307-
@info: { // stylelint-disable-line indentation
307+
@info: {
308308
background : @infoBackgroundColor;
309309
header : @infoHeaderColor;
310310
boxShadow : @infoBoxShadow;
311311
boxFloatShadow : @infoBoxFloatingShadow;
312312
text : @infoTextColor;
313313
invertedText : @formInfoLabelBackground;
314314
};
315-
@warning: { // stylelint-disable-line indentation
315+
@warning: {
316316
background : @warningBackgroundColor;
317317
header : @warningHeaderColor;
318318
boxShadow : @warningBoxShadow;
319319
boxFloatShadow : @warningBoxFloatingShadow;
320320
text : @warningTextColor;
321321
invertedText : @formWarningLabelBackground;
322322
};
323-
@error: { // stylelint-disable-line indentation
323+
@error: {
324324
background : @errorBackgroundColor;
325325
header : @errorHeaderColor;
326326
boxShadow : @errorBoxShadow;
327327
boxFloatShadow : @errorBoxFloatingShadow;
328328
text : @errorTextColor;
329329
invertedText : @formErrorLabelBackground;
330330
};
331-
@success: { // stylelint-disable-line indentation
331+
@success: {
332332
background : @successBackgroundColor;
333333
header : @successHeaderColor;
334334
boxShadow : @successBoxShadow;

src/themes/basic/elements/icon.variables

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
text-transform: none;
1616
};
1717
};
18-
@icon-deprecated-map: {}; // stylelint-disable-line indentation, block-closing-brace-newline-after
18+
@icon-deprecated-map: {};
1919
@icon-outline-map: {};
20-
@icon-outline-aliases-map: {}; // stylelint-disable-line indentation, block-closing-brace-newline-after
20+
@icon-outline-aliases-map: {};
2121
@icon-brand-map: {};
22-
@icon-brand-aliases-map: {}; // stylelint-disable-line indentation, block-closing-brace-newline-after
22+
@icon-brand-aliases-map: {};

src/themes/default/elements/emoji.variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3572,7 +3572,7 @@
35723572
1f1e6: regional_indicator_a;
35733573
};
35743574

3575-
@size-map: { // stylelint-disable-line indentation
3575+
@size-map: {
35763576
small: 1;
35773577
medium: 2;
35783578
large: 4;

0 commit comments

Comments
 (0)