Files
SwiftLint/Source/SwiftLintFramework
dirtydanee 6493c6f8b5 Make redundant_objc_attribute rule autocorrectable. (#2593)
* Moved the violation point from the variables offset to the `@objc` attribute startIndex. I think it kinda makes sense, since the violations warns against the redundant attribute, there is nothing to fix on the variable itself.
* Searching for ranges of violations initially, and converting later only to `StyleViolation`-s
* Making the rule conforming to `CorrectableRule`. Kinda straightforward, the only extra is that I am counting the attribute's trailing whitespace and newline characters and removing with the attribute. I am doing so since I would like to keep the format of the code.
2019-01-28 10:16:11 -08:00
..
2019-01-27 14:04:24 -08:00
2018-11-27 12:31:12 -08:00
2019-01-23 11:08:50 -08:00