Marcelo Fabri
|
df8429d2eb
|
Add support for rule aliases
|
2017-01-02 16:21:10 -02:00 |
|
Marcelo Fabri
|
7056434992
|
Add object_literal rule
Fixes #1060
|
2016-12-30 17:57:30 -02:00 |
|
Marcelo Fabri
|
1a91a3abe3
|
type_name rule validates enum values with Swift 2.3
Fixes #1090
|
2016-12-30 15:21:26 -02:00 |
|
Marcelo Fabri
|
6bd9bec6d7
|
PR feedback
|
2016-12-30 01:46:05 -02:00 |
|
Marcelo Fabri
|
9757442491
|
Moving Swift 2 tests to a single file
|
2016-12-30 00:44:22 -02:00 |
|
Marcelo Fabri
|
d75cd234f7
|
Run tests with Swift 2.3 set for SourceKitten
This should help preventing issues like #1019.
|
2016-12-30 00:06:51 -02:00 |
|
Marcelo Fabri
|
55f7b04a6f
|
Fixing existing violations
|
2016-12-26 18:44:37 -02:00 |
|
Marcelo Fabri
|
570e627f9a
|
Sorted imports (#1071)
Add rule requiring imports be sorted
|
2016-12-26 18:28:43 -02:00 |
|
Marcelo Fabri
|
c43f808cfc
|
Re-enable ConfigurationTests.testExcludedPaths
|
2016-12-26 13:32:13 -02:00 |
|
Marcelo Fabri
|
635b809d8f
|
Re-enable testLeadingWhitespace
|
2016-12-26 13:32:13 -02:00 |
|
Marcelo Fabri
|
9d64a22426
|
Re-enable testVariableName and testTypeName on Linux
|
2016-12-26 13:32:13 -02:00 |
|
Marcelo Fabri
|
c6ac9b919c
|
Add redundant_void_return rule
Fixes #1066
|
2016-12-26 01:01:04 -02:00 |
|
Marcelo Fabri
|
5c39a76526
|
Add redundant_optional_initialization rule
Fixes #1052
|
2016-12-24 17:28:45 -02:00 |
|
Marcelo Fabri
|
608a2725c8
|
Add class_delegate_protocol rule
Fixes #1039
|
2016-12-23 02:37:44 -02:00 |
|
Matt Rubin
|
86b0f4e08e
|
Merge master into trailing-comma-rule-reason-string
|
2016-12-22 23:08:05 -05:00 |
|
Marcelo Fabri
|
64a624ccf6
|
Add vertical_parameter_alignment rule
Fixes #1033
|
2016-12-22 21:21:23 -02:00 |
|
Matt Rubin
|
27514d73bf
|
Amend TrailingCommaRuleTests to ensure the reason strings are correct
|
2016-12-22 18:02:58 -05:00 |
|
Matt Rubin
|
34c79cd51d
|
Move TrailingCommaRule tests to a dedicated XCTestCase
|
2016-12-22 17:40:42 -05:00 |
|
JP Simard
|
e663cd0453
|
disable force try rule in ReporterTests
|
2016-12-22 11:08:07 -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
|
ae4b01d5c4
|
re-enable a passing Linux unit test
|
2016-12-22 10:23:32 -08:00 |
|
Marcelo Fabri
|
56f6fcdd5d
|
Add first_where rule
Fixes #1005
|
2016-12-22 11:57:06 -02:00 |
|
Marcelo Fabri
|
01e73e2820
|
Updating tests
|
2016-12-22 00:09:28 -02:00 |
|
Marcelo Fabri
|
b4ae1eccbe
|
Make dictionary colon correctable
|
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 |
|
Jamie Edge
|
22588e7f6a
|
Fix HTML reporter unit test failure.
|
2016-12-21 15:03:18 +00:00 |
|
Marcelo Fabri
|
8102c59a53
|
Initial implementation of closure_end_indentation
|
2016-12-19 20:08:17 -02: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
|
34f8538bfe
|
Add changelog and bug tickets numbers
|
2016-12-18 01:46:09 -02:00 |
|
Marcelo Fabri
|
fc13714f9a
|
Testing multi-byte offsets in corrections
|
2016-12-18 01:07:51 -02:00 |
|
Marcelo Fabri
|
d4d8d6dc19
|
Disabling tests on Linux
|
2016-12-18 01:07:51 -02:00 |
|
Marcelo Fabri
|
9e4d464e45
|
Add violation markers in rules
|
2016-12-18 01:07:51 -02:00 |
|
Marcelo Fabri
|
7665b04568
|
Add offset tests with multi-byte strings
|
2016-12-18 01:07:51 -02:00 |
|
Marcelo Fabri
|
6577b59cd7
|
Add unused_enumerated rule
|
2016-12-18 00:22:33 -02:00 |
|
Marcelo Fabri
|
3d7ce6ae8c
|
Add UnusedClosureParameterRule
|
2016-12-15 19:32:44 -02:00 |
|
Marcelo Fabri
|
73c7d9a054
|
Add operator_usage_whitespace
Fixes #626
|
2016-12-15 10:37:03 -02: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
|
6665986d3c
|
Merge pull request #965 from marcelofabri/empty-parameters-rule
Add `empty_parameters` rule
|
2016-12-14 15:32:24 -08:00 |
|
JP Simard
|
eab2949301
|
remove deprecated use_nested_configs config option
|
2016-12-13 12:33:05 -08:00 |
|
JP Simard
|
7d097e1058
|
simplify stringFromFile(_:)
|
2016-12-13 12:33:05 -08:00 |
|
JP Simard
|
58820e3174
|
simplify getTestYaml()
|
2016-12-13 12:33:05 -08:00 |
|
JP Simard
|
6093934fec
|
simplify getTestTextFile()
|
2016-12-13 12:33:05 -08:00 |
|
JP Simard
|
6aeac7199c
|
replace explicit NSString casts with bridge() to compile on Linux
|
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 |
|
Fabian Ehrentraud
|
7cb81527ee
|
added failing unit tests for empty location
|
2016-12-13 12:33:05 -08:00 |
|
Fabian Ehrentraud
|
100bd9bb70
|
added failing unit tests for syntactic sugar rule, as the message contains characters '<' and '>' which are not allowed in xml or html
|
2016-12-13 12:32:32 -08:00 |
|
Marcelo Fabri
|
d465d7840e
|
Add empty_parameters rule
Fixes #573
|
2016-12-13 18:05:38 -02:00 |
|
JP Simard
|
8b49cd36b5
|
Merge pull request #967 from marcelofabri/void-return-rule
Void return rule
|
2016-12-13 12:04:01 -08:00 |
|