Commit Graph

26 Commits

Author SHA1 Message Date
Yusuke Ohashi 2e55028053 update as per comments 2018-08-16 15:03:21 +09:00
Yusuke Ohashi a941b2f242 added SonarQube reporter. 2018-08-16 15:02:47 +09: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
Anders Hasselqvist 58202772d3 Support placeholder for forbidden_pattern
- Move regex creation for *_pattern to FileHeaderConfiguration
- Switch to using test fixures for the tests
2018-06-13 19:55:27 +09: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
Jamie Edge 0920b4bbef Add test for directories with a '.swift' suffix being treated as files. 2018-02-11 18:01:09 -08:00
Andrew Tetlaw 0a590e8ebe Removed that trailing return 2017-10-01 11:44:37 +08:00
Andrew Tetlaw 4a37839401 Output CSV in rows
- changed CSV reporter to out put the header row and each violation row with returns, in the way that can be imported into a spreadsheet for example.
- updated the test output CSV file for the unit test
2017-10-01 11:34:49 +08:00
Marcelo Fabri 68c1f3c1ab Fix configuration issue when using custom paths
Fixes #1631
2017-06-24 22:54:10 +02:00
Marcelo Fabri dbdc9f7788 Add a test for loading custom configuration 2017-06-13 21:41:48 +02:00
JP Simard 8c9cba0c0f fallback to line 1 when no line is provided & reporting with xcode
this is a generalization of the fix from #1521
2017-05-17 14:56:46 -07:00
Norio Nomura 45049e8cdf Apply workaround for https://bugs.swift.org/browse/SR-530 2017-04-14 20:03:12 +09:00
Norio Nomura e0dfdb1d47 Update expected output of testEmojiReporter() 2017-04-14 19:54:00 +09:00
Norio Nomura ccf85e87c3 Make emoji and checkstyle reporter to output report sorted by file name
Fixes #1429
2017-04-12 22:36:27 +09:00
Yuki Oya e41b03f3b8 Change checkstyle result 2017-03-20 19:08:31 +09:00
JP Simard 75786ec941 fix typos in ProjectMock configuration files 2017-01-10 13:58:08 -08:00
Marcelo Fabri 01e73e2820 Updating tests 2016-12-22 00:09:28 -02:00
Jamie Edge 22588e7f6a Fix HTML reporter unit test failure. 2016-12-21 15:03:18 +00:00
Aaron McTavish d007325ba1 Fix invalid CSS in HTML reporter
Addresses #981 `HTML Reporter - Invalid CSS Styling`.
2016-12-15 07:06:08 +00:00
JP Simard eab2949301 remove deprecated use_nested_configs config option 2016-12-13 12:33:05 -08:00
Fabian Ehrentraud c88a5d0371 moved expected html reporter result for tests to external file too 2016-12-13 12:33:05 -08:00
Fabian Ehrentraud f8e74137fb moved all expected reporter results for tests to external files - except html reporter output, as that includes parametrized stuff 2016-12-13 12:33:05 -08:00
Norio Nomura 121d19b941 Support Swift Package Manager on macOS 2016-11-08 20:35:30 +09:00