Skip to content

[FEATURE] Add Formatting and Linting Commands Using ESLint and Prettier #84

Description

@PorePranav

Is this a unique feature?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

Yes, currently, there are no standardized commands in the project to format and lint the code. This can lead to inconsistent code styles and potential errors, making it difficult for developers to maintain and contribute to the codebase effectively.

Proposed Solution

I propose adding ESLint and Prettier configuration files to the project, along with appropriate scripts in the package.json to enable developers to easily format and lint their code. By integrating these tools, we can ensure a consistent coding style and catch potential issues before they become problematic.

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

  1. Install ESLint and Prettier: Add ESLint and Prettier as dev dependencies.
  2. Create ESLint Configuration: Add an .eslintrc.js file for ESLint configuration.
  3. Create Prettier Configuration: Add a .prettierrc file for Prettier configuration.
  4. Add Scripts to package.json: Update package.json to include scripts for linting and formatting.
  5. Usage Instructions: Provide instructions in the README for running the linting and formatting commands.

By implementing these changes, we can enhance the code quality and maintainability of the project.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions