eslint-plugin-primer-react 8.1.0-rc.d5a1ac8 → 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 +4 -0
- package/package.json +1 -1
- package/src/rules/no-system-props.js +1 -0
- package/package-lock.json +0 -9280
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
|
@@ -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'])
|