mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
Move files to apple subdir
This commit is contained in:
parent
9ddb61576d
commit
17758c2a40
6 changed files with 19 additions and 45 deletions
|
|
@ -1,8 +1,9 @@
|
|||
# SwiftLint configuration for Swift 6 compatibility
|
||||
# Focuses on modern Swift best practices without conflicting self rules
|
||||
# Shared configuration for both macOS and iOS apps
|
||||
|
||||
included:
|
||||
- VibeTunnel
|
||||
- ../mac/VibeTunnel
|
||||
- ../ios/VibeTunnel
|
||||
|
||||
excluded:
|
||||
- Carthage
|
||||
|
|
@ -10,8 +11,13 @@ excluded:
|
|||
- DerivedData
|
||||
- .build
|
||||
- .swiftpm
|
||||
- VibeTunnelTests
|
||||
- VibeTunnelUITests
|
||||
- ../mac/VibeTunnelTests
|
||||
- ../mac/VibeTunnelUITests
|
||||
- ../ios/VibeTunnelTests
|
||||
- ../mac/build
|
||||
- ../ios/build
|
||||
- Package.swift
|
||||
- *.xcodeproj
|
||||
|
||||
# Rule configuration
|
||||
opt_in_rules:
|
||||
|
|
@ -38,6 +44,7 @@ opt_in_rules:
|
|||
- force_unwrapping
|
||||
- identical_operands
|
||||
- implicit_return
|
||||
- implicitly_unwrapped_optional
|
||||
- joined_default_parameter
|
||||
- last_where
|
||||
- legacy_multiple
|
||||
|
|
@ -56,6 +63,8 @@ opt_in_rules:
|
|||
- private_action
|
||||
- private_outlet
|
||||
- prohibited_super_call
|
||||
- reduce_boolean
|
||||
- reduce_into
|
||||
- redundant_nil_coalescing
|
||||
- redundant_type_annotation
|
||||
- sorted_first_last
|
||||
|
|
@ -120,8 +129,8 @@ custom_rules:
|
|||
message: "Use proper logging instead of print statements"
|
||||
severity: warning
|
||||
excluded:
|
||||
- "VibeTunnelTests/*"
|
||||
- "VibeTunnelUITests/*"
|
||||
- "*/Tests/*"
|
||||
- "*/UITests/*"
|
||||
|
||||
analyzer_rules:
|
||||
- unused_import
|
||||
1
ios/.swiftformat
Symbolic link
1
ios/.swiftformat
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../apple/.swiftformat
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
# SwiftLint configuration for VibeTunnel iOS
|
||||
|
||||
# Adjust file length thresholds
|
||||
file_length:
|
||||
warning: 800
|
||||
error: 1000
|
||||
ignore_comment_only_lines: true
|
||||
|
||||
# Adjust type body length thresholds
|
||||
type_body_length:
|
||||
warning: 500
|
||||
error: 800
|
||||
|
||||
# Keep other rules at their defaults
|
||||
line_length:
|
||||
warning: 120
|
||||
error: 200
|
||||
ignores_urls: true
|
||||
ignores_function_declarations: true
|
||||
ignores_comments: true
|
||||
|
||||
# Opt-in rules
|
||||
opt_in_rules:
|
||||
- empty_count
|
||||
- empty_string
|
||||
- first_where
|
||||
- force_unwrapping
|
||||
- implicitly_unwrapped_optional
|
||||
- last_where
|
||||
- reduce_boolean
|
||||
- reduce_into
|
||||
- yoda_condition
|
||||
|
||||
# Excluded paths
|
||||
excluded:
|
||||
- .build
|
||||
- Package.swift
|
||||
- VibeTunnel.xcodeproj
|
||||
- VibeTunnelTests
|
||||
1
ios/.swiftlint.yml
Symbolic link
1
ios/.swiftlint.yml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../apple/.swiftlint.yml
|
||||
1
mac/.swiftformat
Symbolic link
1
mac/.swiftformat
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../apple/.swiftformat
|
||||
1
mac/.swiftlint.yml
Symbolic link
1
mac/.swiftlint.yml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../apple/.swiftlint.yml
|
||||
Loading…
Reference in a new issue