Common-Metadata-Repository
Common-Metadata-Repository copied to clipboard
CMR-9776: Resolve linter errors & warnings in common-app-lib; add linting config
Overview
What is the feature/fix?
Fix clj-kondo errors and warnings on common-app-lib.
Also added .clj-kondo to codebase, including config file and imported config from clj-rewrite.
What is the Solution?
See above, followed clj-kondo docs. See comments in config.edn file.
What areas of the application does this impact?
Quality control
Checklist
- [x ] I have updated/added unit and integration tests that prove my fix is effective or that my feature works
- [x ] New and existing unit and int tests pass locally and remotely with my changes
- [x ] I have removed unnecessary/dead code and imports in files I have changed
- [x ] I have performed a self-review of my own code
- [x ] I have commented my code, particularly in hard-to-understand areas
- [x ] I have made corresponding changes to the documentation
- [x ] My changes generate no new warnings