This repository has been archived by the owner on Feb 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
42 lines (41 loc) · 1.62 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
module.exports = {
extends: [
'stylelint-config-standard'
],
rules: {
'indentation': 4,
'string-quotes': 'double',
'no-duplicate-selectors': true,
'color-hex-case': 'upper',
'color-hex-length': 'long',
'color-named': 'never',
'color-no-hex': null,
'color-no-invalid-hex': true,
'selector-no-id': true,
'selector-combinator-space-after': 'always',
'selector-attribute-quotes': 'always',
'selector-attribute-operator-space-before': 'never',
'selector-attribute-operator-space-after': 'never',
'selector-attribute-brackets-space-inside': 'never',
'declaration-block-trailing-semicolon': 'always',
'declaration-no-important': true,
'declaration-colon-space-before': 'never',
'declaration-colon-space-after': 'always',
'property-no-vendor-prefix': true,
'value-no-vendor-prefix': true,
'number-leading-zero': 'always',
'function-url-quotes': 'always',
'font-weight-notation': 'numeric',
'font-family-name-quotes': 'always-where-recommended',
'comment-whitespace-inside': 'always',
'comment-empty-line-before': 'always',
'at-rule-no-vendor-prefix': true,
'rule-empty-line-before': 'always',
'selector-pseudo-element-colon-notation': 'double',
'selector-no-vendor-prefix': true,
'media-feature-parentheses-space-inside': 'never',
'media-feature-name-no-vendor-prefix': true,
'media-feature-colon-space-before': 'never',
'media-feature-colon-space-after': 'always'
}
};