@enigmatry/stylelint-config 1.2.27 → 1.2.28

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.
Files changed (2) hide show
  1. package/index.js +18 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -13,7 +13,14 @@ module.exports = {
13
13
  ],
14
14
  rules: {
15
15
  "alpha-value-notation": "number",
16
- "annotation-no-unknown": true,
16
+ "annotation-no-unknown": [
17
+ true,
18
+ {
19
+ "ignoreAnnotations": [
20
+ "default"
21
+ ]
22
+ }
23
+ ],
17
24
  "at-rule-allowed-list": ["use", "for", "if", "else", "include", "extend", "return", "error", "each", "mixin", "function", "keyframes", "font-face", "forward", "at-root", "while"],
18
25
  "at-rule-name-case": "lower",
19
26
  "at-rule-name-space-after": "always",
@@ -83,7 +90,7 @@ module.exports = {
83
90
  "max-nesting-depth": 3,
84
91
  "media-feature-colon-space-after": "always",
85
92
  "media-feature-colon-space-before": "never",
86
- "media-feature-name-allowed-list": ["min-width", "-ms-high-contrast"],
93
+ "media-feature-name-allowed-list": ["min-width", "width", "-ms-high-contrast"],
87
94
  "media-feature-name-case": "lower",
88
95
  "media-feature-name-no-unknown": true,
89
96
  "media-feature-parentheses-space-inside": "never",
@@ -188,7 +195,15 @@ module.exports = {
188
195
  "scss/partial-no-import": true,
189
196
  "scss/selector-no-redundant-nesting-selector": true,
190
197
  "scss/selector-no-union-class-name": true,
191
- "scss/no-duplicate-dollar-variables": true,
198
+ "scss/no-duplicate-dollar-variables": [
199
+ true,
200
+ {
201
+ "ignoreInsideAtRules": [
202
+ "each",
203
+ "while"
204
+ ]
205
+ }
206
+ ],
192
207
  "scss/no-duplicate-mixins": true,
193
208
  "scss/no-global-function-names": true,
194
209
  "scss/declaration-nested-properties": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enigmatry/stylelint-config",
3
- "version": "1.2.27",
3
+ "version": "1.2.28",
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",