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

Switching from eslintrc.json to eslint.config.json #2472

Closed
Suyash878 opened this issue Aug 21, 2024 · 5 comments
Closed

Switching from eslintrc.json to eslint.config.json #2472

Suyash878 opened this issue Aug 21, 2024 · 5 comments
Assignees
Labels
bug Something isn't working no-issue-activity No issue activity

Comments

@Suyash878
Copy link

Describe the bug
We need to switch from eslintrc.json to eslint.config.js as the former is considered deprecated now.

To Reproduce
Steps to reproduce the behavior:

  1. Make changes in any file in the code base.
  2. Add all the changes using git add . command
  3. Try and commit the changes using git commit -m "<Your commit message>"
  4. Examine the error, The process fails after the initial few tests.

Expected behavior
The changes should have been committed without any such error messages.

Actual behavior
After the initial few tasks the commit action fails. Since ".eslintrc.json" file is no longer supported. And it asks to switch over to eslint.config.js file.
More over the property .eslintignore is also not supported rather user is supposed to use the "ignores" property in eslint.config.js.

Screenshots
image

Additional details
None.

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@Suyash878 Suyash878 added the bug Something isn't working label Aug 21, 2024
Copy link

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Aug 21, 2024
@Suyash878
Copy link
Author

In accordance with the issue #1756 and my current awareness about this issue, I would like to work on this.

@palisadoes palisadoes removed the unapproved Unapproved for Pull Request label Aug 21, 2024
@palisadoes
Copy link
Contributor

When this is resolved, please open one in Admin as we'll face the same issue.

@Suyash878
Copy link
Author

@palisadoes Sure

Copy link

github-actions bot commented Sep 2, 2024

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity No issue activity
Projects
None yet
Development

No branches or pull requests

2 participants