@fr0st/stylelint-config 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +97 -0
- package/package.json +1 -1
package/index.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
extends: [
|
|
3
|
+
'stylelint-config-standard',
|
|
4
|
+
'stylelint-config-recess-order',
|
|
5
|
+
'@stylistic/stylelint-config'
|
|
6
|
+
],
|
|
7
|
+
rules: {
|
|
8
|
+
'@stylistic/at-rule-name-space-after': 'always',
|
|
9
|
+
'@stylistic/at-rule-semicolon-space-before': 'never',
|
|
10
|
+
'@stylistic/block-closing-brace-empty-line-before': null,
|
|
11
|
+
'@stylistic/block-closing-brace-newline-after': null,
|
|
12
|
+
'@stylistic/block-opening-brace-space-before': null,
|
|
13
|
+
'@stylistic/declaration-block-semicolon-newline-before': 'never-multi-line',
|
|
14
|
+
'@stylistic/indentation': 4,
|
|
15
|
+
'@stylistic/max-empty-lines': 2,
|
|
16
|
+
'@stylistic/max-line-length': null,
|
|
17
|
+
'@stylistic/number-leading-zero': 'never',
|
|
18
|
+
'@stylistic/selector-list-comma-newline-before': 'never-multi-line',
|
|
19
|
+
'@stylistic/selector-list-comma-space-after': 'always-single-line',
|
|
20
|
+
'@stylistic/selector-list-comma-space-before': 'never-single-line',
|
|
21
|
+
'@stylistic/string-quotes': 'double',
|
|
22
|
+
'@stylistic/unicode-bom': 'never',
|
|
23
|
+
'@stylistic/value-list-comma-newline-after': 'never-multi-line',
|
|
24
|
+
'@stylistic/value-list-comma-newline-before': 'never-multi-line',
|
|
25
|
+
'@stylistic/value-list-comma-space-after': 'always',
|
|
26
|
+
'alpha-value-notation': null,
|
|
27
|
+
'at-rule-empty-line-before': null,
|
|
28
|
+
'color-function-notation': null,
|
|
29
|
+
'color-named': 'never',
|
|
30
|
+
'custom-property-empty-line-before': null,
|
|
31
|
+
'custom-property-pattern': null,
|
|
32
|
+
'declaration-block-no-redundant-longhand-properties': null,
|
|
33
|
+
'declaration-empty-line-before': null,
|
|
34
|
+
'declaration-no-important': null,
|
|
35
|
+
'font-weight-notation': [
|
|
36
|
+
'numeric',
|
|
37
|
+
{
|
|
38
|
+
ignore: [
|
|
39
|
+
'relative'
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
'function-url-no-scheme-relative': true,
|
|
44
|
+
'media-feature-range-notation': null,
|
|
45
|
+
'media-query-no-invalid': null,
|
|
46
|
+
'no-descending-specificity': null,
|
|
47
|
+
'number-max-precision': null,
|
|
48
|
+
'rule-empty-line-before': null,
|
|
49
|
+
'selector-max-attribute': 2,
|
|
50
|
+
'selector-max-class': 4,
|
|
51
|
+
'selector-max-combinators': 4,
|
|
52
|
+
'selector-max-compound-selectors': 4,
|
|
53
|
+
'selector-max-id': 0,
|
|
54
|
+
'selector-max-specificity': null,
|
|
55
|
+
'selector-max-type': 2,
|
|
56
|
+
'selector-max-universal': 2,
|
|
57
|
+
'selector-no-qualifying-type': [
|
|
58
|
+
true,
|
|
59
|
+
{
|
|
60
|
+
ignore: [
|
|
61
|
+
'attribute'
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
'selector-not-notation': null,
|
|
66
|
+
'scss/at-function-named-arguments': null,
|
|
67
|
+
},
|
|
68
|
+
overrides: [
|
|
69
|
+
{
|
|
70
|
+
files: '**/*.scss',
|
|
71
|
+
extends: [
|
|
72
|
+
'stylelint-config-standard-scss',
|
|
73
|
+
'stylelint-config-recess-order'
|
|
74
|
+
],
|
|
75
|
+
rules: {
|
|
76
|
+
'no-invalid-position-at-import-rule': null,
|
|
77
|
+
'scss/at-extend-no-missing-placeholder': null,
|
|
78
|
+
'scss/at-if-closing-brace-newline-after': null,
|
|
79
|
+
'scss/at-if-closing-brace-space-after': null,
|
|
80
|
+
'scss/at-if-no-null': null,
|
|
81
|
+
'scss/at-mixin-argumentless-call-parentheses': 'always',
|
|
82
|
+
'scss/at-mixin-pattern': null,
|
|
83
|
+
'scss/at-rule-conditional-no-parentheses': null,
|
|
84
|
+
'scss/comment-no-empty': null,
|
|
85
|
+
'scss/dimension-no-non-numeric-values': true,
|
|
86
|
+
'scss/dollar-variable-colon-space-after': 'at-least-one-space',
|
|
87
|
+
'scss/dollar-variable-empty-line-before': null,
|
|
88
|
+
'scss/double-slash-comment-empty-line-before': null,
|
|
89
|
+
'scss/double-slash-comment-whitespace-inside': null,
|
|
90
|
+
'scss/function-quote-no-quoted-strings-inside': null,
|
|
91
|
+
'scss/media-feature-value-dollar-variable': null,
|
|
92
|
+
'scss/no-global-function-names': null,
|
|
93
|
+
'scss/selector-no-redundant-nesting-selector': true
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
};
|