@brightspace-ui/stylelint-config 1.7.0 → 1.8.0

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 +2 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -72,6 +72,8 @@ export default {
72
72
  "@stylistic/media-query-list-comma-space-before": "never",
73
73
  "media-query-no-invalid": null,
74
74
  "no-descending-specificity": null,
75
+ "no-invalid-position-declaration": null, // CSS templates that contain top-level declarations would throw errors
76
+ "property-no-deprecated": [true, { "ignoreProperties": ["clip"] }], // 'clip' can be replaced by 'clip-path' but some features are still not supported on legacy browsers(e.g. https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape/rect#browser_compatibility)
75
77
  "@stylistic/no-eol-whitespace": [true, {
76
78
  "ignore": ["empty-lines"]
77
79
  }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/stylelint-config",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Common Brightspace stylelint configs.",
5
5
  "repository": "https://github.com/BrightspaceUI/stylelint-config.git",
6
6
  "publishConfig": {
@@ -22,7 +22,7 @@
22
22
  "@stylistic/stylelint-plugin": "^4",
23
23
  "postcss-html": "^1",
24
24
  "postcss-syntax": "^0.36",
25
- "stylelint-config-recommended": "^16",
25
+ "stylelint-config-recommended": "^17",
26
26
  "stylelint-order": "^7"
27
27
  },
28
28
  "peerDependencies": {