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

Integrate Rome Linting #6618

Merged
merged 28 commits into from
Nov 14, 2022
Merged

Integrate Rome Linting #6618

merged 28 commits into from
Nov 14, 2022

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented Nov 9, 2022

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):

  • https://___.webknossos.xyz

Steps to test:

  • CI should be enough

Issues:

  • improves speed for linting

(Please delete unneeded items, merge only when none are left open)

@philippotto philippotto self-assigned this Nov 9, 2022
@philippotto philippotto changed the title [WIP] Integrate Rome Linting Integrate Rome Linting Nov 10, 2022
Copy link
Member

@daniel-wer daniel-wer left a 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",
Copy link
Member

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.

Copy link
Member Author

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 :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, thank you!

@philippotto philippotto enabled auto-merge (squash) November 14, 2022 10:30
@philippotto philippotto merged commit c8e8770 into master Nov 14, 2022
@philippotto philippotto deleted the rome branch November 14, 2022 10:47
hotzenklotz added a commit that referenced this pull request Nov 15, 2022
…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)
@fm3 fm3 mentioned this pull request Nov 24, 2022
8 tasks
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.

3 participants