eslint-plugin-primer-react 8.1.0-rc.ce584c0 → 8.1.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@
6
6
 
7
7
  - [#382](https://github.com/primer/eslint-plugin-primer-react/pull/382) [`93e4b76`](https://github.com/primer/eslint-plugin-primer-react/commit/93e4b76269bf816bfc24991180f73ef22266a6f5) Thanks [@jonrohan](https://github.com/jonrohan)! - Add rule `use-styled-react-import` to enforce importing components with sx prop from @primer/styled-react
8
8
 
9
+ ### Patch Changes
10
+
11
+ - [#389](https://github.com/primer/eslint-plugin-primer-react/pull/389) [`747fc82`](https://github.com/primer/eslint-plugin-primer-react/commit/747fc82dc9fc584005d98b36f8417985469a083a) Thanks [@llastflowers](https://github.com/llastflowers)! - Add exception for height and width for SkeletonBox in no-system-props rule
12
+
9
13
  ## 8.0.0
10
14
 
11
15
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-primer-react",
3
- "version": "8.1.0-rc.ce584c0",
3
+ "version": "8.1.0",
4
4
  "description": "ESLint rules for Primer React",
5
5
  "main": "src/index.js",
6
6
  "engines": {
@@ -48,6 +48,7 @@ const excludedComponentProps = new Map([
48
48
  ['PointerBox', new Set(['bg'])],
49
49
  ['Truncate', new Set(['maxWidth'])],
50
50
  ['Stack', new Set(['padding', 'gap'])],
51
+ ['SkeletonBox', new Set(['width', 'height'])],
51
52
  ])
52
53
 
53
54
  const alwaysExcludedProps = new Set(['variant', 'size'])