eslint-plugin-primer-react 6.1.5 → 6.1.6-rc.f312214
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 +14002 -0
- package/package.json +1 -1
- package/src/rules/__tests__/no-wildcard-imports.test.js +0 -12
- package/src/rules/no-wildcard-imports.js +0 -10
package/package.json
CHANGED
|
@@ -270,18 +270,6 @@ import {type ButtonBaseProps} from '@primer/react/experimental'`,
|
|
|
270
270
|
},
|
|
271
271
|
],
|
|
272
272
|
},
|
|
273
|
-
{
|
|
274
|
-
code: `import type {TokenSizeKeys} from '@primer/react/lib-esm/Token/TokenBase'`,
|
|
275
|
-
output: `import {type TokenSizeKeys} from '@primer/react'`,
|
|
276
|
-
errors: [
|
|
277
|
-
{
|
|
278
|
-
messageId: 'wildcardMigration',
|
|
279
|
-
data: {
|
|
280
|
-
wildcardEntrypoint: '@primer/react/lib-esm/Token/TokenBase',
|
|
281
|
-
},
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
},
|
|
285
273
|
{
|
|
286
274
|
code: `import type {ItemProps} from '@primer/react/lib-esm/deprecated/ActionList'`,
|
|
287
275
|
output: `import {type ActionListItemProps as ItemProps} from '@primer/react/deprecated'`,
|
|
@@ -96,16 +96,6 @@ const wildcardImports = new Map([
|
|
|
96
96
|
},
|
|
97
97
|
],
|
|
98
98
|
],
|
|
99
|
-
[
|
|
100
|
-
'@primer/react/lib-esm/Token/TokenBase',
|
|
101
|
-
[
|
|
102
|
-
{
|
|
103
|
-
type: 'type',
|
|
104
|
-
name: 'TokenSizeKeys',
|
|
105
|
-
from: '@primer/react',
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
],
|
|
109
99
|
[
|
|
110
100
|
'@primer/react/lib-esm/deprecated/ActionList',
|
|
111
101
|
[
|