-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vladimir Espinola
committed
May 27, 2024
1 parent
53f326f
commit 0cbb53a
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
name: Run Swiftlint | ||
runs-on: macos-14 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set Xcode 15 | ||
run: | | ||
sudo xcode-select -switch /Applications/Xcode_15.3.app | ||
- name: Lint | ||
run: swiftlint |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
disabled_rules: | ||
- file_length | ||
- line_length | ||
- function_body_length | ||
- type_body_length | ||
- trailing_comma | ||
- opening_brace | ||
- todo | ||
identifier_name: | ||
allowed_symbols: "_" | ||
min_length: 1 | ||
nesting: | ||
type_level: | ||
warning: 3 | ||
error: 6 | ||
function_level: | ||
warning: 5 | ||
error: 10 | ||
excluded: | ||
- Example | ||
- ExampleSwift |
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