Skip to content

Comments

Feature: code quality client#20

Merged
jankapunkt merged 10 commits intomainfrom
feature/code-quality-clienz
May 17, 2024
Merged

Feature: code quality client#20
jankapunkt merged 10 commits intomainfrom
feature/code-quality-clienz

Conversation

@jankapunkt
Copy link
Member

@jankapunkt jankapunkt commented May 14, 2024

This adds the following features to the client side of the project:

  • prettier as code formatter
  • eslint as linter
  • github actions to enforce both for any pull request or push
  • updated developer docs

additionally, all code is

  • formatted
  • passing the linter

@jankapunkt jankapunkt self-assigned this May 14, 2024
@jankapunkt jankapunkt added enhancement New feature or request UI/UX CI labels May 14, 2024
@jankapunkt jankapunkt added this to the Pre-Release milestone May 14, 2024
@jankapunkt jankapunkt linked an issue May 14, 2024 that may be closed by this pull request
6 tasks
@jankapunkt jankapunkt marked this pull request as ready for review May 15, 2024 13:52
@jankapunkt
Copy link
Member Author

@alessandrobelli I finally managed to fix all linter issues. However since we have no tests yet we need to carefully check, whether things still work as expected.

From what I see it's urgent to setup tests as a next step.

Copy link
Contributor

@alessandrobelli alessandrobelli left a comment

Choose a reason for hiding this comment

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

There's a new error in the preparation page. To recreate, click on "new file", the new file is not shown.
I tested the main branch and the error is not there.

@jankapunkt
Copy link
Member Author

Thanks for the hint @alessandrobelli this was a negative side effect because before, it worked but it was mutating props which we should not do and the linter errors on that. I have to rewrite the comoponents to work but not mutate props.

Copy link
Contributor

@alessandrobelli alessandrobelli left a comment

Choose a reason for hiding this comment

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

Quickly tested offline and it worked

@jankapunkt jankapunkt merged commit 70ceee4 into main May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI enhancement New feature or request UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup CI pipeline

2 participants