realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.61k stars 2.22k forks source link

Make postprocessors non-throwing #5539

Closed SimplyDanny closed 5 months ago

SimplyDanny commented 5 months ago

Failing immediately when a property is invalid is too strict. It feels sufficient to allow to report an issue but otherwise continue with a default value instead of stopping execution completely.

SwiftLintBot commented 5 months ago
1 Warning
:warning: If this is a user-facing change, please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
17 Messages
:book: Linting Aerial with this PR took 1.12s vs 1.13s on main (0% faster)
:book: Linting Alamofire with this PR took 1.64s vs 1.64s on main (0% slower)
:book: Linting Brave with this PR took 9.42s vs 9.42s on main (0% slower)
:book: Linting DuckDuckGo with this PR took 5.24s vs 5.2s on main (0% slower)
:book: Linting Firefox with this PR took 12.12s vs 12.17s on main (0% faster)
:book: Linting Kickstarter with this PR took 11.41s vs 11.44s on main (0% faster)
:book: Linting Moya with this PR took 0.62s vs 0.64s on main (3% faster)
:book: Linting NetNewsWire with this PR took 3.5s vs 3.5s on main (0% slower)
:book: Linting Nimble with this PR took 0.93s vs 0.97s on main (4% faster)
:book: Linting PocketCasts with this PR took 9.38s vs 9.29s on main (0% slower)
:book: Linting Quick with this PR took 0.42s vs 0.42s on main (0% slower)
:book: Linting Realm with this PR took 5.82s vs 5.84s on main (0% faster)
:book: Linting Sourcery with this PR took 2.88s vs 2.91s on main (1% faster)
:book: Linting Swift with this PR took 5.69s vs 5.71s on main (0% faster)
:book: Linting VLC with this PR took 1.52s vs 1.53s on main (0% faster)
:book: Linting Wire with this PR took 21.11s vs 20.92s on main (0% slower)
:book: Linting WordPress with this PR took 14.01s vs 14.0s on main (0% slower)

Here's an example of your CHANGELOG entry:

* Make postprocessors non-throwing.  
  [SimplyDanny](https://github.com/SimplyDanny)
  [#issue_number](https://github.com/realm/SwiftLint/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by :no_entry_sign: Danger