Skip to content

chore: introduce type-aware oxlint linting#387

Merged
gka merged 3 commits into
mainfrom
chore/oxlint
Feb 17, 2026
Merged

chore: introduce type-aware oxlint linting#387
gka merged 3 commits into
mainfrom
chore/oxlint

Conversation

@gka

@gka gka commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

based on #386 by @ljodea

This pull request introduces OXLint, a new linting tool, to the project and improves the development workflow by integrating it with pre-commit hooks and CI. It also includes minor bug fixes and code cleanups in the codebase and tests.

OXLint integration and workflow improvements:

  • Added OXLint as a development dependency in package.json and updated pnpm-lock.yaml to include all required packages and bindings. [1] [2] [3] [4] [5] [6]
  • Added an OXLint GitHub Actions workflow for linting on pushes and pull requests to main (.github/workflows/oxlint.yml).
  • Added a lint:oxlint script to package.json for running OXLint locally.
  • Integrated OXLint with pre-commit by adding a local hook in .pre-commit-config.yaml and documented setup in CONTRIBUTING. [1] [2]

Code and test cleanups:

  • Simplified spread usage and improved clarity in several places in the codebase, including Geo.svelte, stack.ts, and spike-map.svelte. [1] [2] [3]
  • Fixed a minor type annotation from Boolean to boolean in types/data.ts.
  • Cleaned up test assertions in dodge.test.ts for clarity. [1] [2]
  • Minor bug fix in [group]/[page]/+page.ts to prevent spreading undefined. (src/routes/examples/[group]/[page]/+page.tsL22-R22)

@netlify

netlify Bot commented Feb 17, 2026

Copy link
Copy Markdown

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit 88aef95
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/69945ae9738fa00008d82382
😎 Deploy Preview https://deploy-preview-387--svelteplot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.10.3-pr-387.0

Install it with:

npm install svelteplot@pr-387
# or install the specific version
npm install [email protected]

@github-actions

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.10.3-pr-387.1

Install it with:

npm install svelteplot@pr-387
# or install the specific version
npm install [email protected]

@gka gka merged commit 1512f80 into main Feb 17, 2026
9 checks passed
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