Skip to content

Conversation

@upayanmazumder
Copy link
Member

This pull request introduces a comprehensive setup for code formatting and linting across the project, standardizing style and improving code quality. It adds configuration files for EditorConfig, Prettier, and lint-staged, updates the linter workflow to include Prettier checks, and ensures consistent formatting in the codebase. Additionally, minor improvements are made to documentation and VSCode settings.

Code Quality and Formatting Setup

  • Added .editorconfig to enforce consistent file formatting (e.g., indentation, end-of-line, charset) across editors and contributors.
  • Introduced .prettierrc and .prettierignore for Prettier configuration and exclusion of certain files/folders from formatting. [1] [2]
  • Added .lintstagedrc.json to automatically format staged files using Prettier before commits.

Continuous Integration Improvements

  • Updated .github/workflows/linter.yml to set up Node.js, install dependencies, and run Prettier checks as part of the CI pipeline; configured Super-Linter to use Prettier for JS/TS. [1] [2]

IDE and Development Environment Enhancements

  • Updated .vscode/settings.json to set Prettier as the default formatter and enable format on save for a smoother developer experience.

Documentation and Ignore Files

  • Added .superlinterignore to exclude build outputs, dependencies, and environment files from linting.
  • Minor improvements to README.md for clarity and additional resource links. [1] [2]

These changes collectively ensure that code style is consistent, automated formatting is enforced both locally and in CI, and unnecessary files are excluded from linting and formatting processes.

@upayanmazumder upayanmazumder merged commit c9055d4 into GDGVIT:dev Oct 18, 2025
1 of 2 checks passed
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.

1 participant