Alfons Hoogervorst

Results 4 issues of Alfons Hoogervorst

A few changes to make Cassette a bit more Swift-friendly.

This introduces a new rule that detects nested switches that reference the same variable. This prevents needless indentation. The canonical example is: ``` switch a { case .one: switch b...

Adds an idiomatic rule that suggests using `reduce(into:)` when a `for ... in` loop is encountered that references a collection variable (of type `Array`, `Set` or `Dictionary`). This is mostly...