This Pull Request introduces the following changes:
Set up Husky, ESLint, and Prettier for code formatting and linting.
Added configuration files for ESLint .
Created a lint-staged configuration to run Prettier on staged files before each commit.
How to Test
To ensure that the code formatting and linting work as expected, you can follow these steps:
Make changes to the code in your project.
Stage the changes using git add.
Attempt to make a commit.
Husky and lint-staged should automatically run Prettier to format the staged files. If there are any formatting issues or linting errors, you'll be prompted to fix them before committing.
Screenshots
Checklist
[x] I have tested the changes locally.
[x] The code adheres to the project's coding standards.
[x] The ESLint and Prettier configurations are in line with the project's requirements.
Description
This Pull Request introduces the following changes:
How to Test
To ensure that the code formatting and linting work as expected, you can follow these steps:
git add
.Husky and lint-staged should automatically run Prettier to format the staged files. If there are any formatting issues or linting errors, you'll be prompted to fix them before committing.
Screenshots
Checklist
Closes #192