Commit Graph

19 Commits

Author SHA1 Message Date
JP Simard 90dfe362a2 [OperatorFunctionWhitespaceRule] refactored rule. Fixes #60. 2015-06-17 10:37:52 -07:00
JP Simard 30ef86b144 [ControlStatementRule] Fixed a few false positives 2015-05-28 14:49:25 -07:00
Nikolaj Schumacher d8e0047ed2 Add caching of Structure and SyntaxMap.
There is no need to read them individually for every rule.
This cuts execution time by more than 50%.
2015-05-26 17:24:08 +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
JP Simard 55766c91d1 LeadingWhitespaceRule 2015-05-18 05:12:23 +02:00
JP Simard 2dbd06d5aa generalized rules and split off LineLengthRule 2015-05-18 05:08:04 +02:00
JP Simard df46421f95 split Linter.swift into individual files 2015-05-18 04:33:25 +02:00