-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylelint.config.js
45 lines (45 loc) · 1.25 KB
/
stylelint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** @type {import('stylelint').Config} */
module.exports = {
extends: [
'stylelint-config-standard-scss',
'stylelint-config-prettier-scss',
'stylelint-prettier/recommended',
],
rules: {
'selector-class-pattern': null,
'declaration-block-no-redundant-longhand-properties': null,
'value-keyword-case': null,
'alpha-value-notation': 'number',
'no-descending-specificity': null,
'custom-property-pattern': null,
'function-name-case': null,
'font-family-no-missing-generic-family-keyword': [
true,
{
ignoreFontFamilies: ['apple-system-wrapper'],
},
],
'property-no-vendor-prefix': null,
'value-no-vendor-prefix': null,
'scss/no-global-function-names': null,
'scss/at-mixin-pattern': null,
'scss/dollar-variable-pattern': null,
'selector-id-pattern': null,
'scss/at-function-pattern': null,
'scss/percent-placeholder-pattern': null,
'no-duplicate-selectors': null,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['global', 'local'],
},
],
'media-feature-name-no-unknown': [
true,
{
ignoreMediaFeatureNames: ['variables'],
},
],
'media-feature-range-notation': null,
},
};