Skip to content

Conversation

@pawelangelow
Copy link
Collaborator

It's easier if you go commit by commit.

  1. Turning on prettier/prettier rules - results in empty lines, adjusted imports, etc... NO business logic change here.
  2. Turning on @typescript-eslint/*** results in one business logic change - redisinsight/api/src/main.ts file and the rest are cosmetics - unused variables deleted, naming, etc...

@github-actions
Copy link
Contributor

Code Coverage - Integration Tests

Status Category Percentage Covered / Total
🟢 Statements 81.66% 16275/19928
🟡 Branches 64.66% 7346/11360
🟡 Functions 70.64% 2284/3233
🟢 Lines 81.31% 15313/18832

@github-actions
Copy link
Contributor

Code Coverage - Backend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 92.33% 13870/15022
🟡 Branches 74.11% 4188/5651
🟢 Functions 85.84% 2133/2485
🟢 Lines 92.13% 13259/14391

Test suite run success

2965 tests passing in 287 suites.

Report generated by 🧪jest coverage report action from b03d096

@github-actions
Copy link
Contributor

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.24% 20149/24499
🟡 Branches 67.72% 8727/12887
🟡 Functions 76.39% 5361/7018
🟢 Lines 82.65% 19727/23867

Test suite run success

5229 tests passing in 681 suites.

Report generated by 🧪jest coverage report action from b03d096

Copy link
Member

@valkirilov valkirilov left a comment

Choose a reason for hiding this comment

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

Nice! Now, when I see how this PR fixed some limiting issues, I wonder whether it's a good idea to actually turn on the linter in the pipeline, so we don't produce new issues in the meantime.

The rest of the rules are still disabled, so it won't block us at the moment - it will simply guard us from producing new issues.

@pawelangelow
Copy link
Collaborator Author

Nice! Now, when I see how this PR fixed some limiting issues, I wonder whether it's a good idea to actually turn on the linter in the pipeline, so we don't produce new issues in the meantime.

The rest of the rules are still disabled, so it won't block us at the moment - it will simply guard us from producing new issues.

That's for sure. When I have some time, I'll open a PR about it, as it requires a bit of changes of our whole process. What I imagine is:

  • install dependencies
  • run linter + prettier
  • fail if previous step failed
  • continue with tests with cached dependencies (so we don't wait again for yarn install)

but it will be explained in a feature PR. This one at least improves the Dev experience over the backend.

@pawelangelow pawelangelow merged commit 2723218 into main Oct 31, 2025
33 checks passed
@pawelangelow pawelangelow deleted the feature/improve-eslint-stuff branch October 31, 2025 14:15
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