Slide 26
Slide 26 text
let name = ifStmt
.conditions[0]
.condition
.pattern
.identifier
.text
if name == "this" {
print("Oops!")
}
For example, this is a Lint to
check whether variable names
follow your guideline
Now, we can implement our Lint easily
26