Skip to content

chore: wire in lunte and prettier-config-holepunch for classification-ggml#2746

Open
donriddo wants to merge 1 commit into
tetherto:mainfrom
donriddo:chore/lint-classification-ggml
Open

chore: wire in lunte and prettier-config-holepunch for classification-ggml#2746
donriddo wants to merge 1 commit into
tetherto:mainfrom
donriddo:chore/lint-classification-ggml

Conversation

@donriddo

Copy link
Copy Markdown
Contributor

🎯 What problem does this PR solve?

  • Wires this package onto the in-house Holepunch tooling, replacing standard with lunte for linting and prettier with prettier-config-holepunch for formatting. Part of the repo-wide migration, done package by package.

📝 How does it solve it?

  • lint now runs prettier --check followed by lunte; a new format script runs prettier --write. Scope mirrors what standard covered.
  • Swaps the standard devDependency for lunte, prettier, prettier-config-holepunch; adds .prettierrc, .prettierignore, .lunterc, .lunteignore; removes any standard ignore config.
  • No reformatting is applied in this PR. prettier --check (and therefore CI lint) will be red until the owning team runs npm run format (a single command). This is intentional, so each team applies and reviews its own formatting.
  • .lunterc downgrades eqeqeq, no-var, curly, no-unused-vars and prefer-const to warnings, because lunte is stricter than standard on those (standard allows the == null idiom and ignores unused arguments). This keeps the tooling swap free of behavioural code edits.

🧪 How was it tested?

  • lunte passes on the current code; prettier --check is red by design until the code is formatted with npm run format.
  • No standard reference remains in the package.

…-ggml

Replace standard with lunte for linting and prettier with prettier-config-holepunch
for formatting. lint runs prettier --check then lunte; a new format script runs
prettier --write. Swaps the standard devDependency for lunte, prettier and
prettier-config-holepunch and adds the prettier and lunte config files.

No formatting is applied here, so prettier --check stays red until the owning team
runs npm run format. .lunterc downgrades eqeqeq, no-var, curly, no-unused-vars and
prefer-const to warnings to match standard effective behaviour.
@donriddo donriddo requested review from a team as code owners June 22, 2026 12:47
@github-actions

Copy link
Copy Markdown
Contributor

Review Status

Current Status: ❌ PENDING
Approvals so far: none

Pending reviews: Needs 1 Management or Team Lead, and 1 more from Management, Team Lead, or Member.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant