Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: .swiftlint.yml

Issue 29664569: Favicon: Issue 6245 - SwiftLinted project files (Closed)
Patch Set: Removed the sorted_imports rule and reversed the import calls to be sorted alphabetically Created Feb. 19, 2018, 10:38 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | FavIcon/DetectedIcon.swift » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .swiftlint.yml
diff --git a/.swiftlint.yml b/.swiftlint.yml
index 17031db8c2297ba7dbf9350e1103f73397fb2283..e92cb72968b9338a24fe997077b1fb36d73b8322 100644
--- a/.swiftlint.yml
+++ b/.swiftlint.yml
@@ -1,6 +1,27 @@
-line_length: 110
-type_body_length:
- - 300
- - 400
-excluded:
+disabled_rules: # rule identifiers to exclude from running
+ - notification_center_detachment
+opt_in_rules: # some rules are only opt-in
+ - attributes
+ - closure_end_indentation
+ - fatal_error_message
+ - joined_default_parameter
+ - let_var_whitespace
+ - multiline_parameters
+ - operator_usage_whitespace
+ - overridden_super_call
+ - prohibited_super_call
+ - redundant_nil_coalescing
+ - single_test_class
+ - sorted_imports
+ - switch_case_on_newline
+ - unneeded_parentheses_in_closure_argument
+ - vertical_parameter_alignment_on_call
+ # Find all the available rules by running:
+ # swiftlint rules
+excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
+ - Resources
+ - Translations
+line_length: 150
+large_tuple:
+ warning: 3
« no previous file with comments | « no previous file | FavIcon/DetectedIcon.swift » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld