@enigmatry/stylelint-config 1.2.22 → 1.2.24
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 +16 -11
- package/package.json +15 -15
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
module.exports = {
|
|
3
3
|
customSyntax: "postcss-scss",
|
|
4
|
-
ignoreAtRules: [
|
|
4
|
+
ignoreAtRules: ["else"],
|
|
5
5
|
extends: "stylelint-config-property-sort-order-smacss",
|
|
6
6
|
plugins: [
|
|
7
7
|
"stylelint-scss",
|
|
@@ -14,7 +14,7 @@ module.exports = {
|
|
|
14
14
|
rules: {
|
|
15
15
|
"alpha-value-notation": "number",
|
|
16
16
|
"annotation-no-unknown": true,
|
|
17
|
-
"at-rule-allowed-list": [
|
|
17
|
+
"at-rule-allowed-list": ["use", "for", "if", "else", "include", "extend", "return", "error", "each", "mixin", "function", "keyframes", "font-face", "forward", "at-root", "while"],
|
|
18
18
|
"at-rule-name-case": "lower",
|
|
19
19
|
"at-rule-name-space-after": "always",
|
|
20
20
|
"at-rule-no-unknown": null,
|
|
@@ -51,6 +51,7 @@ module.exports = {
|
|
|
51
51
|
"declaration-block-single-line-max-declarations": 1,
|
|
52
52
|
"declaration-no-important": true,
|
|
53
53
|
"declaration-property-max-values": {},
|
|
54
|
+
"declaration-property-value-no-unknown": null,
|
|
54
55
|
"font-family-name-quotes": "always-unless-keyword",
|
|
55
56
|
"font-family-no-duplicate-names": true,
|
|
56
57
|
"font-family-no-missing-generic-family-keyword": true,
|
|
@@ -77,15 +78,16 @@ module.exports = {
|
|
|
77
78
|
"max-empty-lines": 1,
|
|
78
79
|
"max-line-length": [
|
|
79
80
|
135,
|
|
80
|
-
{ "ignore": [
|
|
81
|
+
{ "ignore": ["comments"] }
|
|
81
82
|
],
|
|
82
83
|
"max-nesting-depth": 3,
|
|
83
84
|
"media-feature-colon-space-after": "always",
|
|
84
85
|
"media-feature-colon-space-before": "never",
|
|
85
|
-
"media-feature-name-allowed-list": [
|
|
86
|
+
"media-feature-name-allowed-list": ["min-width", "-ms-high-contrast"],
|
|
86
87
|
"media-feature-name-case": "lower",
|
|
87
88
|
"media-feature-name-no-unknown": true,
|
|
88
89
|
"media-feature-parentheses-space-inside": "never",
|
|
90
|
+
"media-feature-range-notation": "context",
|
|
89
91
|
"media-feature-range-operator-space-after": "always",
|
|
90
92
|
"media-feature-range-operator-space-before": "always",
|
|
91
93
|
"media-query-list-comma-newline-after": "never-multi-line",
|
|
@@ -107,8 +109,9 @@ module.exports = {
|
|
|
107
109
|
"property-no-vendor-prefix": true,
|
|
108
110
|
"rule-empty-line-before": [
|
|
109
111
|
"always",
|
|
110
|
-
{ "except": [
|
|
112
|
+
{ "except": ["after-single-line-comment", "first-nested"] }
|
|
111
113
|
],
|
|
114
|
+
"selector-anb-no-unmatchable": true,
|
|
112
115
|
"selector-attribute-brackets-space-inside": "never",
|
|
113
116
|
"selector-attribute-operator-space-after": "always",
|
|
114
117
|
"selector-attribute-operator-space-before": "always",
|
|
@@ -135,7 +138,7 @@ module.exports = {
|
|
|
135
138
|
"selector-pseudo-element-colon-notation": "double",
|
|
136
139
|
"selector-pseudo-element-no-unknown": [
|
|
137
140
|
true,
|
|
138
|
-
{ "ignorePseudoElements": [
|
|
141
|
+
{ "ignorePseudoElements": ["host", "ng-deep"] }
|
|
139
142
|
],
|
|
140
143
|
"selector-type-case": "lower",
|
|
141
144
|
"selector-type-no-unknown": true,
|
|
@@ -143,7 +146,7 @@ module.exports = {
|
|
|
143
146
|
"string-no-newline": true,
|
|
144
147
|
"string-quotes": "single",
|
|
145
148
|
"time-min-milliseconds": 100,
|
|
146
|
-
"unit-allowed-list": [
|
|
149
|
+
"unit-allowed-list": ["px", "%", "em", "rem", "vw", "deg", "ms", "s"],
|
|
147
150
|
"unit-case": "lower",
|
|
148
151
|
"unit-no-unknown": true,
|
|
149
152
|
"value-keyword-case": "lower",
|
|
@@ -160,7 +163,7 @@ module.exports = {
|
|
|
160
163
|
"scss/at-function-parentheses-space-before": "never",
|
|
161
164
|
"scss/at-function-named-arguments": [
|
|
162
165
|
"never",
|
|
163
|
-
{ "ignoreFunctions": [
|
|
166
|
+
{ "ignoreFunctions": ["color.adjust"] }
|
|
164
167
|
],
|
|
165
168
|
"scss/at-if-closing-brace-newline-after": null,
|
|
166
169
|
"scss/at-if-closing-brace-space-after": null,
|
|
@@ -190,16 +193,18 @@ module.exports = {
|
|
|
190
193
|
"scss/no-global-function-names": true,
|
|
191
194
|
"scss/declaration-nested-properties": [
|
|
192
195
|
"always",
|
|
193
|
-
{ "except": [
|
|
196
|
+
{ "except": ["only-of-namespace"] }
|
|
194
197
|
],
|
|
195
198
|
"scss/at-rule-no-unknown": [
|
|
196
199
|
true,
|
|
197
|
-
{ "ignoreAtRules": [
|
|
200
|
+
{ "ignoreAtRules": ["use"] }
|
|
198
201
|
],
|
|
199
202
|
"plugin/declaration-block-no-ignored-properties": true,
|
|
200
203
|
"plugin/stylelint-group-selectors": true,
|
|
201
204
|
"plugin/stylelint-selector-no-empty": true,
|
|
202
|
-
"csstools/use-nesting": "always",
|
|
205
|
+
"csstools/use-nesting": ["always",
|
|
206
|
+
{ "syntax": "scss" }
|
|
207
|
+
],
|
|
203
208
|
"pitcher/max-lines": 135
|
|
204
209
|
}
|
|
205
210
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmatry/stylelint-config",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
4
4
|
"author": "Enigmatry",
|
|
5
5
|
"description": "Stylelint shareable config for the Enigmatry style.",
|
|
6
6
|
"homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/projects/stylelint-config#readme",
|
|
@@ -13,26 +13,26 @@
|
|
|
13
13
|
"index.js"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"stylelint": "
|
|
16
|
+
"stylelint": "15.3.0",
|
|
17
17
|
"postcss-scss": "4.0.6",
|
|
18
|
-
"stylelint-config-property-sort-order-smacss": "9.
|
|
19
|
-
"stylelint-declaration-block-no-ignored-properties": "2.
|
|
20
|
-
"stylelint-group-selectors": "1.0.9",
|
|
18
|
+
"stylelint-config-property-sort-order-smacss": "9.1.0",
|
|
19
|
+
"stylelint-declaration-block-no-ignored-properties": "2.7.0",
|
|
21
20
|
"stylelint-max-lines": "0.1.0",
|
|
22
|
-
"stylelint-scss": "4.
|
|
23
|
-
"stylelint-
|
|
24
|
-
"stylelint-use-nesting": "4.0.0"
|
|
21
|
+
"stylelint-scss": "4.6.0",
|
|
22
|
+
"stylelint-use-nesting": "4.1.0"
|
|
25
23
|
},
|
|
26
24
|
"peerDependencies": {
|
|
27
|
-
"stylelint": "
|
|
25
|
+
"stylelint": "15.3.0",
|
|
28
26
|
"postcss-scss": "4.0.6",
|
|
29
|
-
"stylelint-config-property-sort-order-smacss": "9.
|
|
30
|
-
"stylelint-declaration-block-no-ignored-properties": "2.
|
|
31
|
-
"stylelint-group-selectors": "1.0.9",
|
|
27
|
+
"stylelint-config-property-sort-order-smacss": "9.1.0",
|
|
28
|
+
"stylelint-declaration-block-no-ignored-properties": "2.7.0",
|
|
32
29
|
"stylelint-max-lines": "0.1.0",
|
|
33
|
-
"stylelint-scss": "4.
|
|
34
|
-
"stylelint-
|
|
35
|
-
|
|
30
|
+
"stylelint-scss": "4.6.0",
|
|
31
|
+
"stylelint-use-nesting": "4.1.0"
|
|
32
|
+
},
|
|
33
|
+
"deprecatedDependencies": {
|
|
34
|
+
"stylelint-group-selectors": "1.0.9 is out of support. Add it back to the list if support for Stylelint v15+ is added",
|
|
35
|
+
"stylelint-selector-no-empty": "1.0.9 is out of support. Add it back to the list if support for Stylelint v15+ is added"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|