eslint-plugin-primer-react 6.1.4-rc.93bd380 → 6.1.5-rc.853f909

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
@@ -1,5 +1,11 @@
1
1
  # eslint-plugin-primer-react
2
2
 
3
+ ## 6.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#253](https://github.com/primer/eslint-plugin-primer-react/pull/253) [`456bf4d`](https://github.com/primer/eslint-plugin-primer-react/commit/456bf4d3c1f5e5dde70030f24c1c6b821e685cc5) Thanks [@joshblack](https://github.com/joshblack)! - Update no-wildcard-imports rule to move ButtonBase to `@primer/react/experimental`
8
+
3
9
  ## 6.1.4
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-primer-react",
3
- "version": "6.1.4-rc.93bd380",
3
+ "version": "6.1.5-rc.853f909",
4
4
  "description": "ESLint rules for Primer React",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -169,8 +169,8 @@ import type {BetterSystemStyleObject} from '@primer/react/lib-esm/sx'`,
169
169
  {
170
170
  code: `import {ButtonBase} from '@primer/react/lib-esm/Button/ButtonBase';
171
171
  import type {ButtonBaseProps} from '@primer/react/lib-esm/Button/ButtonBase'`,
172
- output: `import {ButtonBase} from '@primer/react'
173
- import {type ButtonBaseProps} from '@primer/react'`,
172
+ output: `import {ButtonBase} from '@primer/react/experimental'
173
+ import {type ButtonBaseProps} from '@primer/react/experimental'`,
174
174
  errors: [
175
175
  {
176
176
  messageId: 'wildcardMigration',
@@ -188,7 +188,7 @@ import {type ButtonBaseProps} from '@primer/react'`,
188
188
  },
189
189
  {
190
190
  code: `import type {ButtonBaseProps} from '@primer/react/lib-esm/Button/types'`,
191
- output: `import {type ButtonBaseProps} from '@primer/react'`,
191
+ output: `import {type ButtonBaseProps} from '@primer/react/experimental'`,
192
192
  errors: [
193
193
  {
194
194
  messageId: 'wildcardMigration',
@@ -10,11 +10,11 @@ const wildcardImports = new Map([
10
10
  {
11
11
  type: 'type',
12
12
  name: 'ButtonBaseProps',
13
- from: '@primer/react',
13
+ from: '@primer/react/experimental',
14
14
  },
15
15
  {
16
16
  name: 'ButtonBase',
17
- from: '@primer/react',
17
+ from: '@primer/react/experimental',
18
18
  },
19
19
  ],
20
20
  ],
@@ -24,7 +24,7 @@ const wildcardImports = new Map([
24
24
  {
25
25
  type: 'type',
26
26
  name: 'ButtonBaseProps',
27
- from: '@primer/react',
27
+ from: '@primer/react/experimental',
28
28
  },
29
29
  ],
30
30
  ],