Skip to content

Conversation

@moskalakamil
Copy link
Collaborator

add eslint to docs together with @widlarzgroup/eslint-plugin-docusaurus

Copy link

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 PR adds ESLint configuration to the documentation workspace with the @widlarzgroup/eslint-plugin-docusaurus plugin, along with formatting fixes across multiple TypeScript and CSS files to comply with the newly introduced linting rules.

  • Introduces ESLint configuration for the docs workspace with custom Docusaurus plugin for CSS linting
  • Updates pre-commit hooks to include CSS linting for documentation files
  • Applies comprehensive formatting fixes including quote style consistency, destructuring spacing, and JSX formatting

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/.eslintrc.js Adds new ESLint configuration that extends parent config and sets up the Docusaurus plugin with CSS processor
docs/package.json Adds lint script, updates @widlarzgroup/docusaurus-ui to v0.0.3, and adds ESLint dependencies
lefthook.yml Adds lint-docs-css pre-commit hook for CSS files and fixes spacing in types glob pattern
docs/src/css/custom.css Updates comment block with better documentation about the imported package and its purpose
docs/src/pages/index.tsx Applies ESLint formatting fixes: consistent destructuring spacing, proper JSX attribute formatting
docs/src/components/HomepageFeatures/index.tsx Simplifies JSX fragments and applies consistent destructuring spacing
docs/src/components/PlatformsList/PlatformsList.tsx Applies consistent destructuring spacing
docs/src/components/PlatformsList/PlatformsList.module.css Removes commented-out CSS code
docs/sidebars.ts Converts double quotes to single quotes throughout for consistency
docs/docusaurus.config.ts Converts double quotes to single quotes and fixes trailing commas for consistency
bun.lock Updates lock file with new dependencies and version bumps

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

@moskalakamil moskalakamil merged commit 6aaeebc into TheWidlarzGroup:master Dec 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants