chore(lint): add ESLint v9 flat config + Prettier, format codebase#24
Merged
Conversation
…nd resolve lint errors for #18
jbarson
commented
Aug 10, 2025
Owner
Author
jbarson
left a comment
There was a problem hiding this comment.
Addressed review comment:
- Removed
.eslintrc.cjsfrom theignoresarray ineslint.config.mjsso it gets linted. - Left
.eslintrc.cjsas a comment-only file to avoid no-undef and keep it purely informational. - Added a targeted override in
eslint.config.mjsto disable the Prettier rule foreslint.config.mjsand.eslintrc.cjs(avoids a noisy spacing warning while other rules still apply).
Ran npm run lint locally — zero errors/warnings now.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds ESLint v9 flat configuration and Prettier to enforce code style consistency and implements a comprehensive formatting update across the entire codebase. The changes standardize quote usage, apply consistent code formatting, and establish proper linting infrastructure.
- Adds ESLint v9 flat config with TypeScript support and Prettier integration
- Converts all single quotes to double quotes throughout the codebase
- Applies consistent formatting with proper line breaks and spacing
Reviewed Changes
Copilot reviewed 11 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| eslint.config.mjs | New ESLint v9 flat configuration with TypeScript and Prettier rules |
| .prettierrc.json | Prettier configuration with double quotes and 100-char line width |
| .eslintrc.cjs | Deprecated legacy ESLint config placeholder |
| package.json | Added lint and format scripts plus ESLint/Prettier dependencies |
| vite.config.js | Quote style normalization to double quotes |
| scripts/systemsList.ts | Multiline object formatting for better readability |
| scripts/jumpLinks.ts | Quote style conversion from single to double quotes |
| scripts/app.ts | Quote normalization and multiline formatting improvements |
| scripts/app.test.ts | Quote style and import formatting updates |
| index.html | HTML formatting improvements and DOCTYPE normalization |
| css/style.css | CSS formatting improvements and color code normalization |
jbarson
added a commit
that referenced
this pull request
Mar 28, 2026
jbarson
added a commit
that referenced
this pull request
Mar 28, 2026
security: mitigate dependabot alert #24 by updating flatted and brace-expansion
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.
and resolve lint errors for #18