[Feature] Add ESLint plugin for js-toolkit best practices#727
Merged
titouanmathis merged 34 commits intomainfrom May 7, 2026
Merged
[Feature] Add ESLint plugin for js-toolkit best practices#727titouanmathis merged 34 commits intomainfrom
titouanmathis merged 34 commits intomainfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…el-case and require-config-name-pascal-case rules Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…emoved Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- no-deep-utils-import (error, fixable) - refs-no-bracket-access (error, fixable) - no-redundant-with-mount-when-in-view (warn) - prefer-ref-over-query-selector (warn) - require-refs-declared-in-config (error) - no-manual-intersection-observer (warn) - no-manual-mutation-observer (warn) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Export SizeUnchanged@studiometa/js-toolkit
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #727 +/- ##
==========================================
- Coverage 98.51% 97.99% -0.53%
==========================================
Files 131 153 +22
Lines 2965 3386 +421
Branches 727 898 +171
==========================================
+ Hits 2921 3318 +397
- Misses 42 62 +20
- Partials 2 6 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
🔗 Linked issue
N/A
❓ Type of change
📚 Description
Adds a new
@studiometa/eslint-plugin-js-toolkitpackage — an ESLint v9 / oxlint plugin that enforces best practices for projects using@studiometa/js-toolkit.20 rules across 5 categories:
require-config,require-config-name-pascal-case,refs-camel-case,refs-plural-multiple,options-camel-case,refs-no-bracket-access,require-refs-declared-in-configasync-lifecycle-methodson-handler-naming,on-global-handler-prefix,no-event-listener-methodsno-deprecated-properties,no-dispatch-event,no-shadow-dom,no-create-app,no-deep-utils-import,no-shadow-domno-redundant-with-mount-when-in-view,no-manual-intersection-observer,no-manual-mutation-observer,prefer-ref-over-query-selectorThe plugin ships a
configs.recommendedflat config entry with sane defaults. The.oxlintrc.jsonat the root is updated to use the plugin locally.📝 Checklist