SwiftLint/Source/SwiftLintFramework/Rules/Idiomatic
Artem Garmash 4266ea9d60
Add Bool violation reporting in `redundant_type_annotation` (#3438)
* Add Bool violation detection

* Update Changelog

* Fix issues found by the rule
2021-02-24 14:29:08 -08:00
..
BlockBasedKVORule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ConvenienceTypeRule.swift Fix convenience type false positives (#3062) 2020-11-07 20:12:09 -05:00
DiscouragedAssertRule.swift Add opt-in rule discouraged_assert (#3506) 2021-01-29 09:30:57 -08:00
DiscouragedObjectLiteralRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
DiscouragedOptionalBooleanRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
DiscouragedOptionalBooleanRuleExamples.swift Add Inline test failure messages (#3040) 2020-02-02 10:35:37 +02:00
DiscouragedOptionalCollectionExamples.swift Add Inline test failure messages (#3040) 2020-02-02 10:35:37 +02:00
DiscouragedOptionalCollectionRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
DuplicateImportsRule.swift Fix DuplicateImportsRule's support for import attributes (#3402) 2020-11-05 10:45:01 -08:00
DuplicateImportsRuleExamples.swift Fix DuplicateImportsRule's support for import attributes (#3402) 2020-11-05 10:45:01 -08:00
ExplicitACLRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
ExplicitEnumRawValueRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ExplicitInitRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ExplicitTopLevelACLRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
ExplicitTypeInterfaceRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ExtensionAccessModifierRule.swift Ignore local vars and params 2020-08-05 21:46:33 -07:00
FallthroughRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
FatalErrorMessageRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
FileNameNoSpaceRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
FileNameRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
ForWhereRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
ForceCastRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ForceTryRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ForceUnwrappingRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
FunctionDefaultParameterAtEndRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
GenericTypeNameRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ImplicitlyUnwrappedOptionalRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
IsDisjointRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
JoinedDefaultParameterRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
LegacyCGGeometryFunctionsRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
LegacyConstantRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
LegacyConstantRuleExamples.swift Add Inline test failure messages (#3040) 2020-02-02 10:35:37 +02:00
LegacyConstructorRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
LegacyHashingRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
LegacyMultipleRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
LegacyNSGeometryFunctionsRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
LegacyObjcTypeRule.swift Adding Legacy ObjC Type Rule #2758 (#3531) 2021-02-23 12:08:01 -08:00
LegacyRandomRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
NimbleOperatorRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
NoExtensionAccessModifierRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
NoFallthroughOnlyRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
NoFallthroughOnlyRuleExamples.swift Add Inline test failure messages (#3040) 2020-02-02 10:35:37 +02:00
NoGroupingExtensionRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
ObjectLiteralRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
PatternMatchingKeywordsRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
PreferNimbleRule.swift Add prefer_nimble opt-in rule 2020-11-08 00:09:51 -08:00
PreferZeroOverExplicitInitRule.swift Fix incomplete example (#3396) 2020-10-28 12:45:00 -07:00
PrivateOverFilePrivateRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
RedundantNilCoalescingRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
RedundantObjcAttributeRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
RedundantObjcAttributeRuleExamples.swift Add Inline test failure messages (#3040) 2020-02-02 10:35:37 +02:00
RedundantOptionalInitializationRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
RedundantSetAccessControlRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
RedundantStringEnumValueRule.swift Add Isnot Empty extension in the Swift Framework (#3387) 2020-11-07 18:42:55 -05:00
RedundantTypeAnnotationRule.swift Add Bool violation reporting in `redundant_type_annotation` (#3438) 2021-02-24 14:29:08 -08:00
RedundantVoidReturnRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
StaticOperatorRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
StrictFilePrivateRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
SyntacticSugarRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
ToggleBoolRule.swift Fix false positive in `toggle_bool` rule 2020-11-08 04:57:59 -08:00
TrailingSemicolonRule.swift Skip correcting files with parser diagnostics (#3349) 2020-09-17 18:14:00 -04:00
TypeNameRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
TypeNameRuleExamples.swift Add Inline test failure messages (#3040) 2020-02-02 10:35:37 +02:00
UnavailableFunctionRule.swift Add check for return type Never 2020-11-09 12:18:42 +03:00
UnneededBreakInSwitchRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
UntypedErrorInCatchRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
UnusedEnumeratedRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
XCTFailMessageRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
XCTSpecificMatcherRule.swift Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
XCTSpecificMatcherRuleExamples.swift Add Inline test failure messages (#3040) 2020-02-02 10:35:37 +02:00