Skip to content

Conversation

@IEvangelist
Copy link
Member

@IEvangelist IEvangelist commented Dec 8, 2025

Add lint/format bits, switch to pnpm, and perform initial run. Fixes #118

Copilot AI review requested due to automatic review settings December 8, 2025 19:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds linting and formatting infrastructure to the frontend project, switches the package manager from npm to pnpm, and performs an initial formatting run across the codebase. The changes primarily consist of code style improvements and configuration updates to establish consistent formatting standards.

Key Changes

  • Switched package manager from npm to pnpm
  • Added and configured ESLint/Prettier for code formatting
  • Performed initial formatting run on JavaScript, TypeScript, CSS, MDX, and JSON files
  • Added custom Prettier plugin for MDX <Steps> component handling

Reviewed changes

Copilot reviewed 192 out of 234 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/frontend/tsconfig.json Removed trailing comma from paths configuration
src/frontend/src/utils/imageImporter.js Formatted import statement and arrow function syntax
src/frontend/src/utils/helpers.js Standardized quote usage from double to single quotes
src/frontend/src/styles/site.css Normalized hex color codes to lowercase, standardized indentation and quote usage
src/frontend/src/styles/cookieconsent-custom.css Normalized hex color codes to lowercase, standardized indentation
src/frontend/src/prettier-plugins/prettier-plugin-starlight-steps.mjs Added new Prettier plugin for MDX Steps component
src/frontend/src/pages/rss.xml.js Formatted multi-line expressions and standardized quotes
src/frontend/src/pages/1ds.js Added trailing commas and standardized arrow function syntax
src/frontend/src/expressive-code-plugins/disable-copy.mjs Fixed indentation in nested braces
src/frontend/src/data/aspire-posts.json Collapsed single-item arrays to single lines
src/frontend/src/content/docs/**/*.mdx Added blank lines within <Steps> components, reformatted long lines in <Aside> components, fixed table formatting, standardized component prop formatting
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Removed "proseWrap" setting from Prettier configuration.
- Added spacing in various documentation sections for improved readability.
- Updated Azure integration documentation to include steps for connecting to storage resources.
- Enhanced migration documentation with clearer steps for applying migrations.
- Added settings for Prettier in VSCode to support Astro files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ES lint / prettier configs

3 participants