|
13 | 13 | // This file is automatically generated with generate-swift-format. Do not edit!
|
14 | 14 |
|
15 | 15 | @_spi(Internal) public enum RuleRegistry {
|
16 |
| - public static let rules: [String: Bool] = [ |
17 |
| - "AllPublicDeclarationsHaveDocumentation": false, |
18 |
| - "AlwaysUseLiteralForEmptyCollectionInit": false, |
19 |
| - "AlwaysUseLowerCamelCase": true, |
20 |
| - "AmbiguousTrailingClosureOverload": true, |
21 |
| - "AvoidRetroactiveConformances": true, |
22 |
| - "BeginDocumentationCommentWithOneLineSummary": false, |
23 |
| - "DoNotUseSemicolons": true, |
24 |
| - "DontRepeatTypeInStaticProperties": true, |
25 |
| - "FileScopedDeclarationPrivacy": true, |
26 |
| - "FullyIndirectEnum": true, |
27 |
| - "GroupNumericLiterals": true, |
28 |
| - "IdentifiersMustBeASCII": true, |
29 |
| - "NeverForceUnwrap": false, |
30 |
| - "NeverUseForceTry": false, |
31 |
| - "NeverUseImplicitlyUnwrappedOptionals": false, |
32 |
| - "NoAccessLevelOnExtensionDeclaration": true, |
33 |
| - "NoAssignmentInExpressions": true, |
34 |
| - "NoBlockComments": true, |
35 |
| - "NoCasesWithOnlyFallthrough": true, |
36 |
| - "NoEmptyLinesOpeningClosingBraces": false, |
37 |
| - "NoEmptyTrailingClosureParentheses": true, |
38 |
| - "NoLabelsInCasePatterns": true, |
39 |
| - "NoLeadingUnderscores": false, |
40 |
| - "NoParensAroundConditions": true, |
41 |
| - "NoPlaygroundLiterals": true, |
42 |
| - "NoVoidReturnOnFunctionSignature": true, |
43 |
| - "OmitExplicitReturns": false, |
44 |
| - "OneCasePerLine": true, |
45 |
| - "OneVariableDeclarationPerLine": true, |
46 |
| - "OnlyOneTrailingClosureArgument": true, |
47 |
| - "OrderedImports": true, |
48 |
| - "ReplaceForEachWithForLoop": true, |
49 |
| - "ReturnVoidInsteadOfEmptyTuple": true, |
50 |
| - "TypeNamesShouldBeCapitalized": true, |
51 |
| - "UseEarlyExits": false, |
52 |
| - "UseExplicitNilCheckInConditions": true, |
53 |
| - "UseLetInEveryBoundCaseVariable": true, |
54 |
| - "UseShorthandTypeNames": true, |
55 |
| - "UseSingleLinePropertyGetter": true, |
56 |
| - "UseSynthesizedInitializer": true, |
57 |
| - "UseTripleSlashForDocumentationComments": true, |
58 |
| - "UseWhereClausesInForLoops": false, |
59 |
| - "ValidateDocumentationComments": false, |
| 16 | + public static let rules: [String: Configuration.RuleSeverity] = [ |
| 17 | + "AllPublicDeclarationsHaveDocumentation": .disabled, |
| 18 | + "AlwaysUseLiteralForEmptyCollectionInit": .disabled, |
| 19 | + "AlwaysUseLowerCamelCase": .ruleDefault, |
| 20 | + "AmbiguousTrailingClosureOverload": .ruleDefault, |
| 21 | + "AvoidRetroactiveConformances": .ruleDefault, |
| 22 | + "BeginDocumentationCommentWithOneLineSummary": .disabled, |
| 23 | + "DoNotUseSemicolons": .ruleDefault, |
| 24 | + "DontRepeatTypeInStaticProperties": .ruleDefault, |
| 25 | + "FileScopedDeclarationPrivacy": .ruleDefault, |
| 26 | + "FullyIndirectEnum": .ruleDefault, |
| 27 | + "GroupNumericLiterals": .ruleDefault, |
| 28 | + "IdentifiersMustBeASCII": .ruleDefault, |
| 29 | + "NeverForceUnwrap": .disabled, |
| 30 | + "NeverUseForceTry": .disabled, |
| 31 | + "NeverUseImplicitlyUnwrappedOptionals": .disabled, |
| 32 | + "NoAccessLevelOnExtensionDeclaration": .ruleDefault, |
| 33 | + "NoAssignmentInExpressions": .ruleDefault, |
| 34 | + "NoBlockComments": .ruleDefault, |
| 35 | + "NoCasesWithOnlyFallthrough": .ruleDefault, |
| 36 | + "NoEmptyLinesOpeningClosingBraces": .disabled, |
| 37 | + "NoEmptyTrailingClosureParentheses": .ruleDefault, |
| 38 | + "NoLabelsInCasePatterns": .ruleDefault, |
| 39 | + "NoLeadingUnderscores": .disabled, |
| 40 | + "NoParensAroundConditions": .ruleDefault, |
| 41 | + "NoPlaygroundLiterals": .ruleDefault, |
| 42 | + "NoVoidReturnOnFunctionSignature": .ruleDefault, |
| 43 | + "OmitExplicitReturns": .disabled, |
| 44 | + "OneCasePerLine": .ruleDefault, |
| 45 | + "OneVariableDeclarationPerLine": .ruleDefault, |
| 46 | + "OnlyOneTrailingClosureArgument": .ruleDefault, |
| 47 | + "OrderedImports": .ruleDefault, |
| 48 | + "ReplaceForEachWithForLoop": .ruleDefault, |
| 49 | + "ReturnVoidInsteadOfEmptyTuple": .ruleDefault, |
| 50 | + "TypeNamesShouldBeCapitalized": .ruleDefault, |
| 51 | + "UseEarlyExits": .disabled, |
| 52 | + "UseExplicitNilCheckInConditions": .ruleDefault, |
| 53 | + "UseLetInEveryBoundCaseVariable": .ruleDefault, |
| 54 | + "UseShorthandTypeNames": .ruleDefault, |
| 55 | + "UseSingleLinePropertyGetter": .ruleDefault, |
| 56 | + "UseSynthesizedInitializer": .ruleDefault, |
| 57 | + "UseTripleSlashForDocumentationComments": .ruleDefault, |
| 58 | + "UseWhereClausesInForLoops": .disabled, |
| 59 | + "ValidateDocumentationComments": .disabled, |
| 60 | + "AddLines": .ruleDefault, |
| 61 | + "EndOfLineComment": .ruleDefault, |
| 62 | + "Indentation": .ruleDefault, |
| 63 | + "LineLength": .ruleDefault, |
| 64 | + "RemoveLine": .ruleDefault, |
| 65 | + "Spacing": .ruleDefault, |
| 66 | + "SpacingCharacter": .ruleDefault, |
| 67 | + "TrailingComma": .ruleDefault, |
| 68 | + "TrailingWhitespace": .ruleDefault, |
60 | 69 | ]
|
61 | 70 | }
|
0 commit comments