0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 11:32:22 +02:00

github/workflows: add swift linting

This commit is contained in:
der richter 2024-04-27 22:02:23 +02:00
parent 1128989885
commit cb75ecf19f
2 changed files with 17 additions and 0 deletions

View File

@ -20,3 +20,10 @@ jobs:
- name: Lint
run: |
./ci/lint-commit-msg.py
swift-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: norio-nomura/action-swiftlint@3.2.1

10
.swiftlint.yml Normal file
View File

@ -0,0 +1,10 @@
disabled_rules:
- identifier_name
- line_length
- large_tuple
- void_function_in_ternary
- function_body_length
- cyclomatic_complexity
- file_length
- type_body_length
strict: true