forked from turboext/css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
30 lines (30 loc) · 952 Bytes
/
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
module.exports = {
extends: 'stylelint-config-recommended-scss',
plugins: [
'stylelint-high-performance-animation'
],
rules: {
'plugin/no-low-performance-animation-properties': true,
'unit-whitelist': ['px', '%', 'rem', 's', 'ms', 'deg', 'vw', 'vh'],
'selector-max-specificity': '0,4,0',
'selector-max-type': 0,
'selector-max-attribute': 0,
'at-rule-blacklist': ['font-face', 'import'],
'property-blacklist': [
'perspective',
'backface-visibility',
'mask',
'mask-image',
'mask-border',
'clip-path'
],
'function-url-scheme-whitelist': '/^\.\//',
'function-url-no-scheme-relative': true,
'selector-class-pattern': '^((?!markup|page__|typo|grid).)*$'
},
ignoreFiles: [
'hosts/**/*.min.css',
'hosts/**/*.css.gz',
'hosts/**/*.yaml'
]
};