-
Notifications
You must be signed in to change notification settings - Fork 181
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
Apply UI linting to all modules #877
Comments
Hey, I'm new to contributing to open source and I'm interested in contributing to this issue. How can I get started with it? |
Hi @aamirshaikh7, This issue depends on #876 and therefore it's preferable to have this PR merged before starting to work on this issue. Nevertheless, I'll give a quick wrap up what to do:
In case you already want to contribute, feel free to have a look on our other issues. |
Hi, @bossenti I have few questions. Do all models mentioned above needs to be removed from ui/.eslintignore and ui/.prettierignore? Regarding the README, It is mentioned that "node and npm (bundled with node) installed.", meaning both Node and npm need to be installed? I have installed Node and npm via nvm. Will this work? Thankyou. |
Not at once but in the end, yes. The idea is to remove them step by step. So in best case you only remove one module from both files, run the tools and check where things need to adapted.
Shouldn't be a problem, afaik |
I have removed Cypress model from .eslintignore and .prettierignore. I'm using Node v19.3.0 and npm version 9.2.0
I can see getting few warning messages while building the project, haven't come across any errors. |
@smlabt can you help out here? |
@bossenti yes, sure :) @aamirshaikh7 you have to use |
I encountered error while running After that both run format and run lint passed.
@bossenti @smlabt If you're satisfied with these results. Can I make PR for this module (Cypress) ? You can review it. |
@aamirshaikh7 great, sounds good! Yes, please open a PR for this module. |
@smlabt On committing the changes, I'm getting an error.
|
Unfortunately I do not have a windows machine to reproduce and debug this issue right now. Are you running If this is not working for you, you can run |
I'm running I have used |
Can I make PR for this module? @smlabt You can review it. |
Yes, please open a PR for your changes :) |
…rial [#877] Format and lint CustomMaterial module
We have completed the linting and formatting for our UI 🎉 |
Body
The following modules need to be included into the UI linting:
Please update
ui/.eslintignore
andui/.prettierignore
if a module is updated.Furthermore check to corresponding module in the list above and paste a link to the PR (see #820).
Mentoring
As this ticket is marked as good first issue: one of @dominikriemer, @tenthe, @smlabt or @bossenti is happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.
StreamPipes Committer
The text was updated successfully, but these errors were encountered: