Prettify, consolidate and deepwiki #9
Merged
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.
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
.editorconfigto enforce consistent file formatting (e.g., indentation, end-of-line, charset) across editors and contributors..prettierrcand.prettierignorefor Prettier configuration and exclusion of certain files/folders from formatting. [1] [2].lintstagedrc.jsonto automatically format staged files using Prettier before commits.Continuous Integration Improvements
.github/workflows/linter.ymlto 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
.vscode/settings.jsonto set Prettier as the default formatter and enable format on save for a smoother developer experience.Documentation and Ignore Files
.superlinterignoreto exclude build outputs, dependencies, and environment files from linting.README.mdfor 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.