-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.stylelintrc.js
62 lines (60 loc) · 1.95 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
module.exports = {
plugins: ['@stylistic/stylelint-plugin'],
extends: [
'stylelint-config-standard',
'stylelint-config-recommended',
'stylelint-config-recommended-vue',
'stylelint-config-standard-scss',
'stylelint-config-recommended-scss',
'stylelint-config-recess-order',
],
overrides: [
{
files: ['**/*.vue', '**/*.html'],
customSyntax: 'postcss-html',
},
],
rules: {
'alpha-value-notation': null,
'color-function-notation': null,
'declaration-block-no-redundant-longhand-properties': null,
'declaration-no-important': true,
'media-feature-range-notation': null,
'no-descending-specificity': null,
'number-max-precision': null,
'order/properties-order': null,
'property-no-vendor-prefix': null,
'scss/at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'each',
'else',
'extends',
'for',
'function',
'if',
'ignores',
'include',
'media',
'mixin',
'return',
'use',
// Font Awesome 4
'fa-font-path',
],
},
],
'scss/double-slash-comment-empty-line-before': null,
'scss/double-slash-comment-whitespace-inside': null,
'selector-class-pattern': null,
'shorthand-property-no-redundant-values': null,
'@stylistic/color-hex-case': 'lower',
'@stylistic/indentation': 4,
// '@stylistic/no-empty-first-line': true,
'@stylistic/number-leading-zero': 'always',
'@stylistic/property-case': 'lower',
'@stylistic/string-quotes': 'single',
'@stylistic/unit-case': 'lower',
},
};