2 extends: ['stylelint-config-standard-scss', 'stylelint-config-prettier-scss'],
4 'color-no-invalid-hex': true,
5 'font-family-no-duplicate-names': true,
6 'font-family-no-missing-generic-family-keyword': true,
7 'function-calc-no-unspaced-operator': true,
8 'function-linear-gradient-no-nonstandard-direction': true,
9 'string-no-newline': true,
10 'unit-no-unknown': true,
11 'property-no-unknown': true,
12 'keyframe-declaration-no-important': true,
13 'declaration-block-no-duplicate-properties': [
15 { ignore: ['consecutive-duplicates-with-different-values'] },
17 'declaration-block-no-shorthand-property-overrides': true,
18 'block-no-empty': true,
19 'selector-pseudo-class-no-unknown': true,
20 'selector-pseudo-element-no-unknown': true,
21 'selector-type-no-unknown': true,
22 'selector-anb-no-unmatchable': null,
23 'media-feature-name-no-unknown': true,
24 'at-rule-no-unknown': [
48 'comment-no-empty': true,
49 'no-descending-specificity': null,
50 'no-duplicate-at-import-rules': true,
51 'no-duplicate-selectors': true,
52 'no-empty-source': true,
53 'no-invalid-double-slash-comments': null,
55 'alpha-value-notation': 'number',
56 'hue-degree-notation': 'angle',
57 'color-function-notation': 'modern',
58 'color-named': ['always-where-possible', { ignore: ['inside-function'] }],
60 'font-weight-notation': 'named-where-possible',
61 'function-url-no-scheme-relative': null,
62 'keyframes-name-pattern': null,
63 'number-max-precision': 3,
64 'time-min-milliseconds': null,
65 'shorthand-property-no-redundant-values': true,
66 'value-no-vendor-prefix': true,
67 'custom-property-pattern': null,
68 'property-no-vendor-prefix': true,
69 'selector-pseudo-element-colon-notation': 'double',
70 'selector-class-pattern': null,
71 'scss/at-extend-no-missing-placeholder': null,
72 'scss/no-global-function-names': null, // todo: reintroduce this later with sass migrate
74 'function-name-case': 'lower',
75 'function-url-quotes': 'never',
77 'liberty/use-logical-spec': 'always',
79 plugins: ['stylelint-use-logical-spec'],