mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-22 04:30:47 +00:00
Copy SwiftLint config from master
This commit is contained in:
1 parent
50f754c21d
commit
5df208336a
3 files changed
+28
No files matched your search
@@ -0,0 +1,20 @@
|
||||
excluded:
|
||||
- Vendor
|
||||
disabled_rules:
|
||||
- opening_brace
|
||||
- empty_parentheses_with_trailing_closure
|
||||
- function_body_length
|
||||
- line_length
|
||||
- cyclomatic_complexity
|
||||
- large_tuple
|
||||
|
||||
# Rule-specific config
|
||||
trailing_comma:
|
||||
mandatory_comma: true
|
||||
force_try:
|
||||
severity: warning
|
||||
force_cast:
|
||||
severity: warning
|
||||
identifier_name:
|
||||
min_length:
|
||||
warning: 2
|
||||
@@ -0,0 +1,4 @@
|
||||
# Inherits from top level config
|
||||
disabled_rules:
|
||||
- force_try
|
||||
- force_cast
|
||||
@@ -0,0 +1,4 @@
|
||||
# Inherits from top level config
|
||||
disabled_rules:
|
||||
- force_try
|
||||
- force_cast
|
||||
Reference in new issue
Block a user