-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
chore(website): configure eslint config similiar to asyncapi website #2031
Conversation
…ite to git ignore in parent project
✅ Deploy Preview for modelina ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jerensl, you can also add the eslint and prettier rules from the asyncapi website in this PR and update the PR title accordingly.
Pull Request Test Coverage Report for Build 9448551980Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
@devilkiller-ag After doing some work I figured out this doesn't work because the next cli makes us dirty here, basically For the solution, I think it would be better to migrate the website as new repositories and use submodules for this repository @jonaslagoni what is your opinion about this? |
At the moment that wont be an option, too complex of a setup for now.
It should be possible to create a website-only eslint configuration even through the next cli, if the next cli is even needed to lint the files. |
@devilkiller-ag, I made adjusted to ignore |
@jerensl what type of errors are those? |
Mostly unused variable and hoisting Terminal.mp4 |
Hi @devilkiller-ag if you don't mind I changed the entire website codebase, I made the latest commit for fixing around 100 eslint errors, which left around ~90 warnings related to jsdoc for documentation purposes |
Okay, No problem! |
Pull Request Test Coverage Report for Build 9626634076Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9627168389Details
💛 - Coveralls |
@devilkiller-ag, I want to mention here too, with the deprecating of the majority eslint formatting rule, It's been clear they're not buying into the idea of becoming both formatter and linter simultaneously. So I propose a solution to make separation between both tools which we are using prettier for formatter and eslint as a linter https://eslint.org/blog/2023/10/deprecating-formatting-rules/ |
Yeah this seems important to me. We should have this separation. Would you like to work on this @jerensl? |
Pull Request Test Coverage Report for Build 9657860438Details
💛 - Coveralls |
Sure |
Pull Request Test Coverage Report for Build 9689394190Details
💛 - Coveralls |
How's the work going on @jerensl? Is it ready for review? |
/rtm |
Thanks @jerensl! |
🎉 This PR is included in version 3.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Added
eslint
automatic fix for modelina-website and added modelina-website to eslint ignore in parent project, so no conflicting rule in the future when we start migrating the same rule used in async website as mentioned hereRelated Issue
This PR is being made as mentioned here