@oroinc/oro-stylelint-config 5.1.0-alpha5 → 5.1.0-dev002
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 +39 -40
- package/package.json +5 -4
package/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* eslint-disable quote-props */
|
|
3
3
|
|
|
4
4
|
module.exports = {
|
|
5
|
-
'plugins': ['stylelint-scss', 'stylelint-declaration-strict-value'],
|
|
6
|
-
'extends': ['stylelint-config-recommended-scss'],
|
|
5
|
+
'plugins': ['stylelint-scss', 'stylelint-declaration-strict-value', 'stylelint-stylistic'],
|
|
6
|
+
'extends': ['stylelint-stylistic/config', 'stylelint-config-recommended-scss'],
|
|
7
7
|
'rules': {
|
|
8
8
|
'at-rule-empty-line-before': [
|
|
9
9
|
'always',
|
|
@@ -22,15 +22,6 @@ module.exports = {
|
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
24
|
'at-rule-no-vendor-prefix': true,
|
|
25
|
-
'block-closing-brace-newline-after': [
|
|
26
|
-
'always',
|
|
27
|
-
{
|
|
28
|
-
'ignoreAtRules': [
|
|
29
|
-
'else',
|
|
30
|
-
'if'
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
25
|
'color-named': 'never',
|
|
35
26
|
'comment-word-disallowed-list': [
|
|
36
27
|
'/todo/i'
|
|
@@ -56,16 +47,6 @@ module.exports = {
|
|
|
56
47
|
}
|
|
57
48
|
],
|
|
58
49
|
'declaration-no-important': true,
|
|
59
|
-
'function-comma-newline-after': null,
|
|
60
|
-
'indentation': [
|
|
61
|
-
4,
|
|
62
|
-
{
|
|
63
|
-
'indentClosingBrace': false,
|
|
64
|
-
'ignore': [
|
|
65
|
-
'value'
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
50
|
'max-nesting-depth': [
|
|
70
51
|
5,
|
|
71
52
|
{
|
|
@@ -80,26 +61,8 @@ module.exports = {
|
|
|
80
61
|
]
|
|
81
62
|
}
|
|
82
63
|
],
|
|
83
|
-
'max-line-length': [
|
|
84
|
-
120,
|
|
85
|
-
{
|
|
86
|
-
'ignore': [
|
|
87
|
-
'comments'
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
64
|
'media-feature-name-no-vendor-prefix': true,
|
|
92
|
-
'no-empty-first-line': true,
|
|
93
|
-
'no-eol-whitespace': [
|
|
94
|
-
true,
|
|
95
|
-
{
|
|
96
|
-
'ignore': [
|
|
97
|
-
'empty-lines'
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
65
|
'no-invalid-position-at-import-rule': null,
|
|
102
|
-
'number-leading-zero': 'never',
|
|
103
66
|
'property-no-vendor-prefix': true,
|
|
104
67
|
'selector-max-compound-selectors': 4,
|
|
105
68
|
'selector-max-id': 1,
|
|
@@ -124,7 +87,6 @@ module.exports = {
|
|
|
124
87
|
}
|
|
125
88
|
],
|
|
126
89
|
'shorthand-property-no-redundant-values': true,
|
|
127
|
-
'string-quotes': 'single',
|
|
128
90
|
'value-no-vendor-prefix': [
|
|
129
91
|
true,
|
|
130
92
|
{
|
|
@@ -134,6 +96,43 @@ module.exports = {
|
|
|
134
96
|
}
|
|
135
97
|
],
|
|
136
98
|
'value-list-comma-newline-after': null,
|
|
99
|
+
'stylistic/block-closing-brace-newline-after': [
|
|
100
|
+
'always',
|
|
101
|
+
{
|
|
102
|
+
'ignoreAtRules': [
|
|
103
|
+
'else',
|
|
104
|
+
'if'
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
'stylistic/max-line-length': [
|
|
109
|
+
120,
|
|
110
|
+
{
|
|
111
|
+
'ignore': [
|
|
112
|
+
'comments'
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
'stylistic/no-eol-whitespace': [
|
|
117
|
+
true,
|
|
118
|
+
{
|
|
119
|
+
'ignore': [
|
|
120
|
+
'empty-lines'
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
'stylistic/number-leading-zero': 'never',
|
|
125
|
+
'stylistic/string-quotes': 'single',
|
|
126
|
+
'stylistic/indentation': [
|
|
127
|
+
4,
|
|
128
|
+
{
|
|
129
|
+
'indentClosingBrace': false,
|
|
130
|
+
'ignore': [
|
|
131
|
+
'value'
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
'stylistic/function-comma-newline-after': null,
|
|
137
136
|
'scss/at-else-if-parentheses-space-before': 'always',
|
|
138
137
|
'scss/at-else-empty-line-before': 'never',
|
|
139
138
|
'scss/at-function-pattern': '^[a-z]+([a-z0-9-]+[a-z0-9]+)?$',
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@oroinc/oro-stylelint-config",
|
|
3
3
|
"author": "Oro, Inc (https://www.oroinc.com)",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "5.1.0-
|
|
5
|
+
"version": "5.1.0-dev002",
|
|
6
6
|
"description": "Stylelint config used by ORO",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"files": [
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"postcss": "^8.4.19",
|
|
13
|
-
"stylelint": "^
|
|
14
|
-
"stylelint-config-
|
|
13
|
+
"stylelint": "^15.3.0",
|
|
14
|
+
"stylelint-config-recommended-scss": "^9.0.1",
|
|
15
|
+
"stylelint-config-standard": "^31.0.0",
|
|
15
16
|
"stylelint-declaration-strict-value": "^1.9.1",
|
|
16
|
-
"stylelint-
|
|
17
|
+
"stylelint-stylistic": "^0.4.1"
|
|
17
18
|
}
|
|
18
19
|
}
|