Previously it was only possible to silence warnings based on keywords but not for specific files. Adding YAML Support fixes this issue. We specifically wanted to silence this warning but only in this one file so we don't overlook potential issues in the future. We consider this okay because our CI builds for the simulator but we tested this code on device during development.
Tasks
[x] Add YML Config support
[x] Post silenced keywords to slack
Infos For Reviewer
Keep in Mind that this will break existing integrations because the ignoreKeywords flag is now gone. I would therefore suggest to bump the version number to 2.0
Structure of config.yml file:
ignore:
# Useful to silence SPM Warnings
"SourcePackages/checkouts":
warnings:
- "deprecated"
- "`@_functionBuilder` has been renamed to `@resultBuilder`"
"BMAttributionManager.swift":
warnings:
- "Code after 'return' will never be executed"
errors:
- "Some error you like to silence"
tests:
- "Some tests that fail"
Description
Previously it was only possible to silence warnings based on keywords but not for specific files. Adding YAML Support fixes this issue. We specifically wanted to silence this warning but only in this one file so we don't overlook potential issues in the future. We consider this okay because our CI builds for the simulator but we tested this code on device during development.
Tasks
Infos For Reviewer
Keep in Mind that this will break existing integrations because the
ignoreKeywords
flag is now gone. I would therefore suggest to bump the version number to 2.0Structure of config.yml file: