Commit Graph

64 Commits

Author SHA1 Message Date
Chris Eidhof 89ea957b05 Changed RuleExample to be a struct 2015-05-25 14:46:13 -07:00
Chris Eidhof 1456f067c0 Only show examples when it makes sense 2015-05-25 14:46:00 -07:00
Chris Eidhof ee5555f8a6 Whitespace rule examples 2015-05-25 14:45:28 -07:00
Chris Eidhof 7cdcc24f70 Added the TodoRule 2015-05-25 14:45:28 -07:00
Chris Eidhof d1decf100b Move structured text into its own file 2015-05-25 14:45:28 -07:00
Chris Eidhof 5d4fdc4a84 Explain command showing the rules 2015-05-25 14:45:28 -07:00
Chris Eidhof ee4aadbcf9 Move examples into the code 2015-05-25 14:45:28 -07:00
JP Simard 2b8a7fddbc Merge pull request #33 from k2b6s9j/patch-1
Add Atom integration to read me.
2015-05-25 12:03:05 -07:00
Kepler Sticka-Jones e21bca1d4a Add Atom integration to read me. 2015-05-25 12:46:23 -06:00
JP Simard 13f26192ad CHANGELOG spacing 2015-05-25 08:44:00 -07:00
JP Simard acc869fe15 Merge pull request #31 from pawrsccouk/master
Return an error status code if serious violations found
2015-05-23 22:03:13 -07:00
Patrick A Wallace 7e61ce5df6 Removed reference to self to fit with Github code style. 2015-05-23 19:04:23 +01:00
Patrick A Wallace 723adf2bd0 Changed to return an error status code if serious violations found, for Xcode compatibility. 2015-05-23 00:15:27 +01:00
JP Simard 66684aaf2d Merge pull request #22 from realm/jp-parameterized-rule
Split `Rule` into `Rule` and `ParameterizedRule` protocols
2015-05-20 18:37:00 +02:00
JP Simard e2df0546d3 Split Rule into Rule and ParameterizedRule protocols (fixes #21) 2015-05-20 18:27:16 +02:00
JP Simard 10285bde00 Merge pull request #14 from keith/homebrew-readme
Add homebrew installation instructions to readme
2015-05-20 04:16:51 +02:00
Keith Smiley 94c253e430 Add homebrew installation instructions to readme 2015-05-19 09:45:39 -07:00
JP Simard fc625656ae [ASTRule] Made several rules conform to ASTRule 2015-05-19 15:36:07 +02:00
JP Simard a196c6acdb [README] updated README to credit @aarondaub 2015-05-19 15:28:54 +02:00
JP Simard ed5b0b573e Merge pull request #11 from aarondaub/ad-unstaticifyRules
Define Rule protocol's members as non-static
2015-05-19 15:24:48 +02:00
Aaron Daub 3c4f78202e Update Changelog 2015-05-19 13:06:43 +02:00
Aaron Daub aac1a3282f When calling .validateFile make sure to call it on an instance of Rule 2015-05-19 07:53:32 +02:00
Aaron Daub 15a100153d Have the Rule protocol define its members as non-static so that we can pass around instances of Rule 2015-05-19 07:44:11 +02:00
JP Simard e295b41be4 updated installation instructions 2015-05-18 18:08:12 +02:00
JP Simard 63f6777c37 Merge pull request #2 from danilobuerger/feature/BinLocation
Fixed location of swiftlint script
2015-05-18 18:04:03 +02:00
Danilo Bürger b6992648cb Fixed location of swiftlint script 2015-05-18 17:58:32 +02:00
JP Simard f32cde7556 [README] /usr/bin/local/swiftlint 2015-05-18 09:39:48 +02:00
JP Simard 6f7c10a13b [README] homebrew pending 2015-05-18 07:17:35 +02:00
JP Simard ed7eadd5c6 [README] rules URL (again) 0.1.0 2015-05-18 07:05:50 +02:00
JP Simard 5a689d262b [README] rules URL 2015-05-18 07:05:16 +02:00
JP Simard ada51aec80 [README] Added rules section 2015-05-18 07:04:26 +02:00
JP Simard f6a3c4fa58 Added LICENSE 2015-05-18 06:57:35 +02:00
JP Simard 0b5a08e52d added screenshot 2015-05-18 06:55:56 +02:00
JP Simard 43032d86c2 Only report the highest severity violation for function and type body rules 2015-05-18 06:47:12 +02:00
JP Simard 3a0e04403b added "Run SwiftLint" phase and updated README to include Xcode instructions 2015-05-18 06:42:19 +02:00
JP Simard 79ad26ece0 shorter lines 2015-05-18 06:29:32 +02:00
JP Simard a3cf847a84 reorganized Xcode project 2015-05-18 06:26:24 +02:00
JP Simard 1bbeb35473 moved all style violation calls to Linter 2015-05-18 06:24:56 +02:00
JP Simard 1678bd00cf NestingRule 2015-05-18 06:17:05 +02:00
JP Simard 8753bece31 VariableNameRule 2015-05-18 06:06:49 +02:00
JP Simard 4f4afbef32 TypeNameRule 2015-05-18 06:03:03 +02:00
JP Simard e4c05d592a FunctionBodyLengthRule 2015-05-18 05:58:57 +02:00
JP Simard 0af4e05cc7 Created ASTRule protocol and TypeBodyLengthRule 2015-05-18 05:55:03 +02:00
JP Simard 1176bdaeba minor tweaks 2015-05-18 05:32:04 +02:00
JP Simard 9c81e13aec FileLengthRule 2015-05-18 05:29:04 +02:00
JP Simard 6a984ee22e TrailingNewlineRule 2015-05-18 05:23:16 +02:00
JP Simard 9d497a41f5 TrailingWhitespaceRule 2015-05-18 05:21:29 +02:00
JP Simard c6221d4997 ColonRule 2015-05-18 05:18:56 +02:00
JP Simard ffa691ac65 TodoRule 2015-05-18 05:15:55 +02:00
JP Simard 744fafc4b2 ForceCastRule 2015-05-18 05:14:19 +02:00