inotetw
inotetw
## New rule request type ching using is ### Bad ``` if a as? Dog != nil { doSomeThing() } ``` ### Good ``` if a is Dog { doSomeThing()...
## New rule request extension without any function will be avoid ### Bad ``` extension Dog {} ```
## New rule request array initialize using [] instead () ### Bad ``` var emptyArray = [Int]() ``` ### Good ``` var emptyArray: [Int] = [] ``` 1. using []...
### New Issue Checklist - [x] Updated SwiftLint to the latest version 0.56.1 - [x] I searched for [existing GitHub issues](https://github.com/realm/SwiftLint/issues) - yes The rule "no_empty_block" causes default functions in...
### New Issue Checklist - [ ] Updated SwiftLint to the latest version 0.55.1 ### New rule request Since XCode has a class prefix setting option, I want a rule...
### New Rule Request since identifier_name have a check that variable names may start with a capital letter when they are declared as static, so can you add a check...