Skip to content

Commit

Permalink
Merge pull request #148 from gaelfoppolo/update-swiftlint
Browse files Browse the repository at this point in the history
SwiftLint 0.26.0 support
  • Loading branch information
zippy1978 authored Aug 23, 2018
2 parents cfeb256 + c823caa commit 94173f9
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,58 @@
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>file_name</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>function_default_parameter_at_end</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>redundant_set_access_control</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>untyped_error_in_catch</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
</chc>
<chc>
<key>UNDERSTANDABILITY</key>
Expand Down Expand Up @@ -1336,6 +1388,97 @@
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>convenience_type</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>discouraged_optional_collection</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>empty_string</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>empty_xctest_method</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>modifier_order</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>multiline_function_chains</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>no_fallthrough_only</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
</chc>
</chc>
<chc>
Expand All @@ -1344,6 +1487,19 @@
<chc>
<key>API_ABUSE</key>
<name>API abuse</name>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>unavailable_function</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
</chc>
<chc>
<key>ERRORS</key>
Expand Down Expand Up @@ -1421,6 +1577,19 @@
<txt>min</txt>
</prop>
</chc>
<chc>
<rule-repo>SwiftLint</rule-repo>
<rule-key>lower_acl_than_parent</rule-key>
<prop>
<key>remediationFunction</key>
<txt>CONSTANT_ISSUE</txt>
</prop>
<prop>
<key>offset</key>
<val>5</val>
<txt>min</txt>
</prop>
</chc>
</chc>
</chc>
<chc>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>control_statement</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>convenience_type</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>custom_rules</key>
Expand All @@ -83,6 +87,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>discouraged_optional_boolean</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>discouraged_optional_collection</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>dynamic_inline</key>
Expand All @@ -103,6 +111,14 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>empty_parentheses_with_trailing_closure</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>empty_string</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>empty_xctest_method</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>explicit_acl</key>
Expand Down Expand Up @@ -143,6 +159,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>file_length</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>file_name</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>first_where</key>
Expand All @@ -167,6 +187,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>function_body_length</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>function_default_parameter_at_end</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>function_parameter_count</key>
Expand Down Expand Up @@ -235,14 +259,26 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>literal_expression_end_indentation</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>lower_acl_than_parent</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>mark</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>modifier_order</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>multiline_arguments</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>multiline_function_chains</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>multiline_parameters</key>
Expand All @@ -263,6 +299,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>no_extension_access_modifier</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>no_fallthrough_only</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>no_grouping_extension</key>
Expand Down Expand Up @@ -355,6 +395,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>redundant_optional_initialization</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>redundant_set_access_control</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>redundant_string_enum_value</key>
Expand Down Expand Up @@ -443,6 +487,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>type_name</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>unavailable_function</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>unneeded_break_in_switch</key>
Expand All @@ -451,6 +499,10 @@
<repositoryKey>SwiftLint</repositoryKey>
<key>unneeded_parentheses_in_closure_argument</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>untyped_error_in_catch</key>
</rule>
<rule>
<repositoryKey>SwiftLint</repositoryKey>
<key>unused_closure_parameter</key>
Expand Down
Loading

0 comments on commit 94173f9

Please sign in to comment.