Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
PorePranav opened this issue Oct 6, 2024 · 1 comment · May be fixed by #94
Open
1 task done

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

PorePranav opened this issue Oct 6, 2024 · 1 comment · May be fixed by #94
Assignees
Labels
enhancement New feature or request feature New features hacktoberfest

Comments

@PorePranav
Copy link
Contributor

PorePranav commented Oct 6, 2024

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.

@vishalverma9572
Copy link
Owner

@PorePranav , assigned!

@PorePranav PorePranav linked a pull request Oct 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature New features hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants