Commit Graph

17 Commits

Author SHA1 Message Date
JP Simard b83e0991b9 Remove all file headers
The MIT license doesn't require that all files be prepended with this
licensing or copyright information. Realm confirmed that they're ok with this
change. This will enable some companies to contribute to SwiftLint and the
date & authorship information will remain accessible via git source control.
2018-05-04 13:42:02 -07:00
Norio Nomura 2a0ac455bc 'flatMap' is deprecated: renamed to 'compactMap(_:)' 2018-04-08 13:28:09 +09: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 c01f4bd19f Enable extension_access_modifier rule 2017-07-21 21:08:52 +02:00
JP Simard 00cd61ab17 update SwiftLintFramework/Reporters to follow Swift 3 API Design Guidelines 2017-01-09 19:31:19 -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
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
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 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 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 ee79209db8 added custom reporters: xcode (default), json, csv. fixes #42 2015-09-19 17:48:32 +02:00