Commit Graph

24 Commits

Author SHA1 Message Date
thinkasany
8742fec2dd chore(biome): ignore report.html (#55996) 2025-11-30 13:54:30 +08:00
thinkasany
fd61690c0a chore: sync feature into next 2025-10-24 21:33:11 +08:00
afc163
2933bd66ce chore: update biome config and report template (#55440)
* chore: update biome config and report template

* Apply suggestion from @afc163

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2025-10-24 20:27:58 +08:00
thinkasany
c664186907 chore: sync feature into next 2025-09-25 20:14:48 +08:00
thinkasany
63e212a058 chore: rm @-ms-viewport (#55108) 2025-09-22 21:46:14 +08:00
thinkasany
625e034a32 chore: Enhanced hints for unused variables (#55113)
* chore: Enhanced hints for unused variables

* rm unused rules

* fix
2025-09-21 19:13:18 +08:00
thinkasany
b138cadf40 chore: turn on correctness.useHookAtTopLevel (#55110) 2025-09-21 13:26:25 +08:00
lijianan
cb0dd956ba chore: add namespace for Number api (#55107)
* chore: add namespace for Number api

* fix

* fix

* Update biome.json

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-09-21 12:27:02 +08:00
thinkasany
594ee4d989 refactor: Use indexOf instead of findIndex for index lookup (#55106) 2025-09-21 11:57:32 +08:00
thinkasany
f1036be04f chore(biome): rm some rules that do not need to be changed (#55105) 2025-09-21 11:18:51 +08:00
thinkasany
030783f41b chore(biome): turn on style.useImportType (#55104) 2025-09-21 10:33:31 +08:00
thinkasany
9ba69f0010 chore(biome): turn off complexity.useOptionalChain (#54993) 2025-09-13 14:18:08 +08:00
thinkasany
7dc77c9087 chore(biome): skip *.tmp (#54825) 2025-09-01 12:15:04 +08:00
thinkasany
0aa7561b00 chore(biome): turn off suspicious. noTsIgnore (#54688) 2025-08-15 14:00:12 +08:00
thinkasany
5e7f63fb30 chore: fix biome error (#54682)
* chore: fix biome error

* fix

* fix again

* revert
2025-08-14 22:52:15 +08:00
thinkasany
8159afddb4 chore: add for biome (#54236) 2025-06-30 15:20:48 +08:00
dependabot[bot]
fe28d002e4 chore: migrate @biomejs/biome from 1.9.4 to 2.0.0 (#54118)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-06-18 18:55:45 +08:00
𝑾𝒖𝒙𝒉
020176f2b5 ♻️ chore: format code (use npm run format) (#51978)
* chore: update formatter rule

* ♻️ chore: format code (use `npm run format`)
2024-12-12 10:22:30 +08:00
二货爱吃白萝卜
ce1356559d fix: ColorPicker hex precision (#50843)
* test: test driven

* fix: format logic

* chore: comment

* chore: rm useless lint rule

* chore: rm useless lint rule

* chore: rm useless lint rule

* chore: rm useless lint rule
2024-09-13 15:41:53 +08:00
二货爱吃白萝卜
89322ab52a chore: add biome config (#50676) 2024-09-02 14:37:18 +08:00
afc163
cab753c52c chore: fix webpack config of dist bundle (#50575) 2024-08-27 09:55:59 +08:00
afc163
59ad48476b refactor: add boime lint and fix lint errrors (#49536)
* chore: add boime lint

* fix lint

* use files ignore

* revert change

* ignore clarity.js

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* add yml file

* Update clarity.js

Signed-off-by: afc163 <afc163@gmail.com>

* add npm run lint:biome

* add npm run lint:biome

* fix test case

* fix ts errors

* fix ts errors

* fix lint and add .lintstagedrc

* shorten prop name

* chore: update package.json

* update biome.json

* chore: remove stylelint

* chore: useOptionalChain

* fix lint

* biome format

* prettier all code

* prettier all code

* fix site test

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
curry
35015c7b4f chore: biome config indentSize to indentWidth (#48988)
Co-authored-by: liangchaofei <liangchaofei@liangchaofeideMacBook-Pro.local>
2024-05-20 16:46:59 +08:00
咲奈Sakina
e88581c798 chore: migrate rome to biome (#44522)
* chore: migrate rome to biome

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 咲奈Sakina <59400654+fz6m@users.noreply.github.com>

---------

Signed-off-by: 咲奈Sakina <59400654+fz6m@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-30 11:59:55 +08:00