Commit Graph
8 Commits
Author SHA1 Message Date
orrisroot 470164320f build: replace eslint with biome and upgrade typescript to 7
typescript-eslint does not support TypeScript 7 yet, so retire ESLint
and lint with Biome, which the site repositories already use.

- Enable the Biome linter with the recommended preset
- Turn off noAssignInExpressions for the inline offset advances in
  the binary header parsers
- Exclude dist instead of build from Biome
- Run biome lint for the lint and lint:fix scripts
- Remove eslint, @eslint/js and the typescript-eslint packages
- Upgrade typescript to 7.0.2, tsdown to 0.23.0 and biome to 2.5.13
2026-09-15 20:30:54 +09:00
orrisroot 9dd7d31e0e refactor: resolve biome lint findings
Prepare the sources for switching the linter from ESLint to Biome.

- Use template literals instead of string concatenation
- Use the ** operator instead of Math.pow
- Drop a redundant continue and annotate an untyped let
- Remove the eslint-disable-line comments
2026-09-15 20:30:54 +09:00
orrisroot 38c15b261f chore: add @niu scope to package name v1.0.0 2026-05-28 20:47:16 +09:00
orrisroot 56d1cf0bc2 build: modernize build system and tooling
Migrate from tsc to tsdown for multi-format (ESM/CJS) builds.
Replace Prettier with Biome for formatting and linting.
Upgrade ESLint to flat config (v10) and TypeScript to v6.
Drop Yarn in favor of npm for package management.
Configure dual ESM/CJS exports with proper type declarations.
Add publishing configuration and release scripts.
Reformat source files to 2-space indentation.
2026-05-28 20:20:50 +09:00
orrisroot 4070828f47 update libraries. 2022-06-17 20:08:19 +09:00
orrisroot 5827def7ae disable debug message output. 2022-06-15 11:27:13 +09:00
orrisroot 38525878bd fixed typo. 2022-06-15 11:25:16 +09:00
orrisroot 3c826736a5 first commit. 2022-06-15 11:22:57 +09:00