Skip to content

Commit 4154820

Browse files
committed
move autofix alpha-value-notation
1 parent 4e2001d commit 4154820

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.stylelintrc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ module.exports = {
1010
rules: {
1111
'at-rule-empty-line-before': null,
1212
'block-closing-brace-newline-before': null, // fix bad formatting with "each()"
13-
'color-function-notation': 'legacy',
1413
'declaration-block-trailing-semicolon': null, // fix bad formatting with "each()"
1514
indentation: null, // TODO change to "4" once https://github.com/fomantic/Fomantic-UI/pull/2593#discussion_r1045131096 is fixed
1615
'max-line-length': null,
1716
'no-descending-specificity': null,
1817
'no-extra-semicolons': null, // fix GH-1832 - workaround for wikimedia/less.php parser
1918
'rule-empty-line-before': null,
2019

20+
// TODO rules to be removed/fixed in v2.10.0 as fixes are not compatible with IE11
21+
'alpha-value-notation': 'number', // https://caniuse.com/mdn-css_properties_opacity_percentages
22+
'color-function-notation': 'legacy', // https://caniuse.com/mdn-css_types_color_rgba_space_separated_parameters
23+
2124
// TODO
2225
'string-quotes': null, // 1676 errors
2326
'at-rule-no-unknown': null, // 1081 errors
@@ -32,7 +35,6 @@ module.exports = {
3235
'keyframes-name-pattern': null, // 50 errors
3336
'property-no-vendor-prefix': null, // 49 errors
3437
'number-leading-zero': null, // 49 errors
35-
'alpha-value-notation': null, // 32 errors
3638
'block-no-empty': null, // 25 errors
3739
'selector-no-vendor-prefix': null, // 19 errors
3840
'selector-class-pattern': null, // 19 errors

0 commit comments

Comments
 (0)