feat: enhance ESLint configuration with import order and directive formatting#84
Merged
misterbridge merged 3 commits intomainfrom Sep 5, 2025
Merged
feat: enhance ESLint configuration with import order and directive formatting#84misterbridge merged 3 commits intomainfrom
misterbridge merged 3 commits intomainfrom
Conversation
b5e53b2 to
287232d
Compare
2f1b046 to
9cc4c1b
Compare
287232d to
fbb4c31
Compare
fkroockmann
approved these changes
Sep 5, 2025
9cc4c1b to
e6f52be
Compare
32fdf93 to
ceafea1
Compare
…nitions - Added `eslint-plugin-import` to enforce import order - Configured `import/order` rule with alphabetization and custom path group for `@/**` - Updated ESLint config to lint `.d.ts` files in `types/` - Added TypeScript declaration file for `eslint-plugin-import` - Minor import order adjustments in `shared.config.ts` and test rules - Updated `tsconfig.json` to include type definitions in `types/`
- Add Development section to README explaining root config files are local-only - Update CLAUDE.md with detailed explanation of dual ESLint configuration - Document that tsconfig.json, eslint.config.ts, and .prettierrc.js are for repository development only and not exported in the package - Add guidance for fixing TypeScript/ESLint issues in this repository 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…ives
- Force blank line after directives ("use strict", "use client", "use server")
- Prevent blank lines between consecutive directives to keep them grouped
- Applies to all JS/TS files for consistent directive formatting
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
ceafea1 to
001953c
Compare
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.
Summary
Changes
Import Organization
import/orderrule with alphabetical sorting and consistent spacing@/**paths)Directive Formatting
padding-line-between-statementsrule to enforce consistent directive formatting"use strict","use client","use server")Documentation Improvements
Test Plan
npm run build)🤖 Generated with Claude Code