feat: Prepare lint plugin for publishing#2302
Merged
aleksanderkatan merged 35 commits intomainfrom Mar 31, 2026
Merged
Conversation
|
pkg.pr.new packages benchmark commit |
📊 Bundle Size Comparison
👀 Notable resultsStatic test results:No major changes. Dynamic test results:No major changes. 📋 All resultsClick to reveal the results table (348 entries).
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu. |
740e38c to
1283689
Compare
…gin-for-publishing
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 24 changed files in this pull request and generated 5 comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)
packages/eslint-plugin/src/rules/noUnwrappedObjects.ts:11
- The rule’s docs description says it disallows unwrapped objects inside
'use gpu'functions, but the implementation explicitly exempts object literals directly returned from the function (ReturnStatement). Consider updating the description to document this exception so users aren’t confused about whyreturn { ... }isn’t reported.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cieplypolar
approved these changes
Mar 31, 2026
Collaborator
|
|
cieplypolar
approved these changes
Mar 31, 2026
Collaborator
cieplypolar
left a comment
There was a problem hiding this comment.
Great work!! Left some nits.
Co-authored-by: Szymon Szulc <103948576+cieplypolar@users.noreply.github.com>
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.
Closes #2186
Plugin is published: https://www.npmjs.com/package/eslint-plugin-typegpu (readme is not updated because it was published as alpha)
https://github.com/software-mansion/TypeGPU/tree/feat/prepare-lint-plugin-for-publishing/packages/eslint-plugin
I took inspiration from eslint-plugin-react.