Repository navigation
chore(svelte-pacer): add 'eslint-plugin-svelte' to lint '.svelte' files - #301
Conversation
|
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
View your CI Pipeline Execution ↗ for commit 73b7e8a
☁️ Nx Cloud last updated this comment at |
Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
🔇 Additional comments: 2
packages/svelte-pacer/eslint.config.js: 1
3-4: LGTM!Also applies to: 7-31
packages/svelte-pacer/package.json: 1
124-125:Trivial · Security & Privacy · Quick win
⚠️ Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.Pin the new lint dependencies to exact versions.
A non-frozen install can select later minor or patch releases from these caret ranges. Both packages run as development tooling. Exact pins make tooling updates deliberate. (docs.npmjs.com)
Based on learnings, security-sensitive development tooling should use exact version pins rather than caret ranges.
Source: Learnings

Review info
-
Run configuration-
- Source mode: Auto
- Repository: TanStack/pacer
- Branch: chore/svelte-pacer-eslint-plugin
- File: .coderabbit.yaml
- Commit: 73b7e8a
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d4e500bf-282f-4744-8efb-381b6cd62c97
Files ignored due to path filters: 1-
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
Files selected for processing: 2-
packages/svelte-pacer/eslint.config.jspackages/svelte-pacer/package.json
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
-
🎯 Changes
Add
eslint-plugin-svelte'srecommendedconfig tosvelte-pacerso that.svelteand.svelte.tsfiles are linted, using the same config assvelte-pacer-devtools..svelte,.svelte.tsand.svelte.jsfiles with@typescript-eslint/parserand the package'ssvelte.config.js.lang="ts"in script blocks (svelte/block-lang) and forbidsvelte/internalimports (svelte/no-svelte-internal).eslint-plugin-svelteand@typescript-eslint/parseras devDependencies.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit