Danny Mösch
c1b74cd752
Rename test classes ( #4083 )
2022-08-11 07:33:11 +02:00
Danny Mösch
d730e0b3fa
Let all example verification tests be generated by Sourcery ( #4076 )
2022-08-10 22:49:28 +02:00
Paul Taykalo
ac40778cb3
Use SwiftLintFile wrapper over the File
2019-11-07 15:19:17 +02:00
Frederick Pietschmann
3b9917f89d
Add nested type handling specification to file_name rule ( #2718 )
...
* Add nestedTypeSeparator to FileNameConfiguration
* Add tests for nested_type_separator configurability of file_name rule
* Add changelog entry
* Fix changelog position after rebase
2019-04-30 08:12:43 -07:00
Cihat Gündüz
7ac9efab0e
Fix false positive on file_name rule with specific patterns ( #2418 )
...
* Add false positive failing test to file_name rule
* Fix false positive in file_name rule
* Add changelog entry
* Use correct name in changelog
2018-11-27 10:50:25 -08:00
Marcelo Fabri
14f677e6bb
Fix false positive on file_name rule when using nested types
...
Fixes #2325
2018-08-08 09:38:20 -07:00
Cihat Gündüz
03c9e88f3d
Add test cases for when both prefix_pattern and custom_pattern are given
2018-07-24 17:44:59 +02:00
Cihat Gündüz
c02dd17155
Add prefix_pattern and suffix_pattern options to file_name rule
2018-07-24 16:35:38 +02:00
Cihat Gündüz
961df5a615
Add test for new expected behavior
2018-07-23 11:33:11 +02:00
JP Simard
2819c89ec3
Fix force-try violation
2018-05-11 22:28:26 -07:00
JP Simard
24ec44d288
Add file_name opt-in rule
...
validating that file names contain the name of a
type or extension declared in the file (if any).
2018-05-11 22:17:39 -07:00