Swift Format von Swift
Swift Format 602.0.0 veröffentlicht
Swift Format 602.0.0 fügt den Befehl dump-effective-configuration hinzu, verbessert Regeln wie DontRepeatTypeInStaticProperties und OmitExplicitReturns und behebt mehrere Fehler.
What's Changed
- Add pre-commit hook for linting by @nikalra in https://github.com/swiftlang/swift-format/pull/929
- Add dump-effective-configuration subcommand by @andre-richter in https://github.com/swiftlang/swift-format/pull/923
- Improve the DontRepeatTypeInStaticProperties rule to better align with its original intent by @TTOzzi in https://github.com/swiftlang/swift-format/pull/918
- Improve the formatting logic of OmitExplicitReturns rule by @TTOzzi in https://github.com/swiftlang/swift-format/pull/935
- Fix documentation typos by @alexandersandberg in https://github.com/swiftlang/swift-format/pull/937
- Fix rejected assumeFilename when path argument is '-' by @andre-richter in https://github.com/swiftlang/swift-format/pull/938
- Skip flaky performance test on Windows by @weliveindetail in https://github.com/swiftlang/swift-format/pull/940
- Ignore backticks in documentation abstracts by @natecook1000 in https://github.com/swiftlang/swift-format/pull/936
- Modify PrettyPrinter to output diagnostics using shortened relative paths by @TTOzzi in https://github.com/swiftlang/swift-format/pull/934
- Do not measure perform performance in CI by @ahoppen in https://github.com/swiftlang/swift-format/pull/941
- Make the error message for an invalid version more user-friendly by @TTOzzi in https://github.com/swiftlang/swift-format/pull/942 …