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: Created Jan. 12, 2018, 11:04 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..f501058404fee8f70bf6658963250efff782993a 100644
--- a/.swiftlint.yml
+++ b/.swiftlint.yml
@@ -1,6 +1,26 @@
-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
+ - strict_fileprivate
+ - 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
« 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