eslint-plugin-primer-react 4.0.1-rc.5e09109 → 4.0.2-rc.a2e4dbb
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 +6 -0
- package/package-lock.json +8 -8
- package/package.json +1 -1
- package/src/rules/no-system-props.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# eslint-plugin-primer-react
|
|
2
2
|
|
|
3
|
+
## 4.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#76](https://github.com/primer/eslint-plugin-primer-react/pull/76) [`1750256`](https://github.com/primer/eslint-plugin-primer-react/commit/17502566745fcc7ebcebef730c1c7c60be276f06) Thanks [@joshblack](https://github.com/joshblack)! - Update the no-system-props rule to exclude the `border` prop for the `Blankslate` component from `@primer/react`.
|
|
8
|
+
|
|
3
9
|
## 4.0.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-primer-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "eslint-plugin-primer-react",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "4.0.1",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@styled-system/props": "^5.1.5",
|
|
@@ -3952,9 +3952,9 @@
|
|
|
3952
3952
|
}
|
|
3953
3953
|
},
|
|
3954
3954
|
"node_modules/eslint-plugin-github": {
|
|
3955
|
-
"version": "4.
|
|
3956
|
-
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.
|
|
3957
|
-
"integrity": "sha512-
|
|
3955
|
+
"version": "4.10.0",
|
|
3956
|
+
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.10.0.tgz",
|
|
3957
|
+
"integrity": "sha512-YKtqBtFbjih1wZNTwZjtLPEG6B/4ySMa38fgOo/rbMJpNKO3+OaKzwwOYkeKx/FapM/4MsTP9ExqUcDV+dkixA==",
|
|
3958
3958
|
"dependencies": {
|
|
3959
3959
|
"@github/browserslist-config": "^1.0.0",
|
|
3960
3960
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
@@ -11955,9 +11955,9 @@
|
|
|
11955
11955
|
}
|
|
11956
11956
|
},
|
|
11957
11957
|
"eslint-plugin-github": {
|
|
11958
|
-
"version": "4.
|
|
11959
|
-
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.
|
|
11960
|
-
"integrity": "sha512-
|
|
11958
|
+
"version": "4.10.0",
|
|
11959
|
+
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.10.0.tgz",
|
|
11960
|
+
"integrity": "sha512-YKtqBtFbjih1wZNTwZjtLPEG6B/4ySMa38fgOo/rbMJpNKO3+OaKzwwOYkeKx/FapM/4MsTP9ExqUcDV+dkixA==",
|
|
11961
11961
|
"requires": {
|
|
11962
11962
|
"@github/browserslist-config": "^1.0.0",
|
|
11963
11963
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ const excludedComponentProps = new Map([
|
|
|
18
18
|
['AnchoredOverlay', new Set(['width', 'height'])],
|
|
19
19
|
['Avatar', new Set(['size'])],
|
|
20
20
|
['AvatarToken', new Set(['size'])],
|
|
21
|
+
['Blankslate', new Set(['border'])],
|
|
21
22
|
['CircleOcticon', new Set(['size'])],
|
|
22
23
|
['Dialog', new Set(['width', 'height'])],
|
|
23
24
|
['IssueLabelToken', new Set(['size'])],
|