docs: add eslint#4805
Merged
moskalakamil merged 7 commits intoTheWidlarzGroup:masterfrom Dec 23, 2025
Merged
Conversation
There was a problem hiding this comment.
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.
fnwk
approved these changes
Dec 23, 2025
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.
add eslint to docs together with @widlarzgroup/eslint-plugin-docusaurus