JP Simard
f36e28e0a6
prefer 'joined()' over 'joined(separator: "")'
...
since that's the default separator.
Rule for this requested in #1093 .
2016-12-30 10:30:03 -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
Jamie Edge
8c89acdf82
Merge branch 'master' into relative-path-html-report
...
# Conflicts:
# CHANGELOG.md
2016-12-21 20:29:41 +00:00
Jamie Edge
22588e7f6a
Fix HTML reporter unit test failure.
2016-12-21 15:03:18 +00: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
Jamie Edge
92d761374e
Fix HTML output so that it is valid HTML 5.
2016-12-21 12:37:31 +00:00
Jamie Edge
b9afeba7fd
Switch to a relative path within the HTML report output.
2016-12-21 11:56:33 +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
bfdd95c964
minor clean up to HTMLReporter.swift
2016-12-13 12:33:05 -08:00
Fabian Ehrentraud
2f8c54d3c7
uppercase XML
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
223f2defd1
fixed <nopath> not being xml encoded + use <nopath> for html reporter too
2016-12-13 12:33:05 -08:00
Fabian Ehrentraud
96aa86b500
moved String+XML.swift to Extensions folder and fixed header comment
2016-12-13 12:33:05 -08:00
Fabian Ehrentraud
ea5f3319ca
escape characters for xml reporters
2016-12-13 12:32:32 -08:00
Marcelo Fabri
819a5439db
Fix header format
2016-12-08 18:32:21 -02:00
Marcelo Fabri
13b0cfe623
Fixing inconsistencies
2016-12-08 18:29:57 -02:00
JP Simard
f056cc964b
refactor and simplify EmojiReporter
2016-12-07 23:49:13 -08:00
Michał Kałużny
d97632e52d
Add human readable reporter that’s also funny because emoji.
2016-12-07 23:13:59 -08:00
JP Simard
576e1a5d4d
remove unnecessary .lowercased() calls
...
now that ViolationSeverity is already lowercase.
2016-12-01 22:29:09 -08:00
JP Simard
19fad01b29
make all enum members lowercase to comply with Swift 3 API Guidelines
2016-12-01 22:16:21 -08:00
JP Simard
39e1001629
make lots of Swift 3 related changes
...
many of which are to help with otherwise very long compile times
2016-12-01 00:34:29 -08:00
Norio Nomura
6fc48e34fd
Merge commit 'bdeeac6b4c9e20847878b148ecaebf1efeec7a74' into swift3.0
...
* commit 'bdeeac6b4c9e20847878b148ecaebf1efeec7a74':
simplify disable in HTMLReporter
sort master rule list
fix some older changelog formatting inconsistencies
exclude test resources from linting
# Conflicts:
# Source/SwiftLintFramework/Reporters/HTMLReporter.swift
2016-11-30 14:36:56 +09:00
JP Simard
bdeeac6b4c
simplify disable in HTMLReporter
2016-11-25 11:32:26 -08:00
Norio Nomura
40828dff03
Merge branch 'master' into swift3.0
...
* master: (41 commits)
Fix formatting in CHANGELOG.md
release 0.13.0
Update CHANGELOG.md
Fix check for trailing whitespace to return early
Fix checks for some inline comments
Replace check for comments to use SyntaxKind
Add configuration for trailing_whitespace to ignore comments
Unwanted space removed
- Lint issues fixed
Updated HTML Reporter
PR feedback
Add check on autocorrect for disabled range
Use `utf8.count` instead of `utf16.count` to byte range
Re-write `ExplicitInitRule` to `ASTRule`
added ExplicitInitRule
Updated CHANGELOG
HTML Reporter added
HTML Reporter added
Adds information about SwiftLint plugin for AppCode into README.md
added reasons why a new rule should be opt in
...
# Conflicts:
# Source/SwiftLintFramework/Extensions/File+SwiftLint.swift
# Source/SwiftLintFramework/Extensions/Structure+SwiftLint.swift
# Source/SwiftLintFramework/Rules/ColonRule.swift
# Source/SwiftLintFramework/Rules/CommaRule.swift
# Source/SwiftLintFramework/Rules/LegacyCGGeometryFunctionsRule.swift
# Source/SwiftLintFramework/Rules/LegacyConstantRule.swift
# Source/SwiftLintFramework/Rules/LegacyConstructorRule.swift
# Source/SwiftLintFramework/Rules/LegacyNSGeometryFunctionsRule.swift
# Source/SwiftLintFramework/Rules/LineLengthRule.swift
# Source/SwiftLintFramework/Rules/OperatorFunctionWhitespaceRule.swift
# Source/SwiftLintFramework/Rules/ReturnArrowWhitespaceRule.swift
# Source/SwiftLintFramework/Rules/RuleConfigurations/StatementPositionConfiguration.swift
# Source/SwiftLintFramework/Rules/StatementPositionRule.swift
# Source/SwiftLintFramework/Rules/TrailingWhitespaceRule.swift
# Tests/SwiftLintFramework/RuleConfigurationTests.swift
2016-11-04 21:40:56 +09:00
Johnykutty Mathew
757ca5bc04
Unwanted space removed
2016-11-03 17:10:55 +05:30
Johnykutty Mathew
e0627a3063
- Lint issues fixed
2016-11-02 14:38:09 +05:30
Johnykutty Mathew
af7404aa3d
Updated HTML Reporter
2016-11-01 20:00:31 +05:30
Johnykutty Mathew
6fb7ca1246
HTML Reporter added
2016-10-27 18:11:20 +05:30
Norio Nomura
1dc0d6016d
Fix failing testJSONReporter()
2016-10-13 22:23:17 +09:00
Norio Nomura
fc0d48ab80
Fix crash on JSONReporter
2016-10-13 21:20:12 +09:00
Norio Nomura
609d9f6764
Fix CSVReporter.swift
2016-10-13 21:18:02 +09:00
Norio Nomura
8bf15f1dba
Migrate to Swift 3.0
2016-10-09 01:09:50 +09:00
Matthew Ellis
07313c09a5
Add JUnit reporter
2016-07-22 20:50:58 +01:00
JP Simard
512c3c695d
rewrite XcodeReporter.generateForSingleViolation to compile 200x faster
...
before: 6056.5ms
after: 28.2ms
2016-01-18 13:52:37 -08:00
JP Simard
59db289356
rewrite CheckstyleReporter.generateReport to compile 100x faster
...
before: 10s
after: 100ms
2016-01-18 13:52:37 -08:00
JP Simard
5bf0f89835
Revert "fix escaped double quote character"
...
This reverts commit a0a76d898f .
Turns out that the previous version was correct.
See https://en.wikipedia.org/wiki/Comma-separated_values
2016-01-13 18:22:00 -08:00
JP Simard
a0a76d898f
fix escaped double quote character
2016-01-11 08:55:10 -08:00
JP Simard
8fbc88254c
escape strings when using CSV reporter
2016-01-11 08:50:15 -08:00
JP Simard
e546ecb094
add checkstyle reporter. addresses #277
2015-12-25 02:31:38 -05:00
JP Simard
0335f155ab
Perform major refactor of rule description, identifiers and examples
...
Fixes #183 .
2015-11-04 12:24:33 -08:00
Gilles Grousset
7feb26ebe2
Refactored Rule reference in StyleViolation
...
Now uses a String with the rule identifier
2015-11-03 13:31:29 +01:00
Gilles Grousset
0e9fad37db
Fixed compilation error with Travis CI
2015-11-01 22:33:28 +01:00
Gilles Grousset
f877af1720
Added rule id on RulesCommand and XcodeReporter
2015-11-01 02:16:34 +01:00
Gilles Grousset
7328b41da8
Added rule reference to StyleViolation
...
- Added rule reference to StyleViolation
- Added rule_id field on JSONReporter and CSVReporter
2015-11-01 02:00:04 +01:00
JP Simard
87cd144b8a
Merge stdin/non-stdin code paths, only log reports to stdout, chunk json/csv reports
2015-10-05 11:57:07 -07:00
JP Simard
1bec2bcb23
use XcodeReporter for StyleViolation's description
2015-09-20 00:01:36 +02:00
JP Simard
ee79209db8
added custom reporters: xcode (default), json, csv. fixes #42
2015-09-19 17:48:32 +02:00