Skip to content

ci: add file hygiene workflow and resolve all lint errors#221

Open
yshyn-iohk wants to merge 3 commits intomainfrom
ci/file-hygiene
Open

ci: add file hygiene workflow and resolve all lint errors#221
yshyn-iohk wants to merge 3 commits intomainfrom
ci/file-hygiene

Conversation

@yshyn-iohk
Copy link
Copy Markdown
Contributor

Summary

Implements file hygiene linting for apollo as part of the org-wide rollout (hyperledger-identus/hyperledger-identus#172).

1. CI workflow and lint configuration

  • Add file-hygiene.yml caller workflow for the reusable lint-files.yml
  • Prepend canonical .editorconfig baseline to existing ktlint rules
  • Add .gitattributes, .markdownlint.yml, .markdownlint-cli2.yaml, .yamllint.yml
  • Excludes secp256k1-kmp/native/secp256k1/ submodule from all linters

2. Lint fixes across the repo (10 files)

  • Markdownlint auto-fix: trailing spaces, blank lines around headings/lists/fences
  • CRLF → LF normalization (DCO.md, MAINTAINERS.md, SECURITY.md)

3. .git-blame-ignore-revs

  • Add mass formatting commit to blame ignore list

Test plan

  • File Hygiene (editorconfig) — passing
  • Markdown — passing (0 errors locally)
  • YAML — passing
  • ShellCheck — passing

Refs: hyperledger-identus/hyperledger-identus#172

🤖 Generated with Claude Code

yshyn-iohk and others added 3 commits April 14, 2026 00:10
Add reusable file-hygiene workflow caller and canonical lint configs:

- .github/workflows/file-hygiene.yml: caller for lint-files.yml
- .editorconfig: canonical baseline prepended to existing ktlint rules
- .gitattributes: LF normalization for text files, binary rules
- .markdownlint.yml, .markdownlint-cli2.yaml: markdownlint config
  (ignores secp256k1 submodule and build artifacts)
- .yamllint.yml: yamllint config (ignores secp256k1 submodule)

Refs: hyperledger-identus/hyperledger-identus#172

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Markdownlint auto-fix resolved formatting issues:
- Trailing spaces, multiple blank lines, blank lines around
  headings/lists/fences, list indentation and style

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
@yshyn-iohk yshyn-iohk requested a review from a team as a code owner April 13, 2026 17:11
@sonarqubecloud
Copy link
Copy Markdown

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.

1 participant