Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 751f90c

Browse files
authored
1 parent 2982a23 commit 751f90c

File tree

105 files changed

+443
-329
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+443
-329
lines changed

.github/workflows/pr.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v3
2626
- name: SwiftLint
27-
uses: docker://norionomura/swiftlint:0.53.0
27+
uses: docker://norionomura/swiftlint:0.54.0
2828
with:
2929
args: swiftlint --reporter github-actions-logging --strict
3030

@@ -133,6 +133,7 @@ jobs:
133133
-scheme "${{ matrix.scheme }}" \
134134
-derivedDataPath "DerivedData" \
135135
-configuration "CI" \
136+
-skipPackagePluginValidation \
136137
ENABLE_TESTABILITY=true \
137138
ONLY_ACTIVE_ARCH=${{ matrix.active-arch }} \
138139
"-skip-testing:${{ matrix.integration-tests-target }}" \
@@ -146,6 +147,7 @@ jobs:
146147
-scheme "${{ matrix.scheme }}" \
147148
-derivedDataPath "DerivedData" \
148149
-configuration "CI" \
150+
-skipPackagePluginValidation \
149151
ENABLE_TESTABILITY=true \
150152
ONLY_ACTIVE_ARCH=${{ matrix.active-arch }} \
151153
"-only-testing:${{ matrix.integration-tests-target }}" \
@@ -320,6 +322,7 @@ jobs:
320322
-scheme "${{ matrix.scheme }}" \
321323
-derivedDataPath "DerivedData" \
322324
-configuration "Release" \
325+
-skipPackagePluginValidation \
323326
| tee release-xcodebuild.log \
324327
| xcbeautify
325328

.swiftlint.tests.yml

-53
This file was deleted.

.swiftlint.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
allow_zero_lintable_files: true
2+
13
disabled_rules:
24
- no_space_in_method_call
35
- multiple_closures_with_trailing_closure
@@ -9,9 +11,12 @@ disabled_rules:
911
- implicit_getter
1012
- function_parameter_count
1113
- trailing_comma
14+
- nesting
15+
- opening_brace
1216

1317
opt_in_rules:
1418
- file_header
19+
- explicit_init
1520

1621
custom_rules:
1722
explicit_non_final_class:
@@ -41,15 +46,13 @@ file_length:
4146
type_body_length:
4247
warning: 500
4348
error: 500
44-
nesting:
45-
type_level: 2
4649
large_tuple:
4750
warning: 4
4851
error: 5
4952
file_header:
5053
required_pattern: |
5154
\/\/
52-
\/\/ .*?\.swift
55+
\/\/ SWIFTLINT_CURRENT_FILENAME
5356
\/\/
5457
\/\/ Copyright © \d{4} DuckDuckGo\. All rights reserved\.
5558
\/\/
@@ -69,11 +72,8 @@ file_header:
6972
# General Config
7073
excluded:
7174
- DuckDuckGo/Common/Localizables/UserText.swift
72-
- UnitTests
73-
- IntegrationTests
7475
- LocalPackages/*/Package.swift
7576
- release
76-
- UITests
7777
- vendor
7878
- DerivedData
7979
- .ruby-lsp

0 commit comments

Comments
 (0)