Commit Graph

4 Commits

Author SHA1 Message Date
Ryan Wang
1cb0629364 Add eslint-plugin-unicorn and use node: protocol imports (#7845)
#### What type of PR is this?

/area ui
/kind cleanup

#### What this PR does / why we need it:

Integrated [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) into the ESLint config and added related rules. Updated all imports of core Node.js modules to use the 'node:' protocol for improved compatibility and linting.

#### Does this PR introduce a user-facing change?

```release-note
None
```
2025-10-22 08:36:14 +00:00
Ryan Wang
a93479dc34 chore: organize and fix imports (#6152)
#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.17.x

#### What this PR does / why we need it:

重新组织和固定 UI 部分代码的 imports 导入,防止后续因为 imports 的顺序造成不必要的 diff。

基于:https://github.com/halo-dev/halo/pull/6151

#### Does this PR introduce a user-facing change?

```release-note
None
```
2024-06-26 10:42:50 +00:00
John Niang
a3772fab1b Add build script for ui project
Signed-off-by: John Niang <johnniang@foxmail.com>
2024-02-03 22:51:50 +08:00
John Niang
15f7fe2d4f Move folder console to ui 2024-02-02 22:22:51 +08:00