Skip to content

Commit

Permalink
There where quite some rules just kept around for the old "Monkey" (t…
Browse files Browse the repository at this point in the history
…he CI checker before we moved to git)

The classes where just wrappers of other rules with  notes like that:

self flag: 'The functionality was moved to TemporaryNeitherReadNorWrittenRule, but as this rule is used by Monkey
  • Loading branch information
MarcusDenker committed Jul 12, 2020
1 parent ab58204 commit 6a47c77
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 185 deletions.
16 changes: 4 additions & 12 deletions src/Refactoring-Critics/PharoCriticRules.class.st
Expand Up @@ -11,34 +11,26 @@ Class {
PharoCriticRules class >> pharoHardLintRules [
"These rules are used by the CI monkey to check code before its integration into Pharo"
^ {
RBUndeclaredReferenceRule.
ReUndeclaredVariableRule.
ReDefinesEqualNotHashRule.
ReEquivalentSuperclassMethodsRule.
ReJustSendsSuperRule.
ReSubclassResponsibilityNotDefinedRule.
"RBTempVarOverridesInstVarRule. gotta wait for a fix"
RBVariableNotDefinedRule.
ReUndeclaredVariableRule.
ReEqualNotUsedRule.
RBOnlyReadOrWrittenTemporaryRule.
ReTemporaryNeitherReadNorWrittenRule.
RePrecedenceRule.
SendsDeprecatedMethodToGlobalRule.
ReSizeCheckRule.
ReUnconditionalRecursionRule.
ReUnoptimizedToDoRule.
ReBetweenAndRule.
ReCodeCruftLeftInMethodsRule.
RBPharoBootstrapRule
PharoBootstrapRule
}
]

{ #category : #accessing }
PharoCriticRules class >> pharoIntegrationLintRule [
"A set of rules used by the CI monkey to check code before its integration into Pharo"
^ (RBCompositeLintRule rules: (self pharoHardLintRules collect: [:each | each new]))
name: 'Pharo integration rules';
yourself
]

{ #category : #'default rules' }
PharoCriticRules class >> pharoSoftLintRules [
"skiped for now"
Expand Down
35 changes: 0 additions & 35 deletions src/Refactoring-Critics/RBArchitectureLintRule.class.st

This file was deleted.

28 changes: 0 additions & 28 deletions src/Refactoring-Critics/RBOnlyReadOrWrittenTemporaryRule.class.st

This file was deleted.

28 changes: 0 additions & 28 deletions src/Refactoring-Critics/RBOnlyReadOrWrittenVariableRule.class.st

This file was deleted.

26 changes: 0 additions & 26 deletions src/Refactoring-Critics/RBPharoBootstrapRule.class.st

This file was deleted.

28 changes: 0 additions & 28 deletions src/Refactoring-Critics/RBUndeclaredReferenceRule.class.st

This file was deleted.

28 changes: 0 additions & 28 deletions src/Refactoring-Critics/RBVariableNotDefinedRule.class.st

This file was deleted.

0 comments on commit 6a47c77

Please sign in to comment.