Skip to content

plugin-knowledge-bases: migrate eslint and prettier to biome#3159

Merged
Iru89 merged 11 commits intomaster-ltsfrom
replace-eslint-and-prettier-for-biome-3
Feb 9, 2026
Merged

plugin-knowledge-bases: migrate eslint and prettier to biome#3159
Iru89 merged 11 commits intomaster-ltsfrom
replace-eslint-and-prettier-for-biome-3

Conversation

@Iru89
Copy link
Contributor

@Iru89 Iru89 commented Feb 4, 2026

Description

  • Migrate botonic-plugin-knowledge-bases package from ESLint + Prettier to Biome for linting and formatting
  • This is the third package migrated as part of the Biome migration plan

Changes

Package configuration (packages/botonic-plugin-knowledge-bases/package.json)

  • Updated lint scripts to use Biome:
    • lint: biome check --write src/
    • lint:check: biome check src/
    • format: biome format --write src/
  • Removed eslintConfig section

Code formatting

Biome automatically fixed type-only imports:

  • import { AxiosResponse }import type { AxiosResponse }
  • import { Chunk }import type { Chunk }
  • import { KnowledgeBasesResponse }import type { KnowledgeBasesResponse }
  • And other similar type imports

Pre-commit hooks (.pre-commit-config.yaml)

  • Added botonic-plugin-knowledge-bases to the Biome hook pattern
  • Removed the ESLint hook for this package

Prettier ignore (.prettierignore)

  • Added packages/botonic-plugin-knowledge-bases/ to prevent conflicts between Prettier and Biome

@Iru89 Iru89 requested review from asastre and vanbasten17 February 4, 2026 09:56
@Iru89 Iru89 self-assigned this Feb 4, 2026
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@Iru89 Iru89 requested a review from Davidhidalgo February 4, 2026 10:14
@Iru89 Iru89 changed the title feat: migrate eslint and prettier to use biome in plugin-knowledeg-bases feat: migrate eslint and prettier to biome Feb 6, 2026
@Iru89 Iru89 changed the title feat: migrate eslint and prettier to biome plugin-knowledge-bases: migrate eslint and prettier to biome Feb 6, 2026
Base automatically changed from replace-eslint-and-prettier-for-biome-2 to master-lts February 9, 2026 08:44
@Iru89 Iru89 merged commit d6de372 into master-lts Feb 9, 2026
2 checks passed
@Iru89 Iru89 deleted the replace-eslint-and-prettier-for-biome-3 branch February 9, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants