@icebreakers/stylelint-config 2.0.3 → 2.0.4

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/dist/cli.js CHANGED
@@ -19,7 +19,7 @@ function setVscodeSettingsJson(json2 = {}) {
19
19
  existing.add("vue");
20
20
  existing.add("css");
21
21
  existing.add("scss");
22
- json2["stylelint.validate"] = Array.from(existing);
22
+ json2["stylelint.validate"] = [...existing];
23
23
  return json2;
24
24
  }
25
25
 
package/dist/index.js CHANGED
@@ -135,6 +135,7 @@ function resolveRules(options) {
135
135
  const ignoreAtRules = resolveIgnoreList("atRules", options?.ignores);
136
136
  const rules = {
137
137
  "function-name-case": null,
138
+ "media-feature-range-notation": "prefix",
138
139
  "selector-class-pattern": [
139
140
  new RegExp(BEM_OOCSS_CLASS_NAME_PATTERN),
140
141
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/stylelint-config",
3
3
  "type": "module",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "description": "Stylelint preset from Icebreaker's dev-configs",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",