chore: introduce type-aware oxlint linting#387
Merged
Merged
Conversation
✅ Deploy Preview for svelteplot ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
4 tasks
|
📦 Preview package for this PR is published! Version: Install it with: npm install svelteplot@pr-387
# or install the specific version
npm install [email protected] |
|
📦 Preview package for this PR is published! Version: Install it with: npm install svelteplot@pr-387
# or install the specific version
npm install [email protected] |
This was referenced Feb 17, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
package.jsonand updatedpnpm-lock.yamlto include all required packages and bindings. [1] [2] [3] [4] [5] [6]main(.github/workflows/oxlint.yml).lint:oxlintscript topackage.jsonfor running OXLint locally..pre-commit-config.yamland documented setup inCONTRIBUTING. [1] [2]Code and test cleanups:
Geo.svelte,stack.ts, andspike-map.svelte. [1] [2] [3]Booleantobooleanintypes/data.ts.dodge.test.tsfor clarity. [1] [2][group]/[page]/+page.tsto prevent spreadingundefined. (src/routes/examples/[group]/[page]/+page.tsL22-R22)