Add Biome for lint and code quality check #2

Merged
Astrian merged 15 commits from dev into main 2025-05-16 10:18:55 +00:00

15 Commits

Author SHA1 Message Date
7a55cdc92e
chore: add new npm command for code quality check
All checks were successful
Publish to npm / quality (push) Successful in 22s
Publish to npm / publish (push) Successful in 30s
2025-05-16 19:56:05 +10:00
d5562a4d42
chore: CI/CD publish requires quality check
Some checks failed
Publish to npm / quality (push) Failing after 29s
Publish to npm / publish (push) Has been skipped
2025-05-16 19:52:26 +10:00
7c7e0e1cf2
chore: fix linting 2025-05-16 19:50:13 +10:00
a8b1a1512d
chore: linting the files 2025-05-16 19:48:50 +10:00
14c6c0a1ab
chore: intergrate Biome for check code linting issue
Some checks failed
Publish to npm / quality (push) Failing after 16s
Publish to npm / publish (push) Successful in 26s
2025-05-16 19:43:42 +10:00
55f07fb562 Merge branch 'feat/biome_linter'
All checks were successful
Publish to npm / publish (push) Successful in 35s
2025-05-16 19:36:00 +10:00
fcbee7c0b2
fix: replace “any” type declaration with “unknown” or other specific type 2025-05-16 19:35:06 +10:00
b1dc96783a
fix: improve readability by simplifying conditional statements and replacing forEach with for-of loops 2025-05-16 16:51:52 +10:00
aae4a85a49
fix: enhance readability by replacing forEach with for-of loops in rendering logic 2025-05-16 16:19:45 +10:00
75a37043b7
fix: optimize iteration methods and improve readability in state management 2025-05-16 16:11:18 +10:00
0e22cbf130
fix: streamline state retrieval logic by removing unnecessary else blocks 2025-05-16 16:04:09 +10:00
ba82252dd7
fix: simplify state update event triggering with optional chaining 2025-05-16 16:03:15 +10:00
0ce566f502
fix: refine type definitions and improve loop constructs for better clarity 2025-05-16 16:02:26 +10:00
afff93196a
chore: turn explicitly any declare check off to better focusing on other issues 2025-05-16 15:52:11 +10:00
4def8050a1
feat: add biome configuration and update dependencies
- Introduced a new `biome.json` configuration file for Biome setup.
- Added `@biomejs/biome` as a development dependency in `package.json` and `package-lock.json`.
- Updated `main.ts` to improve code formatting and readability by adjusting indentation and line breaks.
- Enhanced state management and event handling within the component to ensure better performance and maintainability.
2025-05-16 15:45:12 +10:00