Skip to content

Commit

Permalink
Merge pull request #28 from signalapp/jrose/swift-file-header
Browse files Browse the repository at this point in the history
Swift: enforce header comments
  • Loading branch information
jrose-signal authored Nov 4, 2020
2 parents 75eb8df + e94ac16 commit d29cb37
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions swift/.swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ disabled_rules:
- line_length
- trailing_comma
- type_body_length
opt_in_rules:
- attributes
- file_header
file_header:
required_pattern: |
//
// Copyright \d{4}(-\d{4})? Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//

0 comments on commit d29cb37

Please sign in to comment.