Skip to content

Commit 5d9a82c

Browse files
authored
Update cleaner-profile.cfj
1 parent 71f45a7 commit 5d9a82c

File tree

1 file changed

+4
-321
lines changed

1 file changed

+4
-321
lines changed

.github/cleaner-profile.cfj

Lines changed: 4 additions & 321 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"requiredVersion": 1,
33
"programVersion": 26,
4-
"ruleCount": 98,
4+
"ruleCount": 75,
55
"autoActivateNewFeatures": true,
66
"rules": [
77
{
@@ -38,19 +38,6 @@
3838
"AddLineBetweenDefTypes": "2"
3939
}
4040
},
41-
{
42-
"ruleID": "CDS_TEST_CLASS_LINES",
43-
"isActive": true,
44-
"settingCount": 6,
45-
"settings": {
46-
"RemoveToDoComments": "1",
47-
"EmptyLineAboveInsertTestData": "1",
48-
"RemoveAbapDoc": "1",
49-
"EmptyLineBelowSelect": "1",
50-
"EmptyLineAboveSelect": "1",
51-
"MovePrepareMethods": "0"
52-
}
53-
},
5441
{
5542
"ruleID": "SPACES_IN_EMPTY_BRACKETS",
5643
"isActive": true,
@@ -311,8 +298,8 @@
311298
"settingCount": 3,
312299
"settings": {
313300
"ConvertMinusToMultiplication": "0",
314-
"AllowVariableAtEnd": "1",
315-
"AllowMinusBeforeMultOrDiv": "1"
301+
"AllowVariableAtEnd": "0",
302+
"AllowMinusBeforeMultOrDiv": "0"
316303
}
317304
},
318305
{
@@ -589,26 +576,14 @@
589576
"ContextWithUnknownAction": "3",
590577
"CustomViewNamesFile": "CustomViewNames.txt",
591578
"ContextAllKnownAction": "0",
592-
"ProcessComments": "1",
593579
"RequireApprovalForSureMatch": "0",
580+
"ProcessComments": "1",
594581
"ProcessFieldNames": "1",
595582
"CustomFieldNamesFile": "CustomFieldNames.txt",
596583
"DeviationAction": "1",
597584
"ProcessViewNames": "1"
598585
}
599586
},
600-
{
601-
"ruleID": "CAMEL_CASE_IN_CDS_TEST",
602-
"isActive": true,
603-
"settingCount": 5,
604-
"settings": {
605-
"ProcessComments": "1",
606-
"AddPseudoCommentNoWhere": "1",
607-
"ProcessClassName": "1",
608-
"ProcessVariableNames": "1",
609-
"ProcessLiterals": "1"
610-
}
611-
},
612587
{
613588
"ruleID": "INSET",
614589
"isActive": true,
@@ -846,298 +821,6 @@
846821
"MaxLineLength": "120",
847822
"AlignWithFormName": "0"
848823
}
849-
},
850-
{
851-
"ruleID": "DDL_ANNO_LAYOUT",
852-
"isActive": true,
853-
"settingCount": 8,
854-
"settings": {
855-
"SpaceInsideBrackets": "1",
856-
"MaxOneLinerElemCountMain": "4",
857-
"AlignTablesInArrays": "1",
858-
"AlignValues": "0",
859-
"SpaceInsideBraces": "1",
860-
"MaxOneLinerElemCountList": "4",
861-
"SpaceAfterColon": "1",
862-
"MaxLineLength": "120"
863-
}
864-
},
865-
{
866-
"ruleID": "DDL_ANNO_NESTING",
867-
"isActive": true,
868-
"settingCount": 6,
869-
"settings": {
870-
"NestingAllowList": "",
871-
"NestingBlockList": "",
872-
"EmptyLinesMain": "1",
873-
"SortOrder": "1",
874-
"EmptyLinesList": "3",
875-
"NestingMinDepth": "1"
876-
}
877-
},
878-
{
879-
"ruleID": "DDL_POSITION_DEFINE",
880-
"isActive": true,
881-
"settingCount": 7,
882-
"settings": {
883-
"BreakBeforeDefine": "0",
884-
"DefineIndent": "0",
885-
"EntityNameIndent": "2",
886-
"BreakBeforeEntityName": "2",
887-
"ParamsIndent": "4",
888-
"WithParamsIndent": "2",
889-
"BreakBeforeWithParams": "0"
890-
}
891-
},
892-
{
893-
"ruleID": "DDL_POSITION_SELECT",
894-
"isActive": true,
895-
"settingCount": 8,
896-
"settings": {
897-
"BreakBeforeSelectFrom": "0",
898-
"AsSelectFromIndent": "2",
899-
"BreakBeforeAsSelectFrom": "0",
900-
"BreakBeforeDataSource": "2",
901-
"DataSourceIndent": "4",
902-
"SelectFromIndent": "2",
903-
"AsProjectionOnIndent": "2",
904-
"BreakBeforeAsProjectionOn": "0"
905-
}
906-
},
907-
{
908-
"ruleID": "DDL_POSITION_JOIN",
909-
"isActive": true,
910-
"settingCount": 6,
911-
"settings": {
912-
"KeywordsIndent": "4",
913-
"BreakBeforeCondition": "1",
914-
"BreakBeforeKeywords": "0",
915-
"BreakBeforeDataSource": "2",
916-
"DataSourceIndent": "4",
917-
"ConditionIndent": "6"
918-
}
919-
},
920-
{
921-
"ruleID": "DDL_POSITION_ASSOCIATION",
922-
"isActive": true,
923-
"settingCount": 8,
924-
"settings": {
925-
"KeywordsIndent": "2",
926-
"BreakBeforeCondition": "1",
927-
"BreakBeforeKeywords": "0",
928-
"BreakBeforeDataSource": "2",
929-
"DataSourceIndent": "2",
930-
"ConditionIndent": "4",
931-
"BreakBeforeFilter": "0",
932-
"FilterIndent": "4"
933-
}
934-
},
935-
{
936-
"ruleID": "DDL_POSITION_BRACES",
937-
"isActive": true,
938-
"settingCount": 6,
939-
"settings": {
940-
"FromIndent": "2",
941-
"BreakBeforeFrom": "0",
942-
"BreakBeforeOpeningBrace": "0",
943-
"ClosingBraceIndent": "0",
944-
"OpeningBraceIndent": "0",
945-
"BreakBeforeClosingBrace": "0"
946-
}
947-
},
948-
{
949-
"ruleID": "DDL_POSITION_CLAUSES",
950-
"isActive": true,
951-
"settingCount": 4,
952-
"settings": {
953-
"BreakBeforeUnionEtc": "0",
954-
"UnionEtcIndent": "0",
955-
"WhereEtcIndent": "0",
956-
"BreakBeforeWhereEtc": "0"
957-
}
958-
},
959-
{
960-
"ruleID": "DDL_SPACES_AROUND_SIGNS",
961-
"isActive": true,
962-
"settingCount": 8,
963-
"settings": {
964-
"SpaceAroundArithmeticOps": "0",
965-
"SpaceAfterCommaInAbapType": "2",
966-
"SpaceBeforeCommentSign": "0",
967-
"SpaceBeforeColon": "1",
968-
"SpaceAfterCommentSign": "0",
969-
"SpaceAfterColon": "0",
970-
"SpaceAfterComma": "0",
971-
"SpaceBeforeComma": "2"
972-
}
973-
},
974-
{
975-
"ruleID": "DDL_SPACES_AROUND_BRACKETS",
976-
"isActive": true,
977-
"settingCount": 9,
978-
"settings": {
979-
"SpacesInsidePathBrackets": "2",
980-
"SpacesInsideCardBrackets": "2",
981-
"SpacesAroundCardBrackets": "0",
982-
"SpacesInsideArithParens": "2",
983-
"SpacesBeforeFuncParens": "2",
984-
"SpacesInsideFuncParens": "2",
985-
"SpacesBeforeTypeParens": "2",
986-
"SpacesBeforePathBrackets": "2",
987-
"SpacesInsideTypeParens": "2"
988-
}
989-
},
990-
{
991-
"ruleID": "DDL_CAMEL_CASE_NAME",
992-
"isActive": true,
993-
"settingCount": 6,
994-
"settings": {
995-
"FixAliases": "1",
996-
"OnlyApprovedNames": "1",
997-
"RequireAllFieldsKnown": "1",
998-
"FixFieldNames": "1",
999-
"FixRefsInAnnotations": "1",
1000-
"FixEntityName": "1"
1001-
}
1002-
},
1003-
{
1004-
"ruleID": "DDL_TYPO",
1005-
"isActive": true,
1006-
"settingCount": 5,
1007-
"settings": {
1008-
"ProcessAnnotations": "1",
1009-
"ProcessComments": "1",
1010-
"ProcessAnnotationRefs": "0",
1011-
"CorrectTypos": "1",
1012-
"ConvertBritishToAmerican": "1"
1013-
}
1014-
},
1015-
{
1016-
"ruleID": "DDL_ALIGN_ENTITY_PARAMETERS",
1017-
"isActive": true,
1018-
"settingCount": 2,
1019-
"settings": {
1020-
"AlignColons": "1",
1021-
"AlignTypes": "1"
1022-
}
1023-
},
1024-
{
1025-
"ruleID": "DDL_ALIGN_SOURCE_PARAMETERS",
1026-
"isActive": true,
1027-
"settingCount": 4,
1028-
"settings": {
1029-
"ParameterPos": "3",
1030-
"AlignActualParams": "1",
1031-
"AlignAssignmentOps": "1",
1032-
"AsAliasPos": "0"
1033-
}
1034-
},
1035-
{
1036-
"ruleID": "DDL_ALIGN_FUNCTION_PARAMETERS",
1037-
"isActive": true,
1038-
"settingCount": 3,
1039-
"settings": {
1040-
"ParameterPos": "0",
1041-
"AlignActualParams": "1",
1042-
"AlignAssignmentOps": "1"
1043-
}
1044-
},
1045-
{
1046-
"ruleID": "DDL_ALIGN_LOGICAL_EXPRESSIONS",
1047-
"isActive": true,
1048-
"settingCount": 13,
1049-
"settings": {
1050-
"AlignFilterWithBoolOps": "2",
1051-
"AlignAssociationOn": "1",
1052-
"AlignPathExpressions": "1",
1053-
"AlignWhenWithBoolOps": "2",
1054-
"AlignWhere": "1",
1055-
"AlignOnWithBoolOps": "1",
1056-
"AlignHavingWithBoolOps": "2",
1057-
"AlignJoinOn": "1",
1058-
"AlignWhen": "1",
1059-
"RightAlignComparisonOps": "1",
1060-
"AlignHaving": "1",
1061-
"MaxInnerSpaces": "20",
1062-
"AlignWhereWithBoolOps": "2"
1063-
}
1064-
},
1065-
{
1066-
"ruleID": "DDL_ALIGN_FIELD_LISTS",
1067-
"isActive": true,
1068-
"settingCount": 7,
1069-
"settings": {
1070-
"SimpleGroupByListLayout": "0",
1071-
"NameListPos": "1",
1072-
"ComplexGroupByListLayout": "0",
1073-
"ConsiderDotAsComplex": "1",
1074-
"MaxLineLength": "120",
1075-
"NameListLayout": "0",
1076-
"GroupByListPos": "0"
1077-
}
1078-
},
1079-
{
1080-
"ruleID": "DDL_ALIGN_DATA_SOURCES",
1081-
"isActive": true,
1082-
"settingCount": 5,
1083-
"settings": {
1084-
"AlignDataSources": "1",
1085-
"AlignAssociationsWithJoins": "0",
1086-
"AlignOnConditions": "1",
1087-
"ConsiderAllParamAssignLines": "0",
1088-
"AlignAliases": "1"
1089-
}
1090-
},
1091-
{
1092-
"ruleID": "DDL_ALIGN_SELECT_LIST",
1093-
"isActive": true,
1094-
"settingCount": 8,
1095-
"settings": {
1096-
"ConsiderAllElementLines": "0",
1097-
"AlignCommentedOutCode": "1",
1098-
"ConsiderSimpleElementsWithoutAlias": "1",
1099-
"ConsiderComplexElementsWithoutAlias": "0",
1100-
"AlignTextualComments": "1",
1101-
"MaxAliasStart": "120",
1102-
"AlignAliases": "1",
1103-
"AlignKeyKeyword": "1"
1104-
}
1105-
},
1106-
{
1107-
"ruleID": "DDL_EMPTY_LINES_BETWEEN",
1108-
"isActive": true,
1109-
"settingCount": 10,
1110-
"settings": {
1111-
"BetweenEntityAnnosAndDefine": "0",
1112-
"BetweenParametersAndAsSelect": "0",
1113-
"BeforeSelectListStart": "0",
1114-
"AfterSelectListStart": "3",
1115-
"BetweenSelectFromAndJoins": "1",
1116-
"BetweenJoinsAndAssociations": "0",
1117-
"BeforeSelectListEnd": "3",
1118-
"AfterSelectListEnd": "0",
1119-
"MaxConsecutiveEmptyLines": "2",
1120-
"RemoveAtDocumentEnd": "1"
1121-
}
1122-
},
1123-
{
1124-
"ruleID": "DDL_EMPTY_LINES_WITHIN",
1125-
"isActive": true,
1126-
"settingCount": 12,
1127-
"settings": {
1128-
"SurroundAssociationLineCountMin": "2",
1129-
"CondenseParameters": "2",
1130-
"CondenseAssociations": "2",
1131-
"DetachExposedAssociations": "1",
1132-
"CondenseClauses": "3",
1133-
"SurroundParameterLineCountMin": "2",
1134-
"CondenseJoins": "2",
1135-
"DetachKeyFields": "1",
1136-
"CondenseElements": "2",
1137-
"SurroundJoinLineCountMin": "2",
1138-
"SurroundElementLineCountMin": "2",
1139-
"SurroundClauseLineCountMin": "2"
1140-
}
1141824
}
1142825
]
1143826
}

0 commit comments

Comments
 (0)