Commit Graph

1047 Commits

Author SHA1 Message Date
Marcelo Fabri 7937438947 Date format 2016-12-22 22:05:46 -02:00
Marcelo Fabri d480c865bd Fix violation 2016-12-22 21:21:23 -02:00
Marcelo Fabri 64a624ccf6 Add vertical_parameter_alignment rule
Fixes #1033
2016-12-22 21:21:23 -02:00
JP Simard e4fa18df06 release 0.15.0 2016-12-22 14:40:12 -08:00
JP Simard c82cc6d9f6 fix JSON reporter on Linux and re-enable its unit test
the printed JSON string is slightly different on Linux than it is on
Darwin, but produces equivalent JSON
2016-12-22 10:39:26 -08:00
JP Simard 07bae496f1 Merge pull request #1030 from marcelofabri/bugfix_1028
Fix false positive in `operator_usage_whitespace`
2016-12-22 09:34:56 -08:00
Marcelo Fabri 37771fd156 Fix false positive in operator_usage_whitespace
Fixes #1028
2016-12-22 12:23:33 -02:00
Marcelo Fabri 3d660123b9 PR feedback 2016-12-22 12:11:04 -02:00
Marcelo Fabri d7e583f0a5 Make first_where rule opt-in 2016-12-22 11:57:06 -02:00
Marcelo Fabri b18c98084c Fix existing violations 2016-12-22 11:57:06 -02:00
Marcelo Fabri 56f6fcdd5d Add first_where rule
Fixes #1005
2016-12-22 11:57:06 -02:00
Marcelo Fabri cc8150dd77 Fix crash in closure_parameter_position rule.
Fixes #1026
2016-12-22 01:14:11 -02:00
Marcelo Fabri 09d031dc3e PR feedback 2016-12-22 00:14:34 -02:00
Marcelo Fabri f7cb7bae2c PR feedback 2016-12-22 00:09:27 -02:00
Marcelo Fabri fdff7b1dac Closure end indentation 2016-12-22 00:09:27 -02:00
Marcelo Fabri b4ae1eccbe Make dictionary colon correctable 2016-12-22 00:09:27 -02:00
Marcelo Fabri 666373dce6 Add more tests 2016-12-22 00:09:27 -02:00
Marcelo Fabri 68ee2008af Fixing existing violations 2016-12-22 00:09:27 -02:00
Marcelo Fabri 1d06302643 Add dictionary colon validation to colon rule
Fixes #603
2016-12-22 00:09:27 -02:00
Marcelo Fabri 367bbb84ff Merge pull request #1010 from marcelofabri/120-is-better-than-100
Changing the default line length limit to 120
2016-12-22 00:00:27 -02:00
JP Simard 8858b3c484 sort imports in Location.swift 2016-12-21 13:26:55 -08:00
Marcelo Fabri ca958a5b67 Merge pull request #1023 from marcelofabri/bugfix_1020
Fix false positive in `switch_case_on_newline` when switching over a selector
2016-12-21 18:31:32 -02:00
Jamie Edge 8c89acdf82 Merge branch 'master' into relative-path-html-report
# Conflicts:
#	CHANGELOG.md
2016-12-21 20:29:41 +00:00
Marcelo Fabri 7c11db6cb7 Fix false positive in switch_case_on_newline when switching over a selector
Fixes #1020
2016-12-21 17:26:41 -02:00
Marcelo Fabri b57691507b Fix false positive in empty_parentheses_with_trailing_closure rule
Fixes #1021
2016-12-21 17:24:58 -02:00
JP Simard 3c5ee9f0ee Merge pull request #1018 from JamieEdge/valid-html-report
Fix validity and styling of the HTML reporter
2016-12-21 11:23:01 -08:00
JP Simard 63f2606190 Merge pull request #1016 from marcelofabri/faster-implicit-getter
`implicit_getter` rule performance improvements
2016-12-21 10:52:31 -08:00
JP Simard 910ae0e415 Merge pull request #1017 from marcelofabri/faster-marker
Make `mark` rule slightly faster
2016-12-21 10:51:14 -08:00
Jamie Edge 22588e7f6a Fix HTML reporter unit test failure. 2016-12-21 15:03:18 +00:00
Jamie Edge b168f1e87a Merge branch 'master' into relative-path-html-report
# Conflicts:
#	CHANGELOG.md
2016-12-21 14:11:54 +00:00
Marcelo Fabri 2907062e7c implicit_getter rule performance improvements 2016-12-21 11:37:31 -02:00
Jamie Edge daba9abbc9 Add Arial font to improve the appearance of the HTML report. 2016-12-21 13:28:07 +00:00
Jamie Edge 970f29e058 Update the HTML report colour scheme to differentiate warnings and errors. 2016-12-21 12:51:23 +00:00
Marcelo Fabri 2b5e52c229 Make mark rule slightly faster 2016-12-21 10:37:33 -02:00
Jamie Edge 92d761374e Fix HTML output so that it is valid HTML 5. 2016-12-21 12:37:31 +00:00
Jamie Edge 9c8939a9db Resolve build issue by including missing import. Resolve line length violation. 2016-12-21 12:02:59 +00:00
Jamie Edge b9afeba7fd Switch to a relative path within the HTML report output. 2016-12-21 11:56:33 +00:00
Mauricio Hanika b40d99ee3b Fix function_parameter_count rule for generic initializers 2016-12-21 10:31:21 +01:00
Marcelo Fabri 5cccc12eb7 Style changes because of the 120 length limit 2016-12-20 12:10:11 -02:00
Marcelo Fabri 1ff53bd04a Changing the default line length limit to 120
Fixes #1008
2016-12-20 12:07:25 -02:00
Marcelo Fabri 841867aa24 Make operator_usage_whitespace correctable 2016-12-20 01:29:35 -02:00
Marcelo Fabri ed5fdd8b62 Using bridge() 2016-12-19 22:39:11 -02:00
Marcelo Fabri 23a0b03fe8 Fixing violations 2016-12-19 21:20:58 -02:00
Marcelo Fabri 4622af1792 Handling false triggers in closure_end_indentation 2016-12-19 21:20:36 -02:00
Marcelo Fabri 3f6ca7611a Fix violations 2016-12-19 20:08:17 -02:00
Marcelo Fabri 8102c59a53 Initial implementation of closure_end_indentation 2016-12-19 20:08:17 -02:00
JP Simard 7e7576e9f3 release 0.14.0 2016-12-18 18:07:35 -08:00
Marcelo Fabri 12915d02d9 Merge pull request #997 from marcelofabri/multi-byte-tests
Add offset tests with multi-byte strings
2016-12-18 02:06:39 -02:00
Marcelo Fabri 619f5d45b2 Merge pull request #998 from marcelofabri/unused-enumerated
Add unused_enumerated rule
2016-12-18 01:08:46 -02:00
Marcelo Fabri b565b0624e Fix a crash in statement_positing with multi-byte emoji 2016-12-18 01:07:51 -02:00