File tree Expand file tree Collapse file tree 2 files changed +7
-25
lines changed Expand file tree Collapse file tree 2 files changed +7
-25
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,10 @@ opt_in_rules:
57
57
58
58
excluded :
59
59
- .build
60
- - build
61
- - Carthage
62
- - Other
63
60
- Tools
64
61
- Templates
62
+ - Package.swift
63
+ - MobiusTest/Source/SimpleDiff.swift
65
64
66
65
attributes :
67
66
always_on_same_line :
@@ -73,15 +72,9 @@ empty_count:
73
72
severity : warning
74
73
fatal_error_message : warning
75
74
file_header :
76
- severity : warning
77
- forbidden_pattern : |
78
- \/\/
79
- \/\/ .*?\..*
80
- \/\/ .*
81
- \/\/
82
- \/\/ Created by .*? on .*\.
83
- \/\/ Copyright © \d{4} .*\. All rights reserved\.
84
- \/\/
75
+ required_pattern : |
76
+ \/\/ Copyright Spotify AB.
77
+ \/\/ SPDX-License-Identifier: Apache-2.0
85
78
force_cast : warning
86
79
force_try : warning
87
80
implicit_getter : warning
Original file line number Diff line number Diff line change 1
- // Copyright 2019-2024 Spotify AB.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
1
+ // Copyright Spotify AB.
2
+ // SPDX-License-Identifier: Apache-2.0
14
3
15
4
import Foundation
16
5
@testable import MobiusCore
You can’t perform that action at this time.
0 commit comments