Skip to content

plugin-hubtype-analytics: migrate eslint and prettier to biome#3158

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

plugin-hubtype-analytics: migrate eslint and prettier to biome#3158
Iru89 merged 10 commits intomaster-ltsfrom
replace-eslint-and-prettier-for-biome-2

Conversation

@Iru89
Copy link
Contributor

@Iru89 Iru89 commented Feb 4, 2026

Description

This PR migrates botonic-plugin-hubtype-analytics from ESLint + Prettier to Biome, continuing the Phase 1 migration started in the parent branch.

Changes

Package configuration

  • Updated package.json scripts:
    • lint: biome check --write src/ tests/
    • lint:check: biome check src/ tests/
    • format: biome format --write src/ tests/
  • Removed eslintConfig section from package.json

Code formatting

  • Formatted all source files with Biome
  • Applied import type for type-only imports (better tree-shaking)
  • Organized imports automatically

Configuration files updated

  • .pre-commit-config.yaml: Added package to Biome hook pattern, removed ESLint hook
  • .prettierignore: Added package to prevent Prettier conflicts
  • .github/workflows/botonic-plugin-hubtype-analytics-tests.yml: Added LINT_COMMAND: npm run lint:check
  • .cursor/plans/BIOME_MIGRATION.plan.md: Marked task as completed

@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 biome for plugin-hubtype-analytics plugin-hubtype-analytics: migrate eslint and prettier to biome Feb 6, 2026
Base automatically changed from replace-eslint-and-prettier-for-biome to master-lts February 9, 2026 08:37
@Iru89 Iru89 merged commit b64b1e6 into master-lts Feb 9, 2026
4 checks passed
@Iru89 Iru89 deleted the replace-eslint-and-prettier-for-biome-2 branch February 9, 2026 08:44
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