- Remove redundant and duplicate ignore patterns
- Simplify .DS_Store handling to a single global rule
- Ensure custom_components/ is fully ignored
- Replace multiple include rules with recursive patterns (e.g. include/**/*.yaml)
- Collapse view and include folder whitelisting
- Generalize PEM file allowance (!*.pem)
- Improve readability and maintainability
Result:
- ~40% reduction in file size
- Same effective ignore/whitelist behavior
- Easier to extend and maintain going forward