feat: consistent import type specifiers lint #25258
bootstrap.yml
on: pull_request
Install and Cache
1m 41s
Annotations
10 errors
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L6
The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L143
'MenuOptionGroup' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L181
'MenuOptionGroup' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L218
'usePrevious' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L315
'Box' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L316
'Menu' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L317
'MenuButton' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L319
'Button' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L327
'Flex' cannot be used as a value because it was imported using 'import type'.
|
Call / Static:
src/components/AccountDropdown/AccountDropdown.tsx#L342
'Text' cannot be used as a value because it was imported using 'import type'.
|