-
Notifications
You must be signed in to change notification settings - Fork 24
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
Integrate Rome Linting #6618
Integrate Rome Linting #6618
Conversation
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.
Awesome, thanks for taking care of this! 👍
@@ -180,7 +172,6 @@ | |||
"deep-freeze": "0.0.1", | |||
"dice-coefficient": "^2.1.0", | |||
"distance-transform": "^1.0.2", | |||
"eslint-plugin-ava": "^13.2.0", |
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.
There's probably no replacement for the ava https://github.com/avajs/eslint-plugin-ava/blob/main/docs/rules/no-only-test.md, right? I remember that we added this one just recently, because we got bitten by that.
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.
Good point! I replaced it with a very simplistic bash file: 11fbb92
It's not super accurate (since the only modifier could be formulated in another way), but I think it should catch 95% of the cases :)
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.
Sweet, thank you!
…knossos into pricing * 'pricing' of github.com:scalableminds/webknossos: * 'master' of github.com:scalableminds/webknossos: Release 22.11.2 (#6629) Encode layer visibility in sharing link (#6634) Allow viewing vx workflows via link if organization matches (#6622) Hotfix: increase zarr chunk cache size (#6639) Integrate Rome Linting (#6618) Fix task creation with base NML (#6635) Fix NGFF import for datasets with no channel axis (#6637)
Integrates rome linter and disables eslint except for the rules-of-hooks which are not yet supported by rome unfortunately. Nevertheless, the CI time is reduced by ~30s. Once we integrate rome formatting, we can shave of another 10 seconds.
URL of deployed dev instance (used for testing):
Steps to test:
Issues:
(Please delete unneeded items, merge only when none are left open)