[Seaside] ignore Code Critics rules per class. (Was Re: Slime in one click image)

stan shepherd stan.shepherd414 at gmail.com
Mon Aug 3 21:55:59 UTC 2009


Hi, When I subclass WASession, I get 'Class not referenced' from code
critics; there's one instance of the problem for each method in the class.
I've tried to set a pragma to ignore the rule as per: 
http://www.lukas-renggli.ch/blog/ignoring-lint-rules , but can't get it to
ignore:

currentNeatSheet
	
	<ignoreLintRule: 'Class not referenced' rationale: 'session class
configured by Seaside, accessed by self session' author: 'Stan Shepherd'> 
	
	^ currentNeatSheet 

or 

currentNeatSheet
	
	<ignoreLintRule: 'RBClassNotReferencedRule' rationale: 'session class
configured by Seaside, accessed by self session' author: 'Stan Shepherd'> 
	
	^ currentNeatSheet 

or 

currentNeatSheet
	
	<lint: 'RBClassNotReferencedRule' rationale: 'session class configured by
Seaside, accessed by self session' author: 'Stan Shepherd'> 
	
	^ currentNeatSheet 

But none of these succeed in bypassing the rule. Can anyone point me at what
I'm doing wrong please?

...Stan


Lukas Renggli wrote:
> 
> Sorry for the omission. I've quickly back-ported Slime to Seaside 2.8
> and loaded it into the one-click image. You can either download a new
> image from the website, or simply load the latest Slime code from
> <http://source.lukas-renggli.ch/slime>.
> 
> Cheers,
> Lukas
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Slime-in-one-click-image-tp24736487p24798870.html
Sent from the Squeak - Seaside mailing list archive at Nabble.com.



More information about the seaside mailing list