eslint-plugin-primer-react 6.1.4 → 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/package.json
CHANGED
|
@@ -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
|
],
|