add linting rule for consistent type imports #163
tests.yaml
on: pull_request
cache-and-install-deps-and-run-tests
32s
Annotations
10 errors and 1 warning
cache-and-install-deps-and-run-tests:
src/antd/InputNumber.tsx#L1
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/antd/InputNumber.tsx#L2
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/antd/InputNumber.tsx#L4
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/antd/Slider.tsx#L1
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/antd/Slider.tsx#L2
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/antd/Slider.tsx#L3
Import "AntdSliderSingleProps" is only used as types
|
cache-and-install-deps-and-run-tests:
src/common/AntDJsonForm.tsx#L2
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/common/AntDJsonForm.tsx#L7
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/common/FormStateWrapper.tsx#L2
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests:
src/common/FormStateWrapper.tsx#L5
All imports in the declaration are only used as types. Use `import type`
|
cache-and-install-deps-and-run-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|