com.github._1c_syntax.bsl.languageserver.configuration.parameters-schema.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bsl-language-server Show documentation
Show all versions of bsl-language-server Show documentation
Language Server Protocol implementation for 1C (BSL) - 1C:Enterprise 8 and OneScript languages.
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://1c-syntax.github.io/bsl-language-server/configuration/parameters-schema.json",
"type": "object",
"title": "BSL Language Server Configuration File. Diagnostic parameters definition part",
"definitions": {
"AllFunctionPathMustHaveReturn": {
"description": "All execution paths of a function must have a Return statement",
"default": true,
"type": [
"boolean",
"object"
],
"title": "All execution paths of a function must have a Return statement",
"properties": {
"loopsExecutedAtLeastOnce": {
"description": "Assume loops are executed at least once",
"default": true,
"type": "boolean",
"title": "Assume loops are executed at least once"
},
"ignoreMissingElseOnExit": {
"description": "Ignore ElIf clauses which has no Else branch. Disable to detect exits from ElIf condition which results to False",
"default": false,
"type": "boolean",
"title": "Ignore ElIf clauses which has no Else branch. Disable to detect exits from ElIf condition which results to False"
}
},
"$id": "#/definitions/AllFunctionPathMustHaveReturn"
},
"AssignAliasFieldsInQuery": {
"description": "Assigning aliases to selected fields in a query",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Assigning aliases to selected fields in a query",
"$id": "#/definitions/AssignAliasFieldsInQuery"
},
"BadWords": {
"description": "Prohibited words",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Prohibited words",
"properties": {
"badWords": {
"description": "Regular expression for prohibited words.",
"default": "",
"type": "string",
"title": "Regular expression for prohibited words."
}
},
"$id": "#/definitions/BadWords"
},
"BeginTransactionBeforeTryCatch": {
"description": "Violating transaction rules for the 'BeginTransaction' method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Violating transaction rules for the 'BeginTransaction' method",
"$id": "#/definitions/BeginTransactionBeforeTryCatch"
},
"CachedPublic": {
"description": "Cached public methods",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Cached public methods",
"$id": "#/definitions/CachedPublic"
},
"CanonicalSpellingKeywords": {
"description": "Canonical keyword writing",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Canonical keyword writing",
"$id": "#/definitions/CanonicalSpellingKeywords"
},
"CodeAfterAsyncCall": {
"description": "Lines of code after the asynchronous method call",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Lines of code after the asynchronous method call",
"$id": "#/definitions/CodeAfterAsyncCall"
},
"CodeBlockBeforeSub": {
"description": "Method definitions must be placed before the module body operators",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Method definitions must be placed before the module body operators",
"$id": "#/definitions/CodeBlockBeforeSub"
},
"CodeOutOfRegion": {
"description": "Code out of region",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Code out of region",
"properties": {
"checkUnknownModuleType": {
"description": "Check unknown module type",
"default": false,
"type": "boolean",
"title": "Check unknown module type"
}
},
"$id": "#/definitions/CodeOutOfRegion"
},
"CognitiveComplexity": {
"description": "Cognitive complexity",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Cognitive complexity",
"properties": {
"complexityThreshold": {
"description": "Complexity threshold",
"default": 15,
"type": "integer",
"title": "Complexity threshold"
},
"checkModuleBody": {
"description": "Check module body",
"default": true,
"type": "boolean",
"title": "Check module body"
}
},
"$id": "#/definitions/CognitiveComplexity"
},
"CommandModuleExportMethods": {
"description": "Export methods in command and general command modules",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Export methods in command and general command modules",
"$id": "#/definitions/CommandModuleExportMethods"
},
"CommentedCode": {
"description": "Commented out code",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Commented out code",
"properties": {
"exclusionPrefixes": {
"description": "Exclusion prefixes",
"default": "",
"type": "string",
"title": "Exclusion prefixes"
},
"threshold": {
"description": "Threshold",
"default": 0.9,
"type": "number",
"title": "Threshold"
}
},
"$id": "#/definitions/CommentedCode"
},
"CommitTransactionOutsideTryCatch": {
"description": "Violating transaction rules for the 'CommitTransaction' method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Violating transaction rules for the 'CommitTransaction' method",
"$id": "#/definitions/CommitTransactionOutsideTryCatch"
},
"CommonModuleAssign": {
"description": "CommonModuleAssign",
"default": true,
"type": [
"boolean",
"object"
],
"title": "CommonModuleAssign",
"$id": "#/definitions/CommonModuleAssign"
},
"CommonModuleInvalidType": {
"description": "Common module invalid type",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Common module invalid type",
"$id": "#/definitions/CommonModuleInvalidType"
},
"CommonModuleMissingAPI": {
"description": "Common module should have a programming interface",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Common module should have a programming interface",
"$id": "#/definitions/CommonModuleMissingAPI"
},
"CommonModuleNameCached": {
"description": "Missed postfix \"Cached\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missed postfix \"Cached\"",
"$id": "#/definitions/CommonModuleNameCached"
},
"CommonModuleNameClient": {
"description": "Missed postfix \"Client\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missed postfix \"Client\"",
"$id": "#/definitions/CommonModuleNameClient"
},
"CommonModuleNameClientServer": {
"description": "Missed postfix \"ClientServer\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missed postfix \"ClientServer\"",
"$id": "#/definitions/CommonModuleNameClientServer"
},
"CommonModuleNameFullAccess": {
"description": "Missed postfix \"FullAccess\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missed postfix \"FullAccess\"",
"$id": "#/definitions/CommonModuleNameFullAccess"
},
"CommonModuleNameGlobal": {
"description": "Missed postfix \"Global\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missed postfix \"Global\"",
"$id": "#/definitions/CommonModuleNameGlobal"
},
"CommonModuleNameGlobalClient": {
"description": "Global module with postfix \"Client\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Global module with postfix \"Client\"",
"$id": "#/definitions/CommonModuleNameGlobalClient"
},
"CommonModuleNameServerCall": {
"description": "Missed postfix \"ServerCall\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missed postfix \"ServerCall\"",
"$id": "#/definitions/CommonModuleNameServerCall"
},
"CommonModuleNameWords": {
"description": "Unrecommended common module name",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unrecommended common module name",
"properties": {
"words": {
"description": "Unrecommended words",
"default": "\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b|procedures|\u0444\u0443\u043d\u043a\u0446\u0438\u0438|functions|\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438|handlers|\u043c\u043e\u0434\u0443\u043b\u044c|module|\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c|functionality",
"type": "string",
"title": "Unrecommended words"
}
},
"$id": "#/definitions/CommonModuleNameWords"
},
"CompilationDirectiveLost": {
"description": "Methods compilation directive",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Methods compilation directive",
"$id": "#/definitions/CompilationDirectiveLost"
},
"CompilationDirectiveNeedLess": {
"description": "Needless compilation directive",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Needless compilation directive",
"$id": "#/definitions/CompilationDirectiveNeedLess"
},
"ConsecutiveEmptyLines": {
"description": "Consecutive empty lines",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Consecutive empty lines",
"properties": {
"allowedEmptyLinesCount": {
"description": "Maximum allowed consecutive empty lines",
"default": 1,
"type": "integer",
"title": "Maximum allowed consecutive empty lines"
}
},
"$id": "#/definitions/ConsecutiveEmptyLines"
},
"CrazyMultilineString": {
"description": "Crazy multiline literals",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Crazy multiline literals",
"$id": "#/definitions/CrazyMultilineString"
},
"CreateQueryInCycle": {
"description": "Execution query on cycle",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Execution query on cycle",
"$id": "#/definitions/CreateQueryInCycle"
},
"CyclomaticComplexity": {
"description": "Cyclomatic complexity",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Cyclomatic complexity",
"properties": {
"complexityThreshold": {
"description": "Complexity threshold",
"default": 20,
"type": "integer",
"title": "Complexity threshold"
},
"checkModuleBody": {
"description": "Check module body",
"default": true,
"type": "boolean",
"title": "Check module body"
}
},
"$id": "#/definitions/CyclomaticComplexity"
},
"DataExchangeLoading": {
"description": "There is no check for the attribute DataExchange.Load in the object's event handler",
"default": true,
"type": [
"boolean",
"object"
],
"title": "There is no check for the attribute DataExchange.Load in the object's event handler",
"properties": {
"findFirst": {
"description": "Check should go first",
"default": false,
"type": "boolean",
"title": "Check should go first"
}
},
"$id": "#/definitions/DataExchangeLoading"
},
"DeletingCollectionItem": {
"description": "Deleting an item when iterating through collection using the operator \"For each ... In ... Do\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Deleting an item when iterating through collection using the operator \"For each ... In ... Do\"",
"$id": "#/definitions/DeletingCollectionItem"
},
"DeprecatedAttributes8312": {
"description": "Deprecated 8.3.12 platform features.",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Deprecated 8.3.12 platform features.",
"$id": "#/definitions/DeprecatedAttributes8312"
},
"DeprecatedCurrentDate": {
"description": "Using of the deprecated method \"CurrentDate\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using of the deprecated method \"CurrentDate\"",
"$id": "#/definitions/DeprecatedCurrentDate"
},
"DeprecatedFind": {
"description": "Using of the deprecated method \"Find\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using of the deprecated method \"Find\"",
"$id": "#/definitions/DeprecatedFind"
},
"DeprecatedMessage": {
"description": "Restriction on the use of deprecated \"Message\" method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Restriction on the use of deprecated \"Message\" method",
"$id": "#/definitions/DeprecatedMessage"
},
"DeprecatedMethodCall": {
"description": "Deprecated methods should not be used",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Deprecated methods should not be used",
"$id": "#/definitions/DeprecatedMethodCall"
},
"DeprecatedMethods8310": {
"description": "Deprecated client application method.",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Deprecated client application method.",
"$id": "#/definitions/DeprecatedMethods8310"
},
"DeprecatedMethods8317": {
"description": "Using of deprecated platform 8.3.17 global methods",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using of deprecated platform 8.3.17 global methods",
"$id": "#/definitions/DeprecatedMethods8317"
},
"DeprecatedTypeManagedForm": {
"description": "Deprecated ManagedForm type",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Deprecated ManagedForm type",
"$id": "#/definitions/DeprecatedTypeManagedForm"
},
"DuplicateRegion": {
"description": "Duplicate regions",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Duplicate regions",
"$id": "#/definitions/DuplicateRegion"
},
"DuplicateStringLiteral": {
"description": "Duplicate string literal",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Duplicate string literal",
"properties": {
"minTextLength": {
"description": "Minimum length of a string literal (quoted)",
"default": 5,
"type": "integer",
"title": "Minimum length of a string literal (quoted)"
},
"allowedNumberCopies": {
"description": "Allowed number of copies string literals",
"default": 2,
"type": "integer",
"title": "Allowed number of copies string literals"
},
"caseSensitive": {
"description": "Case sensitive",
"default": false,
"type": "boolean",
"title": "Case sensitive"
},
"analyzeFile": {
"description": "Analyze file",
"default": false,
"type": "boolean",
"title": "Analyze file"
}
},
"$id": "#/definitions/DuplicateStringLiteral"
},
"DuplicatedInsertionIntoCollection": {
"description": "Duplicate adding or pasting a value to a collection",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Duplicate adding or pasting a value to a collection",
"properties": {
"isAllowedMethodADD": {
"description": "Analysis of methods named \"Add\" is allowed - both useful and false issues may appear",
"default": true,
"type": "boolean",
"title": "Analysis of methods named \"Add\" is allowed - both useful and false issues may appear"
}
},
"$id": "#/definitions/DuplicatedInsertionIntoCollection"
},
"EmptyCodeBlock": {
"description": "Empty code block",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Empty code block",
"properties": {
"commentAsCode": {
"description": "Comment as code",
"default": false,
"type": "boolean",
"title": "Comment as code"
}
},
"$id": "#/definitions/EmptyCodeBlock"
},
"EmptyRegion": {
"description": "The region should not be empty",
"default": true,
"type": [
"boolean",
"object"
],
"title": "The region should not be empty",
"$id": "#/definitions/EmptyRegion"
},
"EmptyStatement": {
"description": "Empty statement",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Empty statement",
"$id": "#/definitions/EmptyStatement"
},
"ExcessiveAutoTestCheck": {
"description": "Excessive AutoTest Check",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Excessive AutoTest Check",
"$id": "#/definitions/ExcessiveAutoTestCheck"
},
"ExecuteExternalCode": {
"description": "Executing of external code on the server",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Executing of external code on the server",
"$id": "#/definitions/ExecuteExternalCode"
},
"ExecuteExternalCodeInCommonModule": {
"description": "Executing of external code in a common module on the server",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Executing of external code in a common module on the server",
"$id": "#/definitions/ExecuteExternalCodeInCommonModule"
},
"ExportVariables": {
"description": "Ban export global module variables",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Ban export global module variables",
"$id": "#/definitions/ExportVariables"
},
"ExtraCommas": {
"description": "Commas without a parameter at the end of a method call",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Commas without a parameter at the end of a method call",
"$id": "#/definitions/ExtraCommas"
},
"FieldsFromJoinsWithoutIsNull": {
"description": "No NULL checks for fields from joined tables",
"default": false,
"type": [
"boolean",
"object"
],
"title": "No NULL checks for fields from joined tables",
"$id": "#/definitions/FieldsFromJoinsWithoutIsNull"
},
"ForbiddenMetadataName": {
"description": "Metadata object has a forbidden name",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Metadata object has a forbidden name",
"$id": "#/definitions/ForbiddenMetadataName"
},
"FormDataToValue": {
"description": "FormDataToValue method call",
"default": true,
"type": [
"boolean",
"object"
],
"title": "FormDataToValue method call",
"$id": "#/definitions/FormDataToValue"
},
"FullOuterJoinQuery": {
"description": "Using of \"FULL OUTER JOIN\" in queries",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using of \"FULL OUTER JOIN\" in queries",
"$id": "#/definitions/FullOuterJoinQuery"
},
"FunctionNameStartsWithGet": {
"description": "Function name shouldn't start with \"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\"",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Function name shouldn't start with \"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\"",
"$id": "#/definitions/FunctionNameStartsWithGet"
},
"FunctionOutParameter": {
"description": "Out function parameter",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Out function parameter",
"$id": "#/definitions/FunctionOutParameter"
},
"FunctionReturnsSamePrimitive": {
"description": "The function always returns the same primitive value",
"default": true,
"type": [
"boolean",
"object"
],
"title": "The function always returns the same primitive value",
"properties": {
"skipAttachable": {
"description": "Ignore attachable methods",
"default": true,
"type": "boolean",
"title": "Ignore attachable methods"
},
"caseSensitiveForString": {
"description": "Case sensitive for strings",
"default": false,
"type": "boolean",
"title": "Case sensitive for strings"
}
},
"$id": "#/definitions/FunctionReturnsSamePrimitive"
},
"FunctionShouldHaveReturn": {
"description": "The function should have return",
"default": true,
"type": [
"boolean",
"object"
],
"title": "The function should have return",
"$id": "#/definitions/FunctionShouldHaveReturn"
},
"GetFormMethod": {
"description": "GetForm method call",
"default": true,
"type": [
"boolean",
"object"
],
"title": "GetForm method call",
"$id": "#/definitions/GetFormMethod"
},
"GlobalContextMethodCollision8312": {
"description": "Global context method names collision",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Global context method names collision",
"$id": "#/definitions/GlobalContextMethodCollision8312"
},
"IdenticalExpressions": {
"description": "There are identical sub-expressions to the left and to the right of the \"foo\" operator",
"default": true,
"type": [
"boolean",
"object"
],
"title": "There are identical sub-expressions to the left and to the right of the \"foo\" operator",
"properties": {
"popularDivisors": {
"description": "There are popular division operations used for quantification (e.g. 60 or 1024 for time and bytes). Use comma-separated values which'll be ignored on both sides of division operation",
"default": "60, 1024",
"type": "string",
"title": "There are popular division operations used for quantification (e.g. 60 or 1024 for time and bytes). Use comma-separated values which'll be ignored on both sides of division operation"
}
},
"$id": "#/definitions/IdenticalExpressions"
},
"IfConditionComplexity": {
"description": "Usage of complex expressions in the \"If\" condition",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Usage of complex expressions in the \"If\" condition",
"properties": {
"maxIfConditionComplexity": {
"description": "Acceptable number of logical expressions in operator If condition",
"default": 3,
"type": "integer",
"title": "Acceptable number of logical expressions in operator If condition"
}
},
"$id": "#/definitions/IfConditionComplexity"
},
"IfElseDuplicatedCodeBlock": {
"description": "Duplicated code blocks in If...Then...ElseIf... statements",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Duplicated code blocks in If...Then...ElseIf... statements",
"$id": "#/definitions/IfElseDuplicatedCodeBlock"
},
"IfElseDuplicatedCondition": {
"description": "Duplicated conditions in If...Then...ElseIf... statements",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Duplicated conditions in If...Then...ElseIf... statements",
"$id": "#/definitions/IfElseDuplicatedCondition"
},
"IfElseIfEndsWithElse": {
"description": "Else...The...ElseIf... statement should end with Else branch",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Else...The...ElseIf... statement should end with Else branch",
"$id": "#/definitions/IfElseIfEndsWithElse"
},
"IncorrectLineBreak": {
"description": "Incorrect expression line break",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Incorrect expression line break",
"properties": {
"checkFirstSymbol": {
"description": "Check beginning of line for invalid characters",
"default": true,
"type": "boolean",
"title": "Check beginning of line for invalid characters"
},
"checkLastSymbol": {
"description": "Check end of line for invalid characters",
"default": true,
"type": "boolean",
"title": "Check end of line for invalid characters"
},
"listOfIncorrectLastSymbol": {
"description": "Vertical bar-separated characters that must not end in the line (special characters must be escaped)",
"default": "\u0418\u041b\u0418|\u0418|OR|AND|\\+|-|/|%|\\*",
"type": "string",
"title": "Vertical bar-separated characters that must not end in the line (special characters must be escaped)"
},
"listOfIncorrectFirstSymbol": {
"description": "Vertical bar-separated characters that should not start the line (special characters must be escaped)",
"default": "\\)|;|,\\s*\\S+|\\);",
"type": "string",
"title": "Vertical bar-separated characters that should not start the line (special characters must be escaped)"
}
},
"$id": "#/definitions/IncorrectLineBreak"
},
"IncorrectUseLikeInQuery": {
"description": "Incorrect use of 'LIKE'",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Incorrect use of 'LIKE'",
"$id": "#/definitions/IncorrectUseLikeInQuery"
},
"IncorrectUseOfStrTemplate": {
"description": "Incorrect use of \"StrTemplate\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Incorrect use of \"StrTemplate\"",
"$id": "#/definitions/IncorrectUseOfStrTemplate"
},
"InvalidCharacterInFile": {
"description": "Invalid character",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Invalid character",
"$id": "#/definitions/InvalidCharacterInFile"
},
"IsInRoleMethod": {
"description": "IsInRole global method call",
"default": true,
"type": [
"boolean",
"object"
],
"title": "IsInRole global method call",
"$id": "#/definitions/IsInRoleMethod"
},
"JoinWithSubQuery": {
"description": "Join with sub queries",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Join with sub queries",
"$id": "#/definitions/JoinWithSubQuery"
},
"JoinWithVirtualTable": {
"description": "Join with virtual table",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Join with virtual table",
"$id": "#/definitions/JoinWithVirtualTable"
},
"LatinAndCyrillicSymbolInWord": {
"description": "Mixing Latin and Cyrillic characters in one identifier",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Mixing Latin and Cyrillic characters in one identifier",
"properties": {
"excludeWords": {
"description": "A list of exclusion words, specified as a comma-separated string",
"default": "\u0427\u0442\u0435\u043d\u0438\u0435XML, \u0427\u0442\u0435\u043d\u0438\u0435JSON, \u0417\u0430\u043f\u0438\u0441\u044cXML, \u0417\u0430\u043f\u0438\u0441\u044cJSON, Com\u041e\u0431\u044a\u0435\u043a\u0442, \u0424\u0430\u0431\u0440\u0438\u043a\u0430XDTO, \u041e\u0431\u044a\u0435\u043a\u0442XDTO, \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435FTP, HTTP\u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, HTTP\u0417\u0430\u043f\u0440\u043e\u0441, HTTP\u0421\u0435\u0440\u0432\u0438\u0441\u041e\u0442\u0432\u0435\u0442, SMS\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, WS\u041f\u0440\u043e\u043a\u0441\u0438",
"type": "string",
"title": "A list of exclusion words, specified as a comma-separated string"
},
"allowTrailingPartsInAnotherLanguage": {
"description": "Allow a name to start or end with a word in another language",
"default": true,
"type": "boolean",
"title": "Allow a name to start or end with a word in another language"
}
},
"$id": "#/definitions/LatinAndCyrillicSymbolInWord"
},
"LineLength": {
"description": "Line Length limit",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Line Length limit",
"properties": {
"maxLineLength": {
"description": "Max length of string in characters",
"default": 120,
"type": "integer",
"title": "Max length of string in characters"
},
"checkMethodDescription": {
"description": "Check length of strings in method descriptions",
"default": true,
"type": "boolean",
"title": "Check length of strings in method descriptions"
}
},
"$id": "#/definitions/LineLength"
},
"LogicalOrInTheWhereSectionOfQuery": {
"description": "Using a logical \"OR\" in the \"WHERE\" section of a query",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using a logical \"OR\" in the \"WHERE\" section of a query",
"$id": "#/definitions/LogicalOrInTheWhereSectionOfQuery"
},
"MagicDate": {
"description": "Magic dates",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Magic dates",
"properties": {
"authorizedDates": {
"description": "Allowed dates, comma separated. Example: 00010101,00010101000000,000101010000",
"default": "00010101,00010101000000,000101010000",
"type": "string",
"title": "Allowed dates, comma separated. Example: 00010101,00010101000000,000101010000"
}
},
"$id": "#/definitions/MagicDate"
},
"MagicNumber": {
"description": "Magic numbers",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Magic numbers",
"properties": {
"allowMagicIndexes": {
"description": "allow magic indexes",
"default": true,
"type": "boolean",
"title": "allow magic indexes"
},
"authorizedNumbers": {
"description": "allowed numbers, coma separated. Example:-1,0,1,60",
"default": "-1,0,1",
"type": "string",
"title": "allowed numbers, coma separated. Example:-1,0,1,60"
}
},
"$id": "#/definitions/MagicNumber"
},
"MetadataObjectNameLength": {
"description": "Metadata object names must not exceed the allowed length",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Metadata object names must not exceed the allowed length",
"properties": {
"maxMetadataObjectNameLength": {
"description": "Permissible length of the name of the configuration object",
"default": 80,
"type": "integer",
"title": "Permissible length of the name of the configuration object"
}
},
"$id": "#/definitions/MetadataObjectNameLength"
},
"MethodSize": {
"description": "Method size",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Method size",
"properties": {
"maxMethodSize": {
"description": "Max method line count.",
"default": 200,
"type": "integer",
"title": "Max method line count."
}
},
"$id": "#/definitions/MethodSize"
},
"MissedRequiredParameter": {
"description": "Missed a required method parameter",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missed a required method parameter",
"$id": "#/definitions/MissedRequiredParameter"
},
"MissingCodeTryCatchEx": {
"description": "Missing code in Raise block in \"Try ... Raise ... EndTry\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missing code in Raise block in \"Try ... Raise ... EndTry\"",
"properties": {
"commentAsCode": {
"description": "Treat comment in Raise section as code",
"default": false,
"type": "boolean",
"title": "Treat comment in Raise section as code"
}
},
"$id": "#/definitions/MissingCodeTryCatchEx"
},
"MissingCommonModuleMethod": {
"description": "Referencing a missing common module method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Referencing a missing common module method",
"$id": "#/definitions/MissingCommonModuleMethod"
},
"MissingEventSubscriptionHandler": {
"description": "Event subscription handler missing",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Event subscription handler missing",
"$id": "#/definitions/MissingEventSubscriptionHandler"
},
"MissingParameterDescription": {
"description": "Method parameters description are missing",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Method parameters description are missing",
"$id": "#/definitions/MissingParameterDescription"
},
"MissingReturnedValueDescription": {
"description": "Function returned values description is missing",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Function returned values description is missing",
"properties": {
"allowShortDescriptionReturnValues": {
"description": "Allow short description of return values",
"default": true,
"type": "boolean",
"title": "Allow short description of return values"
}
},
"$id": "#/definitions/MissingReturnedValueDescription"
},
"MissingSpace": {
"description": "Missing spaces to the left or right of operators + - * / = % < > <> <= >=, keywords, and also to the right of , and ;",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missing spaces to the left or right of operators + - * / = % < > <> <= >=, keywords, and also to the right of , and ;",
"properties": {
"listForCheckLeftAndRight": {
"description": "List to check for the space from both sides of (separated by space)",
"default": "+ - * / = % < > <> <= >=",
"type": "string",
"title": "List to check for the space from both sides of (separated by space)"
},
"allowMultipleCommas": {
"description": "Allow several commas in a row",
"default": false,
"type": "boolean",
"title": "Allow several commas in a row"
},
"checkSpaceToRightOfUnary": {
"description": "Check for space to the right of unary signs (+ -)",
"default": false,
"type": "boolean",
"title": "Check for space to the right of unary signs (+ -)"
},
"listForCheckLeft": {
"description": "List to check for the space to the left of (separated by space)",
"default": "",
"type": "string",
"title": "List to check for the space to the left of (separated by space)"
},
"listForCheckRight": {
"description": "List to check for the space to the right of (separated by space)",
"default": ", ;",
"type": "string",
"title": "List to check for the space to the right of (separated by space)"
}
},
"$id": "#/definitions/MissingSpace"
},
"MissingTempStorageDeletion": {
"description": "Missing temporary storage data deletion after using",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Missing temporary storage data deletion after using",
"$id": "#/definitions/MissingTempStorageDeletion"
},
"MissingTemporaryFileDeletion": {
"description": "Missing temporary file deletion after using",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missing temporary file deletion after using",
"properties": {
"searchDeleteFileMethod": {
"description": "Keywords to search for delete/move files methods",
"default": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c\u0424\u0430\u0439\u043b\u044b|DeleteFiles|\u041d\u0430\u0447\u0430\u0442\u044c\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u0424\u0430\u0439\u043b\u043e\u0432|BeginDeletingFiles|\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c\u0424\u0430\u0439\u043b|MoveFile",
"type": "string",
"title": "Keywords to search for delete/move files methods"
}
},
"$id": "#/definitions/MissingTemporaryFileDeletion"
},
"MissingVariablesDescription": {
"description": "All variables declarations must have a description",
"default": true,
"type": [
"boolean",
"object"
],
"title": "All variables declarations must have a description",
"$id": "#/definitions/MissingVariablesDescription"
},
"MultilineStringInQuery": {
"description": "Multi-line literal in query",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Multi-line literal in query",
"$id": "#/definitions/MultilineStringInQuery"
},
"MultilingualStringHasAllDeclaredLanguages": {
"description": "There is a localized text for all languages declared in the configuration",
"default": true,
"type": [
"boolean",
"object"
],
"title": "There is a localized text for all languages declared in the configuration",
"properties": {
"declaredLanguages": {
"description": "Declared languages",
"default": "ru",
"type": "string",
"title": "Declared languages"
}
},
"$id": "#/definitions/MultilingualStringHasAllDeclaredLanguages"
},
"MultilingualStringUsingWithTemplate": {
"description": "Partially localized text is used in the StrTemplate function",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Partially localized text is used in the StrTemplate function",
"properties": {
"declaredLanguages": {
"description": "Declared languages",
"default": "ru",
"type": "string",
"title": "Declared languages"
}
},
"$id": "#/definitions/MultilingualStringUsingWithTemplate"
},
"NestedConstructorsInStructureDeclaration": {
"description": "Nested constructors with parameters in structure declaration",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Nested constructors with parameters in structure declaration",
"$id": "#/definitions/NestedConstructorsInStructureDeclaration"
},
"NestedFunctionInParameters": {
"description": "Initialization of method and constructor parameters by calling nested methods",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Initialization of method and constructor parameters by calling nested methods",
"properties": {
"allowOneliner": {
"description": "Allow oneliner expression",
"default": true,
"type": "boolean",
"title": "Allow oneliner expression"
},
"allowedMethodNames": {
"description": "Names of methods that are allowed to be used to initialize parameters",
"default": "\u041d\u0421\u0442\u0440,NStr,\u041f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435,PredefinedValue",
"type": "string",
"title": "Names of methods that are allowed to be used to initialize parameters"
}
},
"$id": "#/definitions/NestedFunctionInParameters"
},
"NestedStatements": {
"description": "Control flow statements should not be nested too deep",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Control flow statements should not be nested too deep",
"properties": {
"maxAllowedLevel": {
"description": "Max nested level",
"default": 4,
"type": "integer",
"title": "Max nested level"
}
},
"$id": "#/definitions/NestedStatements"
},
"NestedTernaryOperator": {
"description": "Nested ternary operator",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Nested ternary operator",
"$id": "#/definitions/NestedTernaryOperator"
},
"NonExportMethodsInApiRegion": {
"description": "Non export methods in API regions",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Non export methods in API regions",
"properties": {
"skipAnnotatedMethods": {
"description": "Skip extension annotated methods",
"default": false,
"type": "boolean",
"title": "Skip extension annotated methods"
}
},
"$id": "#/definitions/NonExportMethodsInApiRegion"
},
"NonStandardRegion": {
"description": "Non-standard region of module",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Non-standard region of module",
"$id": "#/definitions/NonStandardRegion"
},
"NumberOfOptionalParams": {
"description": "Limit number of optional parameters in method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Limit number of optional parameters in method",
"properties": {
"maxOptionalParamsCount": {
"description": "Max number of optional parameters",
"default": 3,
"type": "integer",
"title": "Max number of optional parameters"
}
},
"$id": "#/definitions/NumberOfOptionalParams"
},
"NumberOfParams": {
"description": "Number of parameters in method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Number of parameters in method",
"properties": {
"maxParamsCount": {
"description": "Max number of params count",
"default": 7,
"type": "integer",
"title": "Max number of params count"
}
},
"$id": "#/definitions/NumberOfParams"
},
"NumberOfValuesInStructureConstructor": {
"description": "Limit on the number of property values passed to the structure constructor",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Limit on the number of property values passed to the structure constructor",
"properties": {
"maxValuesCount": {
"description": "Allowed number parameter values passed to structure constructor",
"default": 3,
"type": "integer",
"title": "Allowed number parameter values passed to structure constructor"
}
},
"$id": "#/definitions/NumberOfValuesInStructureConstructor"
},
"OSUsersMethod": {
"description": "Using method OSUsers",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using method OSUsers",
"$id": "#/definitions/OSUsersMethod"
},
"OneStatementPerLine": {
"description": "One statement per line",
"default": true,
"type": [
"boolean",
"object"
],
"title": "One statement per line",
"$id": "#/definitions/OneStatementPerLine"
},
"OrderOfParams": {
"description": "Order of Parameters in method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Order of Parameters in method",
"$id": "#/definitions/OrderOfParams"
},
"OrdinaryAppSupport": {
"description": "Ordinary application support",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Ordinary application support",
"$id": "#/definitions/OrdinaryAppSupport"
},
"PairingBrokenTransaction": {
"description": "Violation of pairing using methods \"BeginTransaction()\" & \"CommitTransaction()\" / \"RollbackTransaction()\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Violation of pairing using methods \"BeginTransaction()\" & \"CommitTransaction()\" / \"RollbackTransaction()\"",
"$id": "#/definitions/PairingBrokenTransaction"
},
"ParseError": {
"description": "Source code parse error",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Source code parse error",
"$id": "#/definitions/ParseError"
},
"ProcedureReturnsValue": {
"description": "Procedure should not return Value",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Procedure should not return Value",
"$id": "#/definitions/ProcedureReturnsValue"
},
"PublicMethodsDescription": {
"description": "All public methods must have a description",
"default": true,
"type": [
"boolean",
"object"
],
"title": "All public methods must have a description",
"properties": {
"checkAllRegion": {
"description": "Test methods without regard to the areas in which they are located",
"default": false,
"type": "boolean",
"title": "Test methods without regard to the areas in which they are located"
}
},
"$id": "#/definitions/PublicMethodsDescription"
},
"QueryParseError": {
"description": "Query text parsing error",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Query text parsing error",
"$id": "#/definitions/QueryParseError"
},
"QueryToMissingMetadata": {
"description": "Using non-existent metadata in the query",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using non-existent metadata in the query",
"$id": "#/definitions/QueryToMissingMetadata"
},
"RedundantAccessToObject": {
"description": "Redundant access to an object",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Redundant access to an object",
"properties": {
"checkRecordSetModule": {
"description": "Check record set modules",
"default": true,
"type": "boolean",
"title": "Check record set modules"
},
"checkFormModule": {
"description": "Check form modules",
"default": true,
"type": "boolean",
"title": "Check form modules"
},
"checkObjectModule": {
"description": "Check object modules",
"default": true,
"type": "boolean",
"title": "Check object modules"
}
},
"$id": "#/definitions/RedundantAccessToObject"
},
"RefOveruse": {
"description": "Overuse \"Reference\" in a query",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Overuse \"Reference\" in a query",
"$id": "#/definitions/RefOveruse"
},
"RewriteMethodParameter": {
"description": "Rewrite method parameter",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Rewrite method parameter",
"$id": "#/definitions/RewriteMethodParameter"
},
"SameMetadataObjectAndChildNames": {
"description": "Same metadata object and child name",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Same metadata object and child name",
"$id": "#/definitions/SameMetadataObjectAndChildNames"
},
"ScheduledJobHandler": {
"description": "Scheduled job handler",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Scheduled job handler",
"$id": "#/definitions/ScheduledJobHandler"
},
"SelectTopWithoutOrderBy": {
"description": "Using 'SELECT TOP' without 'ORDER BY'",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using 'SELECT TOP' without 'ORDER BY'",
"properties": {
"skipSelectTopOne": {
"description": "Skip 'SELECT TOP 1' if there is 'WHERE'",
"default": true,
"type": "boolean",
"title": "Skip 'SELECT TOP 1' if there is 'WHERE'"
}
},
"$id": "#/definitions/SelectTopWithoutOrderBy"
},
"SelfAssign": {
"description": "Variable is assigned to itself",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Variable is assigned to itself",
"$id": "#/definitions/SelfAssign"
},
"SelfInsertion": {
"description": "Insert a collection into itself",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Insert a collection into itself",
"$id": "#/definitions/SelfInsertion"
},
"SemicolonPresence": {
"description": "Statement should end with semicolon symbol \";\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Statement should end with semicolon symbol \";\"",
"$id": "#/definitions/SemicolonPresence"
},
"ServerSideExportFormMethod": {
"description": "Server-side export form method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Server-side export form method",
"$id": "#/definitions/ServerSideExportFormMethod"
},
"SetPermissionsForNewObjects": {
"description": "The check box \u00abSet permissions for new objects\u00bb should only be selected for the FullAccess role",
"default": true,
"type": [
"boolean",
"object"
],
"title": "The check box \u00abSet permissions for new objects\u00bb should only be selected for the FullAccess role",
"properties": {
"namesFullAccessRole": {
"description": "Name of the role with full rights",
"default": "FullAccess,\u041f\u043e\u043b\u043d\u044b\u0435\u041f\u0440\u0430\u0432\u0430",
"type": "string",
"title": "Name of the role with full rights"
}
},
"$id": "#/definitions/SetPermissionsForNewObjects"
},
"SetPrivilegedMode": {
"description": "Using privileged mode",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using privileged mode",
"$id": "#/definitions/SetPrivilegedMode"
},
"SeveralCompilerDirectives": {
"description": "Erroneous indication of several compilation directives",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Erroneous indication of several compilation directives",
"$id": "#/definitions/SeveralCompilerDirectives"
},
"SpaceAtStartComment": {
"description": "Space at the beginning of the comment",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Space at the beginning of the comment",
"properties": {
"commentsAnnotation": {
"description": "Skip comments-annotations staring with given substrings. List, values separated by comma",
"default": "//@,//(c),//\u00a9",
"type": "string",
"title": "Skip comments-annotations staring with given substrings. List, values separated by comma"
},
"useStrictValidation": {
"description": "Use strict validation against double comments `//// Comment`",
"default": true,
"type": "boolean",
"title": "Use strict validation against double comments `//// Comment`"
}
},
"$id": "#/definitions/SpaceAtStartComment"
},
"StyleElementConstructors": {
"description": "Style element constructor",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Style element constructor",
"$id": "#/definitions/StyleElementConstructors"
},
"TempFilesDir": {
"description": "TempFilesDir() method call",
"default": true,
"type": [
"boolean",
"object"
],
"title": "TempFilesDir() method call",
"$id": "#/definitions/TempFilesDir"
},
"TernaryOperatorUsage": {
"description": "Ternary operator usage",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Ternary operator usage",
"$id": "#/definitions/TernaryOperatorUsage"
},
"ThisObjectAssign": {
"description": "ThisObject assign",
"default": true,
"type": [
"boolean",
"object"
],
"title": "ThisObject assign",
"$id": "#/definitions/ThisObjectAssign"
},
"TimeoutsInExternalResources": {
"description": "Timeouts working with external resources",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Timeouts working with external resources",
"properties": {
"analyzeInternetMailProfileZeroTimeout": {
"description": "Analyze the timeout for \"InternetMailProfile\"",
"default": true,
"type": "boolean",
"title": "Analyze the timeout for \"InternetMailProfile\""
}
},
"$id": "#/definitions/TimeoutsInExternalResources"
},
"TooManyReturns": {
"description": "Methods should not have too many return statements",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Methods should not have too many return statements",
"properties": {
"maxReturnsCount": {
"description": "Maximum allowed return statements per method",
"default": 3,
"type": "integer",
"title": "Maximum allowed return statements per method"
}
},
"$id": "#/definitions/TooManyReturns"
},
"TryNumber": {
"description": "Cast to number of try catch block",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Cast to number of try catch block",
"$id": "#/definitions/TryNumber"
},
"Typo": {
"description": "Typo",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Typo",
"properties": {
"userWordsToIgnore": {
"description": "Dictionary for excluding words (comma separated)",
"default": "",
"type": "string",
"title": "Dictionary for excluding words (comma separated)"
},
"minWordLength": {
"description": "Minimum length for checked words",
"default": 3,
"type": "integer",
"title": "Minimum length for checked words"
}
},
"$id": "#/definitions/Typo"
},
"UnaryPlusInConcatenation": {
"description": "Unary Plus sign in string concatenation",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unary Plus sign in string concatenation",
"$id": "#/definitions/UnaryPlusInConcatenation"
},
"UnionAll": {
"description": "Using keyword \"UNION\" in queries",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using keyword \"UNION\" in queries",
"$id": "#/definitions/UnionAll"
},
"UnknownPreprocessorSymbol": {
"description": "Unknown preprocessor symbol",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unknown preprocessor symbol",
"$id": "#/definitions/UnknownPreprocessorSymbol"
},
"UnreachableCode": {
"description": "Unreachable Code",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unreachable Code",
"$id": "#/definitions/UnreachableCode"
},
"UnsafeSafeModeMethodCall": {
"description": "Unsafe SafeMode method call",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unsafe SafeMode method call",
"$id": "#/definitions/UnsafeSafeModeMethodCall"
},
"UnusedLocalMethod": {
"description": "Unused local method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unused local method",
"properties": {
"attachableMethodPrefixes": {
"description": "Method prefixes (comma separated)",
"default": "\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0439_,attachable_",
"type": "string",
"title": "Method prefixes (comma separated)"
}
},
"$id": "#/definitions/UnusedLocalMethod"
},
"UnusedLocalVariable": {
"description": "Unused local variable",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unused local variable",
"$id": "#/definitions/UnusedLocalVariable"
},
"UnusedParameters": {
"description": "Unused parameter",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Unused parameter",
"$id": "#/definitions/UnusedParameters"
},
"UsageWriteLogEvent": {
"description": "Incorrect use of the method \"WriteLogEvent\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Incorrect use of the method \"WriteLogEvent\"",
"$id": "#/definitions/UsageWriteLogEvent"
},
"UseLessForEach": {
"description": "Useless collection iteration",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Useless collection iteration",
"$id": "#/definitions/UseLessForEach"
},
"UseSystemInformation": {
"description": "Use of system information",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Use of system information",
"$id": "#/definitions/UseSystemInformation"
},
"UsingCancelParameter": {
"description": "Using parameter \"Cancel\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using parameter \"Cancel\"",
"$id": "#/definitions/UsingCancelParameter"
},
"UsingExternalCodeTools": {
"description": "Using external code tools",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using external code tools",
"$id": "#/definitions/UsingExternalCodeTools"
},
"UsingFindElementByString": {
"description": "Using FindByName and FindByCode",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using FindByName and FindByCode",
"$id": "#/definitions/UsingFindElementByString"
},
"UsingGoto": {
"description": "\"goto\" statement should not be used",
"default": true,
"type": [
"boolean",
"object"
],
"title": "\"goto\" statement should not be used",
"$id": "#/definitions/UsingGoto"
},
"UsingHardcodeNetworkAddress": {
"description": "Using hardcode ip addresses in code",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using hardcode ip addresses in code",
"properties": {
"searchPopularVersionExclusion": {
"description": "Pattern to exclude popular versions from search",
"default": "^(1|2|3|8\\.3|11)\\.",
"type": "string",
"title": "Pattern to exclude popular versions from search"
},
"searchWordsExclusion": {
"description": "Keywords to exclude from search",
"default": "\u0412\u0435\u0440\u0441\u0438|Version|\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435|RunApp|\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432|Namespace|\u0414\u0440\u0430\u0439\u0432\u0435\u0440|Driver",
"type": "string",
"title": "Keywords to exclude from search"
}
},
"$id": "#/definitions/UsingHardcodeNetworkAddress"
},
"UsingHardcodePath": {
"description": "Using hardcode file paths in code",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using hardcode file paths in code",
"properties": {
"searchWordsStdPathsUnix": {
"description": "Search keywords for standard Unix root folders",
"default": "bin|boot|dev|etc|home|lib|lost\\+found|misc|mnt|media|opt|proc|root|run|sbin|tmp|usr|var",
"type": "string",
"title": "Search keywords for standard Unix root folders"
}
},
"$id": "#/definitions/UsingHardcodePath"
},
"UsingHardcodeSecretInformation": {
"description": "Storing confidential information in code",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Storing confidential information in code",
"properties": {
"searchWords": {
"description": "Search keywords for confidential information in variables, structures, mappings.",
"default": "\u041f\u0430\u0440\u043e\u043b\u044c|Password",
"type": "string",
"title": "Search keywords for confidential information in variables, structures, mappings."
}
},
"$id": "#/definitions/UsingHardcodeSecretInformation"
},
"UsingLikeInQuery": {
"description": "Using 'LIKE' in query",
"default": false,
"type": [
"boolean",
"object"
],
"title": "Using 'LIKE' in query",
"$id": "#/definitions/UsingLikeInQuery"
},
"UsingModalWindows": {
"description": "Using modal windows",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using modal windows",
"properties": {
"forceModalityMode": {
"description": "Ignore configurations modality mode",
"default": false,
"type": "boolean",
"title": "Ignore configurations modality mode"
}
},
"$id": "#/definitions/UsingModalWindows"
},
"UsingObjectNotAvailableUnix": {
"description": "Using unavailable in Unix objects",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using unavailable in Unix objects",
"$id": "#/definitions/UsingObjectNotAvailableUnix"
},
"UsingServiceTag": {
"description": "Using service tags",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using service tags",
"properties": {
"serviceTags": {
"description": "Service tags",
"default": "todo|fixme|!!|mrg|@|\u043e\u0442\u043b\u0430\u0434\u043a\u0430|debug|\u0434\u043b\u044f\\s*\u043e\u0442\u043b\u0430\u0434\u043a\u0438|(\\{\\{|\\}\\})\u041a\u041e\u041d\u0421\u0422\u0420\u0423\u041a\u0422\u041e\u0420_|(\\{\\{|\\}\\})MRG|\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c\\s*\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435\\s*\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430|Paste\\s*handler\\s*content|Insert\\s*handler\\s*code|Insert\\s*handler\\s*content|Insert\\s*handler\\s*contents",
"type": "string",
"title": "Service tags"
}
},
"$id": "#/definitions/UsingServiceTag"
},
"UsingSynchronousCalls": {
"description": "Using synchronous calls",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using synchronous calls",
"$id": "#/definitions/UsingSynchronousCalls"
},
"UsingThisForm": {
"description": "Using deprecated property \"ThisForm\"",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using deprecated property \"ThisForm\"",
"$id": "#/definitions/UsingThisForm"
},
"VirtualTableCallWithoutParameters": {
"description": "Virtual table call without parameters",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Virtual table call without parameters",
"$id": "#/definitions/VirtualTableCallWithoutParameters"
},
"WrongDataPathForFormElements": {
"description": "Form fields do not have a data path",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Form fields do not have a data path",
"$id": "#/definitions/WrongDataPathForFormElements"
},
"WrongHttpServiceHandler": {
"description": "Missing handler for http service",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Missing handler for http service",
"$id": "#/definitions/WrongHttpServiceHandler"
},
"WrongUseFunctionProceedWithCall": {
"description": "Wrong use of ProceedWithCall function",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Wrong use of ProceedWithCall function",
"$id": "#/definitions/WrongUseFunctionProceedWithCall"
},
"WrongUseOfRollbackTransactionMethod": {
"description": "Not recommended using of RollbackTransaction method",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Not recommended using of RollbackTransaction method",
"$id": "#/definitions/WrongUseOfRollbackTransactionMethod"
},
"WrongWebServiceHandler": {
"description": "Wrong handler for web service",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Wrong handler for web service",
"$id": "#/definitions/WrongWebServiceHandler"
},
"YoLetterUsage": {
"description": "Using Russian character \"yo\" (\"\u0451\") in code",
"default": true,
"type": [
"boolean",
"object"
],
"title": "Using Russian character \"yo\" (\"\u0451\") in code",
"$id": "#/definitions/YoLetterUsage"
}
}
}