Skip to content

Conversation

@kapuic
Copy link
Member

@kapuic kapuic commented Feb 21, 2025

This pull request introduces several enhancements to our code quality and linting processes. The changes include setting up GitHub Actions for code quality checks, configuring ESLint, Prettier, and Stylelint, and adding relevant dependencies and configurations.

This pull request does not yet include the formatting and linting fixes for existing code. I intend to submit these code changes in a separate pull request after this pull request is merged.

Enhancements to code quality checks:

Linting and formatting configurations:

  • eslint.config.mjs: Configured ESLint with various plugins and rules for TypeScript, React, and Docusaurus to ensure best practices.
  • prettier.config.mjs: Added a Prettier configuration file with a plugin for JSDoc.
  • stylelint.config.mjs: Added a Stylelint configuration file extending the standard configuration.

Pre-commit hooks and lint-staged setup:

Dependency updates:

  • package.json: Added dependencies for ESLint, Prettier, Stylelint, and Husky, and updated scripts to include linting and formatting commands.

Additionally:

  • Added ignore patterns for all *.md files and .github directory to prevent conflicts with Remark Lint and maintain GitHub-specific configurations.
  • Added @types/react dependency to ensure proper TypeScript definitions for React components.

@kapuic kapuic requested a review from s-sajid-ali February 21, 2025 23:30
@kapuic kapuic self-assigned this Feb 21, 2025
@github-actions
Copy link

github-actions bot commented Feb 21, 2025

PR Preview Action v1.6.0
Preview removed because the pull request was closed.
2025-02-25 20:02 UTC

@s-sajid-ali s-sajid-ali merged commit 30fb521 into main Feb 25, 2025
3 of 4 checks passed
@kapuic kapuic mentioned this pull request Feb 26, 2025
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.

3 participants