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

Update Linter Changes as discussed in #875 #898

Closed
wants to merge 4 commits into from

Conversation

Sweetdevil144
Copy link
Contributor

Fixes #897

This PR introduces Linter changes to our Repository

Signed-off-by: Abhinav Pandey <abhinav.pandey.met22@itbhu.ac.in>
Signed-off-by: Abhinav Pandey <abhinav.pandey.met22@itbhu.ac.in>
Copy link

netlify bot commented May 22, 2024

Deploy Preview for glistening-gecko-6b417a failed. Why did it fail? →

Name Link
🔨 Latest commit b497632
🔍 Latest deploy log https://app.netlify.com/sites/glistening-gecko-6b417a/deploys/664db5b62107570008af84fa

@Sweetdevil144
Copy link
Contributor Author

Sweetdevil144 commented May 22, 2024

Hmmm. I Just noticed that our Linter Changes DO NOT remove unused variables even though we've utilized importing.

Would our script need further debugging and changes?

Tagging @aaronreed708 for further views.

Signed-off-by: Abhinav Pandey <abhinav.pandey.met22@itbhu.ac.in>
Shifted the linter because linter couldn't perform well in root
directory
Also, Major Development Work has been done within `code/src/ui`
directory

Signed-off-by: Abhinav Pandey <abhinav.pandey.met22@itbhu.ac.in>
@Sweetdevil144
Copy link
Contributor Author

All Linting changes applied

@aaronreed708
Copy link
Contributor

Tagging @aaronreed708 for further views.

I did some quick googling. It looks like linter can fix unused imports automatically, but I didn't see anything about it fixing unused variables. Just warns about them.

@Sweetdevil144
Copy link
Contributor Author

Sweetdevil144 commented May 22, 2024

Header rules are failing. I'll rectify the issue as soon as possible. I'm looking more into the issue. Sorry for the delay due to lack of time.

@Sweetdevil144
Copy link
Contributor Author

Closing this PR. Will Open a new soon

@Sweetdevil144 Sweetdevil144 deleted the dev-lint branch May 24, 2024 09:08
@Sweetdevil144
Copy link
Contributor Author

I did some quick googling. It looks like linter can fix unused imports automatically, but I didn't see anything about it fixing unused variables. Just warns about them.

Should we take alook in this package ? Looks like this componsates for removing unused variables :
https://www.npmjs.com/package/@putout/plugin-remove-unused-variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants