Skip to content

add linting rule for consistent type imports #163

add linting rule for consistent type imports

add linting rule for consistent type imports #163

Triggered via pull request March 19, 2024 15:59
Status Failure
Total duration 41s
Artifacts

tests.yaml

on: pull_request
cache-and-install-deps-and-run-tests
32s
cache-and-install-deps-and-run-tests
Fit to window
Zoom out
Zoom in

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/.