@fr0st/stylelint-config 1.0.3 → 1.0.5
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 -97
- package/package.json +13 -4
package/index.js
CHANGED
|
@@ -1,97 +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
|
-
};
|
|
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
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fr0st/stylelint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Stylelint shareable config for the Frost style.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code",
|
|
@@ -18,9 +18,13 @@
|
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"files": [
|
|
21
|
-
"index.js"
|
|
21
|
+
"index.js",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"README.md"
|
|
22
24
|
],
|
|
23
|
-
"scripts": {
|
|
25
|
+
"scripts": {
|
|
26
|
+
"js-lint": "eslint"
|
|
27
|
+
},
|
|
24
28
|
"repository": {
|
|
25
29
|
"type": "git",
|
|
26
30
|
"url": "https://github.com/elusivecodes/Stylelint-Config.git"
|
|
@@ -29,6 +33,11 @@
|
|
|
29
33
|
"license": "MIT",
|
|
30
34
|
"private": false,
|
|
31
35
|
"dependencies": {
|
|
32
|
-
"
|
|
36
|
+
"@fr0st/eslint-config": "^1.0.1",
|
|
37
|
+
"@stylistic/stylelint-config": "^1.0.1",
|
|
38
|
+
"stylelint": "^16.6.1",
|
|
39
|
+
"stylelint-config-recess-order": "^5.0.1",
|
|
40
|
+
"stylelint-config-standard": "^36.0.1",
|
|
41
|
+
"stylelint-config-standard-scss": "^13.1.0"
|
|
33
42
|
}
|
|
34
43
|
}
|