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

Unified Diff: .swiftlint.yml

Issue 29626555: Fixes #6109 - Install SwiftLint Script to project (Closed)
Patch Set: Fixes #6109 - Install SwiftLint Script to project Created Dec. 1, 2017, 11:59 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 | AdblockBrowser.xcodeproj/project.pbxproj » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..f501058404fee8f70bf6658963250efff782993a
--- /dev/null
+++ b/.swiftlint.yml
@@ -0,0 +1,26 @@
+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 | AdblockBrowser.xcodeproj/project.pbxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld