-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylelint.config.js
55 lines (52 loc) · 1.29 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
46
47
48
49
50
51
52
53
54
55
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-recommended-vue',
'stylelint-config-prettier',
],
customSyntax: 'postcss-scss',
plugins: ['stylelint-scss'],
overrides: [
{
files: ['*.vue', '**/*.vue'],
customSyntax: 'postcss-html',
},
],
rules: {
/** Font icons */
'font-family-no-missing-generic-family-keyword': null,
/** SCSS **/
'at-rule-no-unknown': null,
'no-descending-specificity': null,
'scss/at-mixin-pattern': null,
'keyframes-name-pattern': null,
'selector-class-pattern': null,
'custom-property-pattern': null,
'declaration-block-no-redundant-longhand-properties': null,
/** Bulma **/
'function-name-case': null,
'scss/dollar-variable-pattern': null,
'no-duplicate-selectors': null, // TODO
/** Vuejs **/
'value-keyword-case': null,
'custom-property-empty-line-before': null,
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['/^v-deep/'],
},
],
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['/^deep/', '/^slotted/', '/^global/'],
},
],
'value-keyword-case': [
'lower',
{
ignoreFunctions: ['v-bind'],
},
],
},
}