Skip to content

chore: add oxlint - #31

Merged
setchy merged 3 commits into
mainfrom
chore/oxlint
Nov 2, 2026
Merged

setchy merged 3 commits into
mainfrom
chore/oxlint

Conversation

@setchy

@setchy setchy commented Nov 2, 2026

Copy link
Copy Markdown
Member

Summary

Adds linting on top of #30 (mise + pnpm):

  • Adds oxlint and a minimal .oxlintrc.json.
  • Adds lint / lint:check / lint:ci (--format=github).
  • Runs pnpm lint:ci in CI alongside the existing syntax, test, and bundle steps.
  • Documents the commands in CONTRIBUTING.md.

This PR is stacked on chore/mise because it uses the pnpm/mise CI setup. Once #30 merges, retarget this to main.

Test plan

  • pnpm lint:check
  • pnpm lint:ci
  • pnpm test — 28 pass
  • pnpm bundle
  • pnpm install --frozen-lockfile
  • workflow YAML parses
  • CI is green

- replace npm with pnpm in CI and docs
- use pnpm/setup with .nvmrc, devEngines.packageManager, and the pnpm lockfile
- let pnpm/setup install dependencies with the frozen lockfile
- keep Python system-managed for the PyGObject live test
- add oxlint and a minimal .oxlintrc.json
- add lint, lint:check, and lint:ci (GitHub annotations)
- run pnpm lint:ci in CI
- document the lint commands
Base automatically changed from chore/mise to main November 2, 2026 22:52
# Conflicts:
#	.github/workflows/ci.yml
#	CONTRIBUTING.md
#	pnpm-lock.yaml
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@setchy
setchy merged commit a1f944e into main Nov 2, 2026
2 checks passed
@setchy
setchy deleted the chore/oxlint branch November 2, 2026 23:00
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.

2 participants