#BUGFIX by cg
class: SmallSense::SmalltalkChecker
changed: #checkMethodsForClass:
fix: care for ignore lint rule annotation
--- a/SmallSense__SmalltalkChecker.st Fri Dec 23 11:56:55 2016 +0100
+++ b/SmallSense__SmalltalkChecker.st Tue Feb 07 13:26:58 2017 +0100
@@ -153,7 +153,9 @@
Transcript show:'rule '; show:ruleClass name; showCR:' disabled'.
] ifFalse:[
[
- eachRule checkMethod: context.
+ (eachRule shouldIgnoreMethod:context) ifFalse:[
+ eachRule checkMethod: context.
+ ].
] on: Error do:[:ex|
SmalltalkLintService debugging ifTrue:[
SmalltalkLintService debugging: false.
@@ -171,7 +173,7 @@
].
]
- "Modified: / 24-08-2010 / 21:32:39 / Jan Vrany <enter your email here>"
+ "Modified: / 24-08-2010 / 21:32:39 / Jan Vrany"
"Created: / 17-02-2012 / 00:50:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified (format): / 16-10-2014 / 01:08:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !