forked from Codennnn/vue-color-avatar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
41 lines (37 loc) · 824 Bytes
/
.stylelintrc.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
module.exports = {
extends: [
'stylelint-config-recommended',
'stylelint-prettier/recommended',
'stylelint-config-rational-order',
],
plugins: ['stylelint-scss', 'stylelint-order'],
rules: {
'at-rule-no-unknown': null,
'no-irregular-whitespace': null,
'scss/at-rule-no-unknown': [
true,
{
ignoreAtRules: ['tailwind'],
},
],
'font-family-no-missing-generic-family-keyword': [
true,
{ ignoreFontFamilies: ['Fallback'] },
],
'selector-pseudo-class-no-unknown': [
true,
{ ignorePseudoClasses: ['deep'] },
],
},
ignoreFiles: ['dist/**/*.css'],
overrides: [
{
files: ['**/*.vue'],
customSyntax: 'postcss-html',
},
{
files: ['**/*.scss'],
customSyntax: 'postcss-scss',
},
],
}