Last active
August 15, 2021 01:59
-
-
Save drewolbrich/dac0b0c6da8b445600aadc6eaca9e942 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you're using SwiftLint, add this to your swiftlint.yml to make Xcode | |
# generate warnings when you create new Swift files and Xcode inserts the | |
# filename where the package name should be. | |
custom_rules: | |
# This calls out an Xcode 13 bug where the header comments of newly created | |
# files include the file name where the package name should be. | |
xcode_13_header_comment_bug: | |
regex: ' *\/\/ *([A-Za-z0-9_]*?).swift *\n *\/\/ *\1 *\n' | |
message: "Incorrect header comment package name" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment