-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
As a Pillarbox developer I want the file_header
rule pattern to exactly match the expected header format. Refactoring made in SwiftLint 0.60 broke our existing rule.
Acceptance criteria
The rule in our .swiftlint.yml
file has been restored to:
file_header:
required_pattern: |
\/\/
\/\/ Copyright \(c\) SRG SSR. All rights reserved.
\/\/
\/\/ License information is available from the LICENSE file.
\/\/
and validates:
//
// Copyright (c) SRG SSR. All rights reserved.
//
// License information is available from the LICENSE file.
//
With SwiftLint 0.60.0 the last line of the pattern has to be dropped, otherwise validation fails.
Tasks
- Open a SwiftLint issue or PR.
- Update Pillarbox SwiftLint configuration file.
- Update Castor SwiftLint configuration file.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
📋 Backlog