Skip to content

chore: align CI, ESLint, and test coverage with obo-parser standards#37

Merged
mdesoto merged 2 commits intomainfrom
chore/ci-eslint-tests-cleanup
Apr 15, 2026
Merged

chore: align CI, ESLint, and test coverage with obo-parser standards#37
mdesoto merged 2 commits intomainfrom
chore/ci-eslint-tests-cleanup

Conversation

@mdesoto
Copy link
Copy Markdown
Contributor

@mdesoto mdesoto commented Apr 15, 2026

Summary

  • Restructure CI workflow into 3 parallel jobs (lint, test matrix, build) matching obo-parser pattern
  • Align ESLint config with obo-parser: strict errors for no-explicit-any, no-unsafe-*, no-floating-promises, no-console; add test file overrides
  • Remove redundant @typescript-eslint/parser and @typescript-eslint/eslint-plugin (included via typescript-eslint)
  • Bump ESLint deps to match obo-parser versions
  • Add 10 new tests covering DomainListService and previously uncovered edge cases (79% → 99% line coverage)
  • Remove stale TODO comment and replace burnerguard.com with GitHub repo URL
  • Remove nonexistent "example" from tsconfig.build.json excludes

Test plan

  • Lint passes with zero errors/warnings
  • Build succeeds
  • All 43 tests pass
  • CI passes on Node 20/22/24

🤖 Generated with Claude Code

mdesoto and others added 2 commits April 14, 2026 21:04
- Restructure CI into parallel jobs: lint, test (matrix), build
- Align ESLint config with obo-parser (stricter rules, test overrides)
- Remove redundant @typescript-eslint/parser and eslint-plugin deps
- Bump eslint deps to match obo-parser versions
- Add test coverage for DomainListService, empty allow strings,
  subdomain allowlist walk, and URL fetch errors (79% → 99% lines)
- Replace stale burnerguard.com URL with GitHub repo URL
- Remove nonexistent "example" from tsconfig.build.json excludes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bundled-data.ts is gitignored and must be generated before lint or
test can resolve the module. Add npm run generate step to both jobs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mdesoto mdesoto merged commit 5a5eeff into main Apr 15, 2026
5 checks passed
@mdesoto mdesoto deleted the chore/ci-eslint-tests-cleanup branch April 15, 2026 01:08
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