Skip to content

Conversation

@mensfeld
Copy link
Owner

Summary

Implements the feature request part of #5 by adding support for 5 new ignore file parsers.

New Ignore File Parsers

This PR adds support for the following ignore files requested in #5:

  1. .remarkignore - remark markdown processor ignore file
  2. .lycheeignore - lychee link checker ignore file
  3. .secretlintignore - secretlint ignore file
  4. .vscodeignore - VS Code extension ignore file
  5. .ignoresecrets - git-leaks alternative ignore file

All use the standard gitignore format and reuse the existing parseIgnoreFile function.

Changes

  • ✅ Added 5 new ignore file parsers to src/parsers/gitignore.ts
  • ✅ Exported parsers from src/parsers/index.ts
  • ✅ Added parsers to getBuiltinParsers() array
  • ✅ Updated --skip-ignore-files to handle .ignoresecrets (special case: doesn't end with 'ignore')
  • ✅ Updated README.md: 62+ → 67+ supported config files
  • ✅ Updated CHANGELOG.md with both fix and feature from [request] support stylelint ignore + more #5
  • ✅ Added 5 new test cases for the parsers
  • ✅ Updated integration tests to verify all new ignore files work with --skip-ignore-files

CHANGELOG Entry

The CHANGELOG.md now documents:

Test Coverage

  • Added 5 new unit tests in tests/parsers/gitignore.test.ts
  • Updated integration test to verify all new ignore files are skipped
  • All 303 tests pass ✅

Before & After

Before: 62+ configuration files
After: 67+ configuration files

Closes #5

Implements feature request from #5

New ignore file parsers:
- remarkignore (.remarkignore) - remark markdown processor
- lycheeignore (.lycheeignore) - lychee link checker
- secretlintignore (.secretlintignore) - secretlint
- vscodeignore (.vscodeignore) - VS Code extensions
- ignoresecrets (.ignoresecrets) - git-leaks alternative

Changes:
- Add 5 new ignore file parsers using the existing parseIgnoreFile function
- Export new parsers from gitignore.ts and index.ts
- Add new parsers to getBuiltinParsers() array
- Update --skip-ignore-files to handle 'ignoresecrets' (doesn't end with 'ignore')
- Update README.md to document new ignore files (67+ configs now supported)
- Add comprehensive tests for all new parsers
- Update CHANGELOG.md with both the fix and feature from #5
- Update integration tests to verify new ignore files are skipped with --skip-ignore-files

All 303 tests pass.
@mensfeld mensfeld merged commit cbe00ed into master Jan 27, 2026
4 checks passed
@mensfeld mensfeld deleted the feature/issue-5-add-more-ignore-files branch January 27, 2026 09:02
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.

[request] support stylelint ignore + more

1 participant