Is your feature request related to a problem? Please describe.
Currently, the CLI lint command with the --generate-ignore-file option overwrites the previously generated .redocly.lint-ignore.yaml file.
That leads to a number of issues:
- Some lint ignore records that were added manually or generated with a different configuration get deleted.
- Command is executed against all OAS description.
The another unsolved question is to decide how scorecard-classic rules should be taken into consideration or handled separatelly.
Describe the solution you'd like
- When the
lint command with the --generate-ignore-file option is executed against a specific description, only the records related to that file should be updated or appended.
- [UNSOLVED MYSTERY] - there should be some way to get into consideration scorecard level individual rules and allow apply ignore per API description.
Describe alternatives you've considered
Keep manually updating ignore file after generation.
Additional context