Commit Graph

25 Commits

Author SHA1 Message Date
JP Simard 29cdc86185 add some convenience members to SourceKit dictionaries 2017-01-22 11:00:57 -08:00
JP Simard 3599723a65 simplify equality check in AttributesRule 2017-01-22 09:40:23 -08:00
JP Simard 7522635ad8 update SwiftLintFramework/Rules to follow Swift 3 API Design Guidelines 2017-01-09 19:37:53 -08:00
JP Simard 9e7cdc3282 update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines 2017-01-09 19:19:25 -08:00
JP Simard a291bb594a update SwiftLintFramework/Extensions to follow Swift 3 API Design Guidelines 2017-01-09 17:53:07 -08:00
Marcelo Fabri 50535e7e5c Refactor regex functions to accept options
Fixes #1127
2017-01-06 21:04:15 -02:00
Marcelo Fabri f9a639715f Fix out of range exception in AttributesRule
Fixes #1105
2017-01-01 17:54:31 -02:00
Marcelo Fabri 5625b50f88 Avoid using Set(arrayLiteral:) 2016-12-30 23:54:25 -02:00
Marcelo Fabri 6bd9bec6d7 PR feedback 2016-12-30 01:46:05 -02:00
Marcelo Fabri b599dc49cb Make AttributesRule opt-in 2016-12-12 23:42:18 -02:00
Marcelo Fabri e4a556dea5 Handle consecutive lines with attributes 2016-12-12 23:02:04 -02:00
Marcelo Fabri 7a4325220e Using character offset for regex result 2016-12-12 02:26:21 -02:00
Marcelo Fabri 6752739dac Using .bridge() to run on Linux 2016-12-12 00:27:43 -02:00
Marcelo Fabri 09fb1eb93e Fix false negatives in AttributesRule 2016-12-09 19:39:25 -02:00
Marcelo Fabri 2ddf7757d7 Merge branch 'master' into attributes-rule 2016-12-09 14:50:48 -02:00
Marcelo Fabri 0c018a15c7 Swift 3 migration 2016-12-04 18:19:44 -02:00
Marcelo Fabri 1794a26aa7 Small refactoring 2016-11-30 11:51:25 -02:00
Marcelo Fabri 5e9095a1e3 PR feedback 2016-11-30 11:51:25 -02:00
Marcelo Fabri 12dae9c029 Handling parameters and custom configurations 2016-11-30 11:51:25 -02:00
Marcelo Fabri 508f2842d5 Handling cases with multiple attributes 2016-11-30 11:51:25 -02:00
Marcelo Fabri 7f259d26f7 Adding Swift 2.2 attributes 2016-11-30 11:51:25 -02:00
Marcelo Fabri 17c1464d3e Making tests green on Swift 2.2 2016-11-30 11:51:25 -02:00
Marcelo Fabri a85171770f Handling attributes that don’t start with @ 2016-11-30 11:51:25 -02:00
Marcelo Fabri 4e3a0b01a1 Using byte range 2016-11-30 11:51:25 -02:00
Marcelo Fabri d94b5d8bd2 Adding attributes rule
Fixes https://github.com/realm/SwiftLint/issues/846
2016-11-30 11:51:25 -02:00