Commit Graph

6 Commits

Author SHA1 Message Date
JP Simard c1aeef7c27
WIP: SwiftParser
Disable failing tests
2022-09-06 11:33:21 -04:00
JP Simard 0ded5859a1
Rewrite ColonRule with SwiftSyntax (#4063)
Making it about 7x faster, finding some previously missed cases.
2022-08-04 17:23:52 -04:00
Paul Taykalo a87aee1771
Colon rule should ignore cases when comment is in function argument (#3740) 2021-10-14 16:05:11 +03:00
Zev Eisenberg fcf848608e
Add Inline test failure messages (#3040)
* Add Example wrapper in order to display test failures inline when running in Xcode.
* Stop using Swift 5.1-only features so we can compile on Xcode 10.2.
* Wrap strings in Example.
* Add Changelog entry.
* Wrap all examples in Example struct.
* Better and more complete capturing of line numbers.
* Fix broken test.
* Better test traceability.
* Address or disable linting warnings.
* Add documentation comments.
* Disable linter for a few cases.
* Limit mutability and add copy-and-mutate utility functions.
* Limit scope of mutability.
2020-02-02 10:35:37 +02:00
a-25 40457a7044 Fixed false positive in `colon` (#2836) 2019-08-14 08:42:34 -07:00
Marcelo Fabri 6b3b89cff4 Colon rule now catches violations on generic type declarations
Fixes #2628
2019-03-03 20:06:13 -08:00