Skip to content

Commit

Permalink
Remove unnecessary swiftlint output filtering from script/lint.
Browse files Browse the repository at this point in the history
Partial mas-cli#638

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Nov 24, 2024
1 parent 381beec commit e69cc30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script/lint
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ for source in Package.swift Sources Tests; do
(grep -vxE '(?:\^D\x08{2})?Running SwiftFormat\.{3}\r|\(lint mode - no files will be changed\.\)\r|Reading (?:config|swift-version) file at .*|\x1b\[32mSwiftFormat completed in \d+\.\d+s\.\x1b\[0m\r|0/\d+ files require formatting\.\r' || true)
((exit_code |= "${?}"))
printf -- $'--> 🦅 %s swiftlint\n' "${source}"
swiftlint --strict --quiet "${source}" 2> \
>((grep -vxF $'warning: Configuration option \'allow_multiline_func\' in \'opening_brace\' rule is deprecated. Use the option \'ignore_multiline_function_signatures\' instead.' || true) >&2)
swiftlint --strict --quiet "${source}"
((exit_code |= "${?}"))
done

Expand Down

0 comments on commit e69cc30

Please sign in to comment.