-
Couldn't load subscription status.
- Fork 0
Rule Directory
Ian Applebaum edited this page Jun 13, 2020
·
1 revision
- AnyObject Protocol
- Array Init
- Attributes
- Block Based KVO
- Class Delegate Protocol
- Closing Brace Spacing
- Closure Body Length
- Closure End Indentation
- Closure Parameter Position
- Closure Spacing
- Collection Element Alignment
- Colon
- Comma Spacing
- Compiler Protocol Init
- Conditional Returns on Newline
- Contains Over Filter Count
- Contains Over Filter Is Empty
- Contains over first not nil
- Contains over range(of:) comparison to nil
- Control Statement
- Convenience Type
- Custom Rules
- Cyclomatic Complexity
- Deployment Target
- Discarded Notification Center Observer
- Discouraged Direct Initialization
- Discouraged Object Literal
- Discouraged Optional Boolean
- Discouraged Optional Collection
- Duplicate Enum Cases
- Duplicate Imports
- Dynamic Inline
- Empty Collection Literal
- Empty Count
- Empty Enum Arguments
- Empty Parameters
- Empty Parentheses with Trailing Closure
- Empty String
- Empty XCTest Method
- Enum Case Associated Values Count
- ExpiringTodo
- Explicit ACL
- Explicit Enum Raw Value
- Explicit Init
- Explicit Self
- Explicit Top Level ACL
- Explicit Type Interface
- Extension Access Modifier
- Fallthrough
- Fatal Error Message
- File Header
- File Line Length
- File Name
- File Name No Space
- File Types Order
- First Where
- FlatMap over map and reduce
- For Where
- Force Cast
- Force Try
- Force Unwrapping
- Function Body Length
- Function Default Parameter at End
- Function Parameter Count
- Generic Type Name
- Identical Operands
- Identifier Name
- Implicit Getter
- Implicit Return
- Implicitly Unwrapped Optional
- Indentation Width
- Inert Defer
- Is Disjoint
- Joined Default Parameter
- Large Tuple
- Last Where
- Leading Whitespace
- Legacy CGGeometry Functions
- Legacy Constant
- Legacy Constructor
- Legacy Hashing
- Legacy Multiple
- Legacy NSGeometry Functions
- Legacy Random
- Variable Declaration Whitespace
- Line Length
- Literal Expression End Indentation
- Lower ACL than parent
- Mark
- Missing Docs
- Modifier Order
- Multiline Arguments
- Multiline Arguments Brackets
- Multiline Function Chains
- Multiline Literal Brackets
- Multiline Parameters
- Multiline Parameters Brackets
- Multiple Closures with Trailing Closure
- Nesting
- Nimble Operator
- No Extension Access Modifier
- No Fallthrough Only
- No Grouping Extension
- No Space in Method Call
- Notification Center Detachment
- NSLocalizedString Key
- NSLocalizedString Require Bundle
- NSObject Prefer isEqual
- Number Separator
- Object Literal
- Opening Brace Spacing
- Operator Usage Whitespace
- Operator Function Whitespace
- Optional Enum Case Match
- Orphaned Doc Comment
- Overridden methods call super
- Override in Extension
- Pattern Matching Keywords
- Prefer Self Type Over Type of Self
- Prefixed Top-Level Constant
- Private Actions
- Private Outlets
- Private over fileprivate
- Private Unit Test
- Prohibited Interface Builder
- Prohibited calls to super
- Protocol Property Accessors Order
- Quick Discouraged Call
- Quick Discouraged Focused Test
- Quick Discouraged Pending Test
- Raw Value For Camel Cased Codable Enum
- Reduce Boolean
- Reduce Into
- Redundant Discardable Let
- Redundant Nil Coalescing
- Redundant @objc Attribute
- Redundant Optional Initialization
- Redundant Set Access Control Rule
- Redundant String Enum Value
- Redundant Type Annotation
- Redundant Void Return
- Required Deinit
- Required Enum Case
- Returning Whitespace
- Shorthand Operator
- Single Test Class
- Min or Max over Sorted First or Last
- Sorted Imports
- Statement Position
- Static Operator
- Strict fileprivate
- Strong IBOutlet
- Superfluous Disable Command
- Switch and Case Statement Alignment
- Switch Case on Newline
- Syntactic Sugar
- Todo
- Toggle Bool
- Trailing Closure
- Trailing Comma
- Trailing Newline
- Trailing Semicolon
- Trailing Whitespace
- Type Body Length
- Type Contents Order
- Type Name
- Unavailable Function
- Unneeded Break in Switch
- Unneeded Parentheses in Closure Argument
- Unowned Variable Capture
- Untyped Error in Catch
- Unused Capture List
- Unused Closure Parameter
- Unused Control Flow Label
- Unused Declaration
- Unused Enumerated
- Unused Import
- Unused Optional Binding
- Unused Setter Value
- Valid IBInspectable
- Vertical Parameter Alignment
- Vertical Parameter Alignment On Call
- Vertical Whitespace
- Vertical Whitespace Between Cases
- Vertical Whitespace before Closing Braces
- Vertical Whitespace after Opening Braces
- Void Return
- Weak Delegate
- XCTest Specific Matcher
- XCTFail Message
- Yoda condition rule