Skip to content

chore(linter): implement Biome linter, first fixes and static tests in CI#115

Draft
rmlearney-digicatapult wants to merge 4 commits into
decentralized-identity:mainfrom
rmlearney-digicatapult:fix/linting
Draft

chore(linter): implement Biome linter, first fixes and static tests in CI#115
rmlearney-digicatapult wants to merge 4 commits into
decentralized-identity:mainfrom
rmlearney-digicatapult:fix/linting

Conversation

@rmlearney-digicatapult
Copy link
Copy Markdown
Contributor

@rmlearney-digicatapult rmlearney-digicatapult commented May 28, 2026

Installed Biome with custom settings to match existing repo patterns:

  • space indents
  • trailing commas
  • semicolon line terminations
  • single quotations
  • ignore unused variables and function parameters

Different strictness levels for tests/scripts/examples versus core library

Turned off any checking in first pass but implemented null assertion fixes, chain operator, and cleaned up one implicit any and one test file use of any

Introduced ci.yml to run static checks in CI

@rmlearney-digicatapult rmlearney-digicatapult force-pushed the fix/linting branch 2 times, most recently from 518081b to d746e5f Compare May 28, 2026 09:21
@rmlearney-digicatapult rmlearney-digicatapult changed the title chore(linter): implement Biome linter and first fixes chore(linter): implement Biome linter, first fixes and static tests in CI May 28, 2026
@brianorwhatever
Copy link
Copy Markdown
Contributor

This PR is great but includes the functionality changes from the other PRs. Let's get them in first and then we can do this one

@rmlearney-digicatapult
Copy link
Copy Markdown
Contributor Author

rmlearney-digicatapult commented May 29, 2026

@brianorwhatever yes apologies I've been building sequentially on top of previous PRs and pushing for visibility, with plan to rebase on each merge to clean up

Will leave as draft until ready to go

Signed-off-by: rmlearney-digicatapult <robert.learney@digicatapult.org.uk>
(cherry picked from commit aa6289a)
(cherry picked from commit a729c84a61f10db27dae03a2df6270ced1a86035)
Signed-off-by: rmlearney-digicatapult <robert.learney@digicatapult.org.uk>
(cherry picked from commit 1065075d3df1ce3c176977d0182d70b0909dd55e)
Signed-off-by: rmlearney-digicatapult <robert.learney@digicatapult.org.uk>
Signed-off-by: rmlearney-digicatapult <robert.learney@digicatapult.org.uk>
(cherry picked from commit d746e5f)
(cherry picked from commit c7aff0a8ba7940f20a25fb47d5c73989d9409af4)
Signed-off-by: rmlearney-digicatapult <robert.learney@digicatapult.org.uk>
Signed-off-by: rmlearney-digicatapult <robert.learney@digicatapult.org.uk>
(cherry picked from commit df205b5)
(cherry picked from commit f9789ffd5f9624a5acb8c9b5c8870c658d93ff27)
Signed-off-by: rmlearney-digicatapult <robert.learney@digicatapult.org.uk>
@PatStLouis
Copy link
Copy Markdown
Contributor

@rmlearney-digicatapult theres a couple failing tests and merge conflict

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