Behold!\n \n ' After the quick-fix is applied: '\n
\n
Behold!
\n \n '",
- "markdown": "Reports an HTML element without a closing tag. Some coding styles require that HTML elements have closing tags even where this is optional.\n\n**Example:**\n\n\n \n \n
Behold!\n \n \n\nAfter the quick-fix is applied:\n\n\n \n
\n
Behold!
\n \n \n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "HtmlMissingClosingTag",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "HTML",
- "index": 9,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "XmlInvalidId",
- "shortDescription": {
- "text": "Unresolved 'id' reference"
- },
- "fullDescription": {
- "text": "Reports an unresolved 'id' reference in XML.",
- "markdown": "Reports an unresolved `id` reference in XML."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "XmlInvalidId",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "XML",
- "index": 53,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "XmlDeprecatedElement",
- "shortDescription": {
- "text": "Deprecated symbol"
- },
- "fullDescription": {
- "text": "Reports a deprecated XML element or attribute. Symbols can be marked by XML comment or documentation tag with text 'deprecated'.",
- "markdown": "Reports a deprecated XML element or attribute.\n\nSymbols can be marked by XML comment or documentation tag with text 'deprecated'."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "XmlDeprecatedElement",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "XML",
- "index": 53,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "RegExpAnonymousGroup",
- "shortDescription": {
- "text": "Anonymous capturing group or numeric back reference"
- },
- "fullDescription": {
- "text": "Reports anonymous capturing groups and numeric back references in a RegExp. These are only reported when the RegExp dialect supports named group and named group references. Named groups and named back references improve code readability and are recommended to use instead. When a capture is not needed, matching can be more performant and use less memory by using a non-capturing group, i.e. '(?:xxx)' instead of '(xxx)'. Example: '(\\d\\d\\d\\d)\\1' A better regex pattern could look like this: '(?\\d\\d\\d\\d)\\k' New in 2017.2",
- "markdown": "Reports anonymous capturing groups and numeric back references in a RegExp. These are only reported when the RegExp dialect supports named group and named group references. Named groups and named back references improve code readability and are recommended to use instead. When a capture is not needed, matching can be more performant and use less memory by using a non-capturing group, i.e. `(?:xxx)` instead of `(xxx)`.\n\n**Example:**\n\n\n (\\d\\d\\d\\d)\\1\n\nA better regex pattern could look like this:\n\n\n (?\\d\\d\\d\\d)\\k\n\nNew in 2017.2"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "RegExpAnonymousGroup",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "RegExp",
- "index": 56,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "RegExpRepeatedSpace",
- "shortDescription": {
- "text": "Consecutive spaces"
- },
- "fullDescription": {
- "text": "Reports multiple consecutive spaces in a RegExp. Because spaces are not visible by default, it can be hard to see how many spaces are required. The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier. Example: '( )' After the quick-fix is applied: '( {5})' New in 2017.1",
- "markdown": "Reports multiple consecutive spaces in a RegExp. Because spaces are not visible by default, it can be hard to see how many spaces are required. The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier.\n\n**Example:**\n\n\n ( )\n\nAfter the quick-fix is applied:\n\n\n ( {5})\n\n\nNew in 2017.1"
- },
- "defaultConfiguration": {
- "enabled": true,
- "level": "warning",
- "parameters": {
- "suppressToolId": "RegExpRepeatedSpace",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "RegExp",
- "index": 56,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "InconsistentLineSeparators",
- "shortDescription": {
- "text": "Inconsistent line separators"
- },
- "fullDescription": {
- "text": "Reports files with line separators different from the ones that are specified in the project's settings. For example, the inspection will be triggered if you set the line separator to '\\n' in Settings | Editor | Code Style | Line separator, while the file you are editing uses '\\r\\n' as a line separator. The inspection also warns you about mixed line separators within a file.",
- "markdown": "Reports files with line separators different from the ones that are specified in the project's settings.\n\nFor example, the inspection will be triggered if you set the line separator to `\\n` in\n[Settings \\| Editor \\| Code Style \\| Line separator](settings://preferences.sourceCode?Line%20separator),\nwhile the file you are editing uses `\\r\\n` as a line separator.\n\nThe inspection also warns you about mixed line separators within a file."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "InconsistentLineSeparators",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "General",
- "index": 45,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ProblematicWhitespace",
- "shortDescription": {
- "text": "Problematic whitespace"
- },
- "fullDescription": {
- "text": "Reports the following problems: Tabs used for indentation when the code style is configured to use only spaces. Spaces used for indentation when the code style is configured to use only tabs. Spaces used for indentation and tabs used for alignment when the code style is configured to use smart tabs.",
- "markdown": "Reports the following problems:\n\n* Tabs used for indentation when the code style is configured to use only spaces.\n* Spaces used for indentation when the code style is configured to use only tabs.\n* Spaces used for indentation and tabs used for alignment when the code style is configured to use smart tabs."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ProblematicWhitespace",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "General",
- "index": 45,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "LongLine",
- "shortDescription": {
- "text": "Line is longer than allowed by code style"
- },
- "fullDescription": {
- "text": "Reports lines that are longer than the Hard wrap at parameter specified in Settings | Editor | Code Style | General.",
- "markdown": "Reports lines that are longer than the **Hard wrap at** parameter specified in [Settings \\| Editor \\| Code Style \\| General](settings://preferences.sourceCode?Hard%20wrap%20at)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "LongLine",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "General",
- "index": 45,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "HtmlUnknownTag",
- "shortDescription": {
- "text": "Unknown tag"
- },
- "fullDescription": {
- "text": "Reports an unknown HTML tag. Suggests configuring tags that should not be reported.",
- "markdown": "Reports an unknown HTML tag. Suggests configuring tags that should not be reported."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "HtmlUnknownTag",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "HTML",
- "index": 9,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "XmlHighlighting",
- "shortDescription": {
- "text": "XML highlighting"
- },
- "fullDescription": {
- "text": "Reports XML validation problems in the results of a batch code inspection.",
- "markdown": "Reports XML validation problems in the results of a batch code inspection."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "XmlHighlighting",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "XML",
- "index": 53,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "RegExpDuplicateCharacterInClass",
- "shortDescription": {
- "text": "Duplicate character in character class"
- },
- "fullDescription": {
- "text": "Reports duplicate characters inside a RegExp character class. Duplicate characters are unnecessary and can be removed without changing the semantics of the regex. Example: '[aabc]' After the quick-fix is applied: '[abc]'",
- "markdown": "Reports duplicate characters inside a RegExp character class. Duplicate characters are unnecessary and can be removed without changing the semantics of the regex.\n\n**Example:**\n\n\n [aabc]\n\nAfter the quick-fix is applied:\n\n\n [abc]\n"
- },
- "defaultConfiguration": {
- "enabled": true,
- "level": "warning",
- "parameters": {
- "suppressToolId": "RegExpDuplicateCharacterInClass",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "RegExp",
- "index": 56,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "RequiredAttributes",
- "shortDescription": {
- "text": "Missing required attribute"
- },
- "fullDescription": {
- "text": "Reports a missing mandatory attribute in an XML/HTML tag. Suggests configuring attributes that should not be reported.",
- "markdown": "Reports a missing mandatory attribute in an XML/HTML tag. Suggests configuring attributes that should not be reported."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "RequiredAttributes",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "HTML",
- "index": 9,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "RegExpRedundantClassElement",
- "shortDescription": {
- "text": "Redundant '\\d', '[:digit:]', or '\\D' class elements"
- },
- "fullDescription": {
- "text": "Reports redundant '\\d' or '[:digit:]' that are used in one class with '\\w' or '[:word:]' ('\\D' with '\\W') and can be removed. Example: '[\\w\\d]' After the quick-fix is applied: '[\\w]' New in 2022.2",
- "markdown": "Reports redundant `\\d` or `[:digit:]` that are used in one class with `\\w` or `[:word:]` (`\\D` with `\\W`) and can be removed.\n\n**Example:**\n\n\n [\\w\\d]\n\nAfter the quick-fix is applied:\n\n\n [\\w]\n\nNew in 2022.2"
- },
- "defaultConfiguration": {
- "enabled": true,
- "level": "note",
- "parameters": {
- "suppressToolId": "RegExpRedundantClassElement",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "RegExp",
- "index": 56,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "Json5StandardCompliance",
- "shortDescription": {
- "text": "Compliance with JSON5 standard"
- },
- "fullDescription": {
- "text": "Reports inconsistency with the language specification in a JSON5 file.",
- "markdown": "Reports inconsistency with [the language specification](http://json5.org) in a JSON5 file."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "Json5StandardCompliance",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JSON and JSON5",
- "index": 88,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "HtmlWrongAttributeValue",
- "shortDescription": {
- "text": "Wrong attribute value"
- },
- "fullDescription": {
- "text": "Reports an incorrect HTML attribute value.",
- "markdown": "Reports an incorrect HTML attribute value."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "HtmlWrongAttributeValue",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "HTML",
- "index": 9,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "MsbuildTargetFrameworkTagInspection",
- "shortDescription": {
- "text": "TargetFramework tag checks"
- },
- "fullDescription": {
- "text": "RIDER-83136",
- "markdown": "[RIDER-83136](https://youtrack.jetbrains.com/issue/RIDER-83136/)"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "MsbuildTargetFrameworkTagInspection",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "MSBuild",
- "index": 165,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "CheckValidXmlInScriptTagBody",
- "shortDescription": {
- "text": "Malformed content of 'script' tag"
- },
- "fullDescription": {
- "text": "Reports contents of 'script' tags that are invalid XML. Example: '' After the quick-fix is applied: ''",
- "markdown": "Reports contents of `script` tags that are invalid XML. \n\n**Example:**\n\n\n \n\nAfter the quick-fix is applied:\n\n\n \n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "CheckValidXmlInScriptTagBody",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "HTML",
- "index": 9,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "HtmlUnknownAnchorTarget",
- "shortDescription": {
- "text": "Unresolved fragment in a link"
- },
- "fullDescription": {
- "text": "Reports an unresolved last part of an URL after the '#' sign.",
- "markdown": "Reports an unresolved last part of an URL after the `#` sign."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "HtmlUnknownAnchorTarget",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "HTML",
- "index": 9,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "Annotator",
- "shortDescription": {
- "text": "Annotator"
- },
- "fullDescription": {
- "text": "Reports issues essential to this file (e.g., syntax errors) in the result of a batch code inspection run. These issues are usually always highlighted in the editor and can't be configured, unlike inspections. These options control the scope of checks performed by this inspection: Option \"Report syntax errors\": report parser-related issues. Option \"Report issues from language-specific annotators\": report issues found by annotators configured for the relevant language. See Custom Language Support: Annotators for details. Option \"Report other highlighting problems\": report issues specific to the language of the current file (e.g., type mismatches or unreported exceptions). See Custom Language Support: Highlighting for details.",
- "markdown": "Reports issues essential to this file (e.g., syntax errors) in the result of a batch code inspection run. These issues are usually always highlighted in the editor and can't be configured, unlike inspections. These options control the scope of checks performed by this inspection:\n\n* Option \"**Report syntax errors**\": report parser-related issues.\n* Option \"**Report issues from language-specific annotators** \": report issues found by annotators configured for the relevant language. See [Custom Language Support: Annotators](https://plugins.jetbrains.com/docs/intellij/annotator.html) for details.\n* Option \"**Report other highlighting problems** \": report issues specific to the language of the current file (e.g., type mismatches or unreported exceptions). See [Custom Language Support: Highlighting](https://plugins.jetbrains.com/docs/intellij/syntax-highlighting-and-error-highlighting.html#semantic-highlighting) for details."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "Annotator",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "General",
- "index": 45,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JsonDuplicatePropertyKeys",
- "shortDescription": {
- "text": "Duplicate keys in object literals"
- },
- "fullDescription": {
- "text": "Reports a duplicate key in an object literal.",
- "markdown": "Reports a duplicate key in an object literal."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JsonDuplicatePropertyKeys",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JSON and JSON5",
- "index": 88,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- }
- ],
- "language": "en-US",
- "contents": [
- "localizedData",
- "nonLocalizedData"
- ],
- "isComprehensive": false
- },
- {
- "name": "JavaScript",
- "version": "232.8660.212",
- "rules": [
- {
- "id": "FlowJSError",
- "shortDescription": {
- "text": "Flow type checker"
- },
- "fullDescription": {
- "text": "Reports errors from Flow.",
- "markdown": "Reports errors from [Flow](https://flowtype.org/)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "FlowJSError",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Flow type checker",
- "index": 11,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ShiftOutOfRangeJS",
- "shortDescription": {
- "text": "Shift operation by possibly wrong constant"
- },
- "fullDescription": {
- "text": "Reports a shift operation where the second operand is a constant outside the reasonable range, for example, an integer shift operation outside the range '0..31', shifting by negative or overly large values.",
- "markdown": "Reports a shift operation where the second operand is a constant outside the reasonable range, for example, an integer shift operation outside the range `0..31`, shifting by negative or overly large values."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ShiftOutOfRangeJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Bitwise operation issues",
- "index": 14,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSClosureCompilerSyntax",
- "shortDescription": {
- "text": "Incorrect usage of JSDoc tags"
- },
- "fullDescription": {
- "text": "Reports warnings implied by Google Closure Compiler annotations including correct use of '@abstract', '@interface', and '@implements' tags.",
- "markdown": "Reports warnings implied by *Google Closure Compiler* annotations including correct use of `@abstract`, `@interface`, and `@implements` tags."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSClosureCompilerSyntax",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "BadExpressionStatementJS",
- "shortDescription": {
- "text": "Expression statement which is not assignment or call"
- },
- "fullDescription": {
- "text": "Reports an expression statement that is neither an assignment nor a call. Such statements usually indicate an error.",
- "markdown": "Reports an expression statement that is neither an assignment nor a call. Such statements usually indicate an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "BadExpressionStatementJS",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Validity issues",
- "index": 20,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ContinueStatementJS",
- "shortDescription": {
- "text": "'continue' statement"
- },
- "fullDescription": {
- "text": "Reports a 'continue' statement.",
- "markdown": "Reports a `continue` statement."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ContinueStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSXSyntaxUsed",
- "shortDescription": {
- "text": "JSX syntax used"
- },
- "fullDescription": {
- "text": "Reports a usage of a JSX tag in JavaScript code.",
- "markdown": "Reports a usage of a JSX tag in JavaScript code."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "JSXSyntaxUsed",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSJoinVariableDeclarationAndAssignment",
- "shortDescription": {
- "text": "Variable declaration can be merged with the first assignment to the variable"
- },
- "fullDescription": {
- "text": "Reports a variable that is declared without an initializer and is used much further in the code or in a single nested scope. Suggests moving the variable closer to its usages and joining it with the initializer expression.",
- "markdown": "Reports a variable that is declared without an initializer and is used much further in the code or in a single nested scope. Suggests moving the variable closer to its usages and joining it with the initializer expression."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSJoinVariableDeclarationAndAssignment",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ConvertModuleExportToExport",
- "shortDescription": {
- "text": "'module.exports' is used instead of 'export'"
- },
- "fullDescription": {
- "text": "Reports a 'module.export' statement. Suggests replacing it with an 'export' or 'export default' statement. Please note that the quick-fix for converting 'module.export' into 'export' is not available for 'module.export' inside functions or statements because 'export' statements can only be at the top level of a module.",
- "markdown": "Reports a `module.export` statement. Suggests replacing it with an `export` or `export default` statement. \n\nPlease note that the quick-fix for converting `module.export` into `export` is not available for `module.export` inside functions or statements because `export` statements can only be at the top level of a module."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6ConvertModuleExportToExport",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "DocumentWriteJS",
- "shortDescription": {
- "text": "Call to 'document.write()'"
- },
- "fullDescription": {
- "text": "Reports a method call to 'document.write()' or 'document.writeln()'. Most usages of such calls are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, the 'write()' and 'writeln()' calls will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can result in difficulty to point out bugs.",
- "markdown": "Reports a method call to `document.write()` or `document.writeln()`. Most usages of such calls are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, the `write()` and `writeln()` calls will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can result in difficulty to point out bugs."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "DocumentWriteJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/DOM issues",
- "index": 49,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "IncompatibleMaskJS",
- "shortDescription": {
- "text": "Incompatible bitwise mask operation"
- },
- "fullDescription": {
- "text": "Reports a bitwise mask expression which for sure evaluates to 'true' or 'false'. Expressions are of the form '(var & constant1) == constant2' or '(var | constant1) == constant2', where 'constant1' and 'constant2' are incompatible bitmask constants. Example: '// Incompatible mask: as the last byte in mask is zero,\n// something like 0x1200 would be possible, but not 0x1234\nif ((mask & 0xFF00) == 0x1234) {...}'",
- "markdown": "Reports a bitwise mask expression which for sure evaluates to `true` or `false`. Expressions are of the form `(var & constant1) == constant2` or `(var | constant1) == constant2`, where `constant1` and `constant2` are incompatible bitmask constants.\n\nExample:\n\n\n // Incompatible mask: as the last byte in mask is zero,\n // something like 0x1200 would be possible, but not 0x1234\n if ((mask & 0xFF00) == 0x1234) {...}\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "IncompatibleBitwiseMaskOperation",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Bitwise operation issues",
- "index": 14,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSDuplicatedDeclaration",
- "shortDescription": {
- "text": "Duplicate declaration"
- },
- "fullDescription": {
- "text": "Reports multiple declarations in a scope.",
- "markdown": "Reports multiple declarations in a scope."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSDuplicatedDeclaration",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptValidateGenericTypes",
- "shortDescription": {
- "text": "Incorrect generic type argument"
- },
- "fullDescription": {
- "text": "Reports an invalid type argument in a function, interface, or class declaration.",
- "markdown": "Reports an invalid type argument in a function, interface, or class declaration."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "TypeScriptValidateGenericTypes",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSFileReferences",
- "shortDescription": {
- "text": "Unresolved file reference"
- },
- "fullDescription": {
- "text": "Reports an unresolved file reference in a JavaScript file, including CommonJS and AMD modules references.",
- "markdown": "Reports an unresolved file reference in a JavaScript file, including CommonJS and AMD modules references."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSFileReferences",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FunctionWithInconsistentReturnsJS",
- "shortDescription": {
- "text": "Function with inconsistent returns"
- },
- "fullDescription": {
- "text": "Reports a function that returns a value in some cases while in other cases no value is returned. This usually indicates an error. Example: 'function foo() {\n if (true)\n return 3;\n return;\n}'",
- "markdown": "Reports a function that returns a value in some cases while in other cases no value is returned. This usually indicates an error.\n\nExample:\n\n\n function foo() {\n if (true)\n return 3;\n return;\n }\n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FunctionWithInconsistentReturnsJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Validity issues",
- "index": 20,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ClassMemberInitializationOrder",
- "shortDescription": {
- "text": "Use of possibly unassigned property in a static initializer"
- },
- "fullDescription": {
- "text": "Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet. Initialization of class members happens consequently for fields, so a field cannot reference another field that is declared later.",
- "markdown": "Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet. \n\nInitialization of class members happens consequently for fields, so a field cannot reference another field that is declared later."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ES6ClassMemberInitializationOrder",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NestedFunctionJS",
- "shortDescription": {
- "text": "Nested function"
- },
- "fullDescription": {
- "text": "Reports a function nested inside another function. Although JavaScript allows functions to be nested, such constructs may be confusing. Use the checkbox below to ignore anonymous nested functions.",
- "markdown": "Reports a function nested inside another function. Although JavaScript allows functions to be nested, such constructs may be confusing.\n\n\nUse the checkbox below to ignore anonymous nested functions."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NestedFunctionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptUMDGlobal",
- "shortDescription": {
- "text": "Referenced UMD global variable"
- },
- "fullDescription": {
- "text": "Reports a usage of a Universal Module Definition (UMD) global variable if the current file is a module (ECMAScript or CommonJS). Referencing UMD variables without explicit imports can lead to a runtime error if the library isn't included implicitly.",
- "markdown": "Reports a usage of a Universal Module Definition (UMD) global variable if the current file is a module (ECMAScript or CommonJS). Referencing UMD variables without explicit imports can lead to a runtime error if the library isn't included implicitly."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptUMDGlobal",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnnecessaryReturnJS",
- "shortDescription": {
- "text": "Unnecessary 'return' statement"
- },
- "fullDescription": {
- "text": "Reports an unnecessary 'return' statement, that is, a 'return' statement that returns no value and occurs just before the function would have \"fallen through\" the bottom. These statements may be safely removed.",
- "markdown": "Reports an unnecessary `return` statement, that is, a `return` statement that returns no value and occurs just before the function would have \"fallen through\" the bottom. These statements may be safely removed."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnnecessaryReturnStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "StandardJS",
- "shortDescription": {
- "text": "Standard code style"
- },
- "fullDescription": {
- "text": "Reports a discrepancy detected by the JavaScript Standard Style linter. The highlighting severity in the editor is based on the severity level the linter reports.",
- "markdown": "Reports a discrepancy detected by the [JavaScript Standard Style](https://standardjs.com/) linter. \n\nThe highlighting severity in the editor is based on the severity level the linter reports."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "StandardJS",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code quality tools",
- "index": 72,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSCommentMatchesSignature",
- "shortDescription": {
- "text": "Mismatched JSDoc and function signature"
- },
- "fullDescription": {
- "text": "Reports mismatch between the names and the number of parameters within a JSDoc comment and the actual parameters of a function. Suggests updating parameters in JSDoc comment. Example: '/**\n * @param height Height in pixels\n */\nfunction sq(height, width) {} // width is not documented' After the quick-fix is applied: '/**\n * @param height Height in pixels\n * @param width\n */\nfunction sq(height, width) {}'",
- "markdown": "Reports mismatch between the names and the number of parameters within a JSDoc comment and the actual parameters of a function. Suggests updating parameters in JSDoc comment.\n\n**Example:**\n\n\n /**\n * @param height Height in pixels\n */\n function sq(height, width) {} // width is not documented\n\nAfter the quick-fix is applied:\n\n\n /**\n * @param height Height in pixels\n * @param width\n */\n function sq(height, width) {}\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSCommentMatchesSignature",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FunctionWithMultipleReturnPointsJS",
- "shortDescription": {
- "text": "Function with multiple return points"
- },
- "fullDescription": {
- "text": "Reports a function with multiple return points. Such functions are hard to understand and maintain.",
- "markdown": "Reports a function with multiple return points. Such functions are hard to understand and maintain."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FunctionWithMultipleReturnPointsJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Function metrics",
- "index": 79,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSRemoveUnnecessaryParentheses",
- "shortDescription": {
- "text": "Unnecessary parentheses"
- },
- "fullDescription": {
- "text": "Reports redundant parentheses. In expressions: 'var x = ((1) + 2) + 3' In arrow function argument lists: 'var incrementer = (x) => x + 1' In TypeScript and Flow type declarations: 'type Card = (Suit & Rank) | (Suit & Number)'",
- "markdown": "Reports redundant parentheses.\n\nIn expressions:\n\n var x = ((1) + 2) + 3\n\nIn arrow function argument lists:\n\n var incrementer = (x) => x + 1\n\nIn TypeScript and Flow type declarations:\n\n type Card = (Suit & Rank) | (Suit & Number)\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSRemoveUnnecessaryParentheses",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "CommaExpressionJS",
- "shortDescription": {
- "text": "Comma expression"
- },
- "fullDescription": {
- "text": "Reports a comma expression. Such expressions are often a sign of overly clever code, and may lead to subtle bugs. Comma expressions in the initializer or in the update section of 'for' loops are ignored.",
- "markdown": "Reports a comma expression. Such expressions are often a sign of overly clever code, and may lead to subtle bugs. Comma expressions in the initializer or in the update section of `for` loops are ignored."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "CommaExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6BindWithArrowFunction",
- "shortDescription": {
- "text": "Suspicious usage of 'bind' with arrow function"
- },
- "fullDescription": {
- "text": "Reports 'bind' used together with an arrow function. Because arrow functions use lexical 'this', a 'bind' call will have no effect on them. See here for details.",
- "markdown": "Reports `bind` used together with an arrow function. \nBecause arrow functions use lexical `this`, a `bind` call will have no effect on them. \nSee [here](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Functions/Arrow_functions#Lexical_this) for details."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ES6BindWithArrowFunction",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSBitwiseOperatorUsage",
- "shortDescription": {
- "text": "Bitwise operator usage"
- },
- "fullDescription": {
- "text": "Reports a suspicious usage of a bitwise AND (\"'&'\") or OR (\"'|'\") operator. Usually it is a typo and the result of applying boolean operations AND (\"'&&'\") and OR (\"'||'\") is expected.",
- "markdown": "Reports a suspicious usage of a bitwise AND (\"`&`\") or OR (\"`|`\") operator. Usually it is a typo and the result of applying boolean operations AND (\"`&&`\") and OR (\"`||`\") is expected."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSBitwiseOperatorUsage",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Bitwise operation issues",
- "index": 14,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "IfStatementWithIdenticalBranchesJS",
- "shortDescription": {
- "text": "'if' statement with identical branches"
- },
- "fullDescription": {
- "text": "Reports an 'if' statement with identical 'then' and 'else' branches. Such statements are almost certainly an error.",
- "markdown": "Reports an `if` statement with identical `then` and `else` branches. Such statements are almost certainly an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "IfStatementWithIdenticalBranchesJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSConsecutiveCommasInArrayLiteral",
- "shortDescription": {
- "text": "Consecutive commas in array literal"
- },
- "fullDescription": {
- "text": "Reports a consecutive comma in an array literal. The skipped element accepts the 'undefined' value, but it could be done unintentionally, for example, when commas are at the end of one line and at the beginning of the next one.",
- "markdown": "Reports a consecutive comma in an array literal. The skipped element accepts the `undefined` value, but it could be done unintentionally, for example, when commas are at the end of one line and at the beginning of the next one."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSConsecutiveCommasInArrayLiteral",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSValidateTypes",
- "shortDescription": {
- "text": "Type mismatch"
- },
- "fullDescription": {
- "text": "Reports incorrect type of: a parameter in a function call a return value an assigned expression TypeScript code is ignored.",
- "markdown": "Reports incorrect type of:\n\n* a parameter in a function call\n* a return value\n* an assigned expression\n\nTypeScript code is ignored."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSValidateTypes",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSPotentiallyInvalidUsageOfClassThis",
- "shortDescription": {
- "text": "Potentially invalid reference to 'this' of a class from closure"
- },
- "fullDescription": {
- "text": "Reports an attempt to reference a member of an ECMAScript class via the 'this.' qualifier in a nested function that is not a lambda. 'this' in a nested function that is not a lambda is the function's own 'this' and doesn't relate to the outer class.",
- "markdown": "Reports an attempt to reference a member of an ECMAScript class via the `this.` qualifier in a nested function that is not a lambda. \n`this` in a nested function that is not a lambda is the function's own `this` and doesn't relate to the outer class."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSPotentiallyInvalidUsageOfClassThis",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnnecessaryContinueJS",
- "shortDescription": {
- "text": "Unnecessary 'continue' statement"
- },
- "fullDescription": {
- "text": "Reports an unnecessary 'continue' statement at the end of a loop. Suggests removing such statements.",
- "markdown": "Reports an unnecessary `continue` statement at the end of a loop. Suggests removing such statements."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnnecessaryContinueJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "BreakStatementWithLabelJS",
- "shortDescription": {
- "text": "'break' statement with label"
- },
- "fullDescription": {
- "text": "Reports a labeled 'break' statement.",
- "markdown": "Reports a labeled `break` statement."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "BreakStatementWithLabelJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSDeclarationsAtScopeStart",
- "shortDescription": {
- "text": "'var' declared not at the beginning of a function"
- },
- "fullDescription": {
- "text": "Checks that declarations of local variables declared with var are at the top of a function scope. By default, variable declarations are always moved (\"hoisted\") invisibly to the top of their containing scope when the code is executed. Therefore, declaring them at the top of the scope helps represent this behavior in the code.",
- "markdown": "Checks that declarations of local variables declared with **var** are at the top of a function scope. \n\nBy default, variable declarations are always moved (\"hoisted\") invisibly to the top of their containing scope when the code is executed. Therefore, declaring them at the top of the scope helps represent this behavior in the code."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSDeclarationsAtScopeStart",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ConvertIndexedForToForOf",
- "shortDescription": {
- "text": "Indexed 'for' is used instead of 'for..of'"
- },
- "fullDescription": {
- "text": "Reports an indexed 'for' loop used on an array. Suggests replacing it with a 'for..of' loop. 'for..of' loops are introduced in ECMAScript 6 and iterate over 'iterable' objects.",
- "markdown": "Reports an indexed [for](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for) loop used on an array. Suggests replacing it with a [for..of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of) loop. \n`for..of` loops are introduced in ECMAScript 6 and iterate over `iterable` objects."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6ConvertIndexedForToForOf",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ConvertVarToLetConst",
- "shortDescription": {
- "text": "'var' is used instead of 'let' or 'const'"
- },
- "fullDescription": {
- "text": "Reports a 'var' declaration that is used instead of 'let' or 'const'. Both 'let' and 'const' are block-scoped and behave more strictly. Suggests replacing all 'var' declarations with 'let' or 'const' declarations, depending on the semantics of a particular value. The declarations may be moved to the top of the function or placed before the first usage of the variable to avoid Reference errors. Select the 'Conservatively convert var with Fix all action' option to prevent any changes in these complex cases when using the 'Fix all' action.",
- "markdown": "Reports a `var` declaration that is used instead of `let` or `const`. \nBoth `let` and `const` are block-scoped and behave more strictly. \n\nSuggests replacing all `var` declarations with `let` or `const` declarations, depending on the semantics of a particular value. The declarations may be moved to the top of the function or placed before the first usage of the variable to avoid Reference errors. \nSelect the 'Conservatively convert var with Fix all action' option to prevent any changes in these complex cases when using the 'Fix all' action."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6ConvertVarToLetConst",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "DynamicallyGeneratedCodeJS",
- "shortDescription": {
- "text": "Execution of dynamically generated code"
- },
- "fullDescription": {
- "text": "Reports a call of the 'eval()', 'setTimeout()', or 'setInterval()' function or an allocation of a 'Function' object. These functions are used to execute arbitrary strings of JavaScript text, which often dynamically generated. This can be very confusing, and may be a security risk. Ignores the cases when a callback function is provided to these methods statically, without code generation.",
- "markdown": "Reports a call of the `eval()`, `setTimeout()`, or `setInterval()` function or an allocation of a `Function` object. These functions are used to execute arbitrary strings of JavaScript text, which often dynamically generated. This can be very confusing, and may be a security risk. \n\nIgnores the cases when a callback function is provided to these methods statically, without code generation."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "DynamicallyGeneratedCodeJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnusedCatchParameterJS",
- "shortDescription": {
- "text": "Unused 'catch' parameter"
- },
- "fullDescription": {
- "text": "Reports a 'catch' parameter that is not used in the corresponding block. The 'catch' parameters named 'ignore' or 'ignored' are ignored. Use the checkbox below to disable this inspection for 'catch' blocks with comments.",
- "markdown": "Reports a `catch` parameter that is not used in the corresponding block. The `catch` parameters named `ignore` or `ignored` are ignored.\n\n\nUse the checkbox below to disable this inspection for `catch`\nblocks with comments."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnusedCatchParameterJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AnonymousFunctionJS",
- "shortDescription": {
- "text": "Anonymous function"
- },
- "fullDescription": {
- "text": "Reports an anonymous function. An explicit name of a function expression may be helpful for debugging. Ignores function expressions without names if they have a 'name' property specified in the ECMAScript 6 standard. For example, 'var bar = function() {};' is not reported.",
- "markdown": "Reports an anonymous function. An explicit name of a function expression may be helpful for debugging. Ignores function expressions without names if they have a `name` property specified in the ECMAScript 6 standard. For example, `var bar = function() {};` is not reported."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AnonymousFunctionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EmptyCatchBlockJS",
- "shortDescription": {
- "text": "Empty 'catch' block"
- },
- "fullDescription": {
- "text": "Reports an empty 'catch' block. This indicates that errors are simply ignored instead of handling them. Any comment in a 'catch' block mutes the inspection.",
- "markdown": "Reports an empty `catch` block. This indicates that errors are simply ignored instead of handling them. \n\nAny comment in a `catch` block mutes the inspection."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EmptyCatchBlockJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ThrowFromFinallyBlockJS",
- "shortDescription": {
- "text": "'throw' inside 'finally' block"
- },
- "fullDescription": {
- "text": "Reports s 'throw' statement inside a 'finally' block. Such 'throw' statements may mask exceptions thrown, and complicate debugging.",
- "markdown": "Reports s `throw` statement inside a `finally` block. Such `throw` statements may mask exceptions thrown, and complicate debugging."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ThrowInsideFinallyBlockJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSPotentiallyInvalidUsageOfThis",
- "shortDescription": {
- "text": "Potentially invalid reference to 'this' from closure"
- },
- "fullDescription": {
- "text": "Reports a 'this' in closure that is used for referencing properties of outer context. Example: 'function Outer() {\n this.outerProp = 1;\n function inner() {\n // bad, because 'outerProp' of Outer\n // won't be updated here\n // on calling 'new Outer()' as may be expected\n this.outerProp = 2;\n }\n inner();\n}'",
- "markdown": "Reports a `this` in closure that is used for referencing properties of outer context.\n\nExample:\n\n\n function Outer() {\n this.outerProp = 1;\n function inner() {\n // bad, because 'outerProp' of Outer\n // won't be updated here\n // on calling 'new Outer()' as may be expected\n this.outerProp = 2;\n }\n inner();\n }\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSPotentiallyInvalidUsageOfThis",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnresolvedLibraryURL",
- "shortDescription": {
- "text": "Missed locally stored library for HTTP link"
- },
- "fullDescription": {
- "text": "Reports a URL of an external JavaScript library that is not associated with any locally stored file. Suggests downloading the library. Such association enables the IDE to provide proper code completion and navigation.",
- "markdown": "Reports a URL of an external JavaScript library that is not associated with any locally stored file. Suggests downloading the library. Such association enables the IDE to provide proper code completion and navigation."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnresolvedLibraryURL",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptFieldCanBeMadeReadonly",
- "shortDescription": {
- "text": "Field can be readonly"
- },
- "fullDescription": {
- "text": "Reports a private field that can be made readonly (for example, if the field is assigned only in the constructor).",
- "markdown": "Reports a private field that can be made readonly (for example, if the field is assigned only in the constructor)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptFieldCanBeMadeReadonly",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NegatedIfStatementJS",
- "shortDescription": {
- "text": "Negated 'if' statement"
- },
- "fullDescription": {
- "text": "Reports if statements which have an else branch and a negated condition. Flipping the order of the if and else branches will usually increase the clarity of such statements.",
- "markdown": "Reports **if** statements which have an **else** branch and a negated condition. Flipping the order of the **if** and **else** branches will usually increase the clarity of such statements."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NegatedIfStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ConditionalExpressionWithIdenticalBranchesJS",
- "shortDescription": {
- "text": "Conditional expression with identical branches"
- },
- "fullDescription": {
- "text": "Reports a ternary conditional expression with identical 'then' and 'else' branches.",
- "markdown": "Reports a ternary conditional expression with identical `then` and `else` branches."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ConditionalExpressionWithIdenticalBranchesJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSIncompatibleTypesComparison",
- "shortDescription": {
- "text": "Comparison of expressions having incompatible types"
- },
- "fullDescription": {
- "text": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values.",
- "markdown": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSIncompatibleTypesComparison",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6TopLevelAwaitExpression",
- "shortDescription": {
- "text": "Top-level 'await' expression"
- },
- "fullDescription": {
- "text": "Reports a usage of a top-level 'await' expression. While the new 'top-level async' proposal is on its way, using 'await' outside async functions is not allowed.",
- "markdown": "Reports a usage of a top-level `await` expression. While the new 'top-level async' proposal is on its way, using `await` outside async functions is not allowed."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "ES6TopLevelAwaitExpression",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Async code and promises",
- "index": 112,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ParameterNamingConventionJS",
- "shortDescription": {
- "text": "Function parameter naming convention"
- },
- "fullDescription": {
- "text": "Reports a function parameter whose name is too short, too long, or doesn't follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length and regular expression expected for local variables names. Use the standard 'java.util.regex' format regular expressions.",
- "markdown": "Reports a function parameter whose name is too short, too long, or doesn't follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length and regular expression\nexpected for local variables names. Use the standard `java.util.regex` format regular expressions."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ParameterNamingConventionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Naming conventions",
- "index": 113,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ParametersPerFunctionJS",
- "shortDescription": {
- "text": "Function with too many parameters"
- },
- "fullDescription": {
- "text": "Reports a function with too many parameters. Such functions often indicate problems with design. Use the field below to specify the maximum acceptable number of parameters for a function.",
- "markdown": "Reports a function with too many parameters. Such functions often indicate problems with design.\n\n\nUse the field below to specify the maximum acceptable number of parameters for a function."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "OverlyComplexFunctionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Function metrics",
- "index": 79,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSSuspiciousNameCombination",
- "shortDescription": {
- "text": "Suspicious variable/parameter name combination"
- },
- "fullDescription": {
- "text": "Reports an assignment or a function call where the name of the target variable or the function parameter does not match the name of the value assigned to it. Example: 'var x = 0;\n var y = x;' or 'var x = 0, y = 0;\n var rc = new Rectangle(y, x, 20, 20);' Here the inspection guesses that 'x' and 'y' are mixed up. Specify the names that should not be used together. An error is reported if a parameter name or an assignment target name contains words from one group while the name of the assigned or passed variable contains words from another group.",
- "markdown": "Reports an assignment or a function call where the name of the target variable or the function parameter does not match the name of the value assigned to it.\n\nExample:\n\n\n var x = 0;\n var y = x;\n\nor\n\n\n var x = 0, y = 0;\n var rc = new Rectangle(y, x, 20, 20);\n\nHere the inspection guesses that `x` and `y` are mixed up.\n\nSpecify the names that should not be used together. An error is reported\nif a parameter name or an assignment target name contains words from one group while the name of the assigned or passed\nvariable contains words from another group."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSSuspiciousNameCombination",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ChainedFunctionCallJS",
- "shortDescription": {
- "text": "Chained function call"
- },
- "fullDescription": {
- "text": "Reports a function call whose target is another function call, for example, 'foo().bar()'",
- "markdown": "Reports a function call whose target is another function call, for example, `foo().bar()`"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ChainedFunctionCallJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSCheckFunctionSignatures",
- "shortDescription": {
- "text": "Signature mismatch"
- },
- "fullDescription": {
- "text": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types. TypeScript code is ignored.",
- "markdown": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types.\n\nTypeScript code is ignored."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSCheckFunctionSignatures",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ConstantOnLHSOfComparisonJS",
- "shortDescription": {
- "text": "Constant on left side of comparison"
- },
- "fullDescription": {
- "text": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons.",
- "markdown": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ConstantOnLefSideOfComparisonJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptUnresolvedReference",
- "shortDescription": {
- "text": "Unresolved TypeScript reference"
- },
- "fullDescription": {
- "text": "Reports an unresolved reference in TypeScript code.",
- "markdown": "Reports an unresolved reference in TypeScript code."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "TypeScriptUnresolvedReference",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6RedundantAwait",
- "shortDescription": {
- "text": "Redundant 'await' expression"
- },
- "fullDescription": {
- "text": "Reports a redundant usage of 'await', such as 'await await', or awaiting a non-promise result. When the 'Report for promises' option is selected, suggests removing 'await' before promises when applicable (in 'return' statements, and with 'Promise.resolve/reject'). Removing 'await' in such contexts causes two problems. Surrounding your code with 'try-catch' and forgetting to add 'await' will change code semantics while you may fail to notice that. Having an explicit 'await' may prevent the V8 runtime from providing async stack traces.",
- "markdown": "Reports a redundant usage of `await`, such as `await await`, or awaiting a non-promise result.\n\n\nWhen the 'Report for promises' option is selected, suggests removing `await` before promises when applicable\n(in `return` statements, and with `Promise.resolve/reject`).\n\nRemoving `await` in such contexts causes two problems.\n\n* Surrounding your code with `try-catch` and forgetting to add `await` will change code semantics while you may fail to notice that.\n* Having an explicit `await` may prevent the V8 runtime from providing [async stack traces](http://bit.ly/v8-zero-cost-async-stack-traces)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6RedundantAwait",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Async code and promises",
- "index": 112,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AssignmentToFunctionParameterJS",
- "shortDescription": {
- "text": "Assignment to function parameter"
- },
- "fullDescription": {
- "text": "Reports an assignment to a function parameter, including increment and decrement operations. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error.",
- "markdown": "Reports an assignment to a function parameter, including increment and decrement operations. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AssignmentToFunctionParameterJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Assignment issues",
- "index": 115,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FallThroughInSwitchStatementJS",
- "shortDescription": {
- "text": "Fallthrough in 'switch' statement"
- },
- "fullDescription": {
- "text": "Reports a 'switch' statement where control can proceed from a branch to the next one. Such \"fall-through\" often indicates an error, for example, a missing 'break' or 'return'.",
- "markdown": "Reports a `switch` statement where control can proceed from a branch to the next one. Such \"fall-through\" often indicates an error, for example, a missing `break` or `return`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FallThroughInSwitchStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "CallerJS",
- "shortDescription": {
- "text": "Use of 'caller' property"
- },
- "fullDescription": {
- "text": "Reports a usage of the 'caller' property in a JavaScript function. Using this property to access the stack frame of the calling method can be extremely confusing and result in subtle bugs.",
- "markdown": "Reports a usage of the `caller` property in a JavaScript function. Using this property to access the stack frame of the calling method can be extremely confusing and result in subtle bugs."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "CallerJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSSwitchVariableDeclarationIssue",
- "shortDescription": {
- "text": "Variable is declared and being used in different 'case' clauses"
- },
- "fullDescription": {
- "text": "Reports a variable that is declared in one 'case' clause of a 'switch' statement but is used in another 'case' clause of the same statement. For block-scoped variables, this results in throwing a 'ReferenceError'. For 'var' variables, it indicates a potential error. Disable the inspection for 'var' variables if this pattern is used intentionally.",
- "markdown": "Reports a variable that is declared in one `case` clause of a `switch` statement but is used in another `case` clause of the same statement. For block-scoped variables, this results in throwing a `ReferenceError`. For `var` variables, it indicates a potential error.\n\nDisable the inspection for `var` variables if this pattern is used intentionally."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSSwitchVariableDeclarationIssue",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ReuseOfLocalVariableJS",
- "shortDescription": {
- "text": "Reuse of local variable"
- },
- "fullDescription": {
- "text": "Reports reusing a local variable and overwriting its value with a new value that is not related to the original variable usage. Reusing a local variable in this way may be confusing because the intended semantics of the local variable may vary with each usage. It may also cause bugs, if code changes result in values that were expected to be overwritten while they are actually live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity.",
- "markdown": "Reports reusing a local variable and overwriting its value with a new value that is not related to the original variable usage. Reusing a local variable in this way may be confusing because the intended semantics of the local variable may vary with each usage. It may also cause bugs, if code changes result in values that were expected to be overwritten while they are actually live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ReuseOfLocalVariableJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Data flow",
- "index": 119,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ConvertLetToConst",
- "shortDescription": {
- "text": "'let' is used instead of 'const'"
- },
- "fullDescription": {
- "text": "Reports a 'let' declaration that can be made 'const'.",
- "markdown": "Reports a `let` declaration that can be made `const`. "
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6ConvertLetToConst",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSReferencingMutableVariableFromClosure",
- "shortDescription": {
- "text": "Referencing mutable variable from closure"
- },
- "fullDescription": {
- "text": "Reports access to outer mutable variables from functions. Example: 'for (var i = 1; i <= 3; i++) {\n setTimeout(function() {\n console.log(i); // bad\n }, 0);\n }'",
- "markdown": "Reports access to outer mutable variables from functions.\n\nExample:\n\n\n for (var i = 1; i <= 3; i++) {\n setTimeout(function() {\n console.log(i); // bad\n }, 0);\n }\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSReferencingMutableVariableFromClosure",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ConvertRequireIntoImport",
- "shortDescription": {
- "text": "'require()' is used instead of 'import'"
- },
- "fullDescription": {
- "text": "Reports a 'require()' statement. Suggests converting it to a 'require()' call with an 'import' statement. Enable 'Convert require() inside inner scopes with Fix all action' to convert all 'require()' calls inside the nested functions and statements when using the 'Fix all' action. Please note that converting 'require()' statements inside inner scopes to 'import' statements may cause changes in the semantics of the code. Import statements are static module dependencies and are hoisted, which means that they are moved to the top of the current module. 'require()' calls load modules dynamically. They can be executed conditionally, and their scope is defined by the expression in which they are used. Clear the 'Convert require() inside inner scopes with Fix all action' checkbox to prevent any changes in these complex cases when using the 'Fix all' action.",
- "markdown": "Reports a `require()` statement. Suggests converting it to a `require()` call with an `import` statement. \n\nEnable 'Convert require() inside inner scopes with Fix all action' to convert all `require()` calls inside the nested functions and statements when using the 'Fix all' action. \n\nPlease note that converting `require()` statements inside inner scopes to `import` statements may cause changes in the semantics of the code. Import statements are static module dependencies and are hoisted, which means that they are moved to the top of the current module. `require()` calls load modules dynamically. They can be executed conditionally, and their scope is defined by the expression in which they are used. \nClear the 'Convert require() inside inner scopes with Fix all action' checkbox to prevent any changes in these complex cases when using the 'Fix all' action."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6ConvertRequireIntoImport",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnusedGlobalSymbols",
- "shortDescription": {
- "text": "Unused global symbol"
- },
- "fullDescription": {
- "text": "Reports an unused globally accessible public function, variable, class, or property.",
- "markdown": "Reports an unused globally accessible public function, variable, class, or property."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnusedGlobalSymbols",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Unused symbols",
- "index": 124,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NestedConditionalExpressionJS",
- "shortDescription": {
- "text": "Nested conditional expression"
- },
- "fullDescription": {
- "text": "Reports a ternary conditional expression within another ternary condition. Such nested conditionals may be extremely confusing, and best replaced by more explicit conditional logic.",
- "markdown": "Reports a ternary conditional expression within another ternary condition. Such nested conditionals may be extremely confusing, and best replaced by more explicit conditional logic."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NestedConditionalExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6PossiblyAsyncFunction",
- "shortDescription": {
- "text": "'await' in non-async function"
- },
- "fullDescription": {
- "text": "Reports a usage of 'await' in a function that was possibly intended to be async but is actually missing the 'async' modifier. Although 'await' can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made 'async'.",
- "markdown": "Reports a usage of `await` in a function that was possibly intended to be async but is actually missing the `async` modifier. Although `await` can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made `async`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6PossiblyAsyncFunction",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Async code and promises",
- "index": 112,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FlowJSFlagCommentPlacement",
- "shortDescription": {
- "text": "Misplaced @flow flag"
- },
- "fullDescription": {
- "text": "Reports a '@flow' flag comment that is not located at the top of a file.",
- "markdown": "Reports a `@flow` flag comment that is not located at the top of a file."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FlowJSFlagCommentPlacement",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Flow type checker",
- "index": 11,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSMissingSwitchDefault",
- "shortDescription": {
- "text": "'switch' statement has no 'default' branch"
- },
- "fullDescription": {
- "text": "Reports a 'switch' statement without a 'default' clause when some possible values are not enumerated.",
- "markdown": "Reports a `switch` statement without a `default` clause when some possible values are not enumerated."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSMissingSwitchDefault",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSXNamespaceValidation",
- "shortDescription": {
- "text": "Missing JSX namespace"
- },
- "fullDescription": {
- "text": "Reports a usage of a JSX construction without importing namespace. Having the namespace in the file scope ensures proper code compilation.",
- "markdown": "Reports a usage of a JSX construction without importing namespace. Having the namespace in the file scope ensures proper code compilation."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSXNamespaceValidation",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Imports and dependencies",
- "index": 126,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ReservedWordUsedAsNameJS",
- "shortDescription": {
- "text": "Reserved word used as name"
- },
- "fullDescription": {
- "text": "Reports a JavaScript reserved word used as a name. The JavaScript specification reserves a number of words which are currently not used as keywords. Using those words as identifiers may result in broken code if later versions of JavaScript start using them as keywords.",
- "markdown": "Reports a JavaScript reserved word used as a name. The JavaScript specification reserves a number of words which are currently not used as keywords. Using those words as identifiers may result in broken code if later versions of JavaScript start using them as keywords."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ReservedWordAsName",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Validity issues",
- "index": 20,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "IncrementDecrementResultUsedJS",
- "shortDescription": {
- "text": "Result of increment or decrement used"
- },
- "fullDescription": {
- "text": "Reports an increment ('++') or decrement ('--') expression where the result of the assignment is used in a containing expression. Such assignments can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Example: 'var a = b++'",
- "markdown": "Reports an increment (`++`) or decrement (`--`) expression where the result of the assignment is used in a containing expression. Such assignments can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Example: `var a = b++`"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "IncrementDecrementResultUsedJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "SuspiciousTypeOfGuard",
- "shortDescription": {
- "text": "Unsound type guard check"
- },
- "fullDescription": {
- "text": "Reports a 'typeof' or 'instanceof' unsound type guard check. The 'typeof x' type guard can be unsound in one of the following two cases: 'typeof x' never corresponds to the specified value (for example, 'typeof x === 'number'' when 'x' is of the type 'string | boolean') 'typeof x' always corresponds to the specified value (for example, 'typeof x === 'string'' when 'x' is of the type 'string') The 'x instanceof A' type guard can be unsound in one of the following two cases: The type of 'x' is not related to 'A' The type of 'x' is 'A' or a subtype of 'A'",
- "markdown": "Reports a `typeof` or `instanceof` unsound type guard check. The `typeof x` type guard can be unsound in one of the following two cases:\n\n* `typeof x` never corresponds to the specified value (for example, `typeof x === 'number'` when `x` is of the type 'string \\| boolean')\n* `typeof x` always corresponds to the specified value (for example, `typeof x === 'string'` when `x` is of the type 'string')\n\n \n\nThe `x instanceof A` type guard can be unsound in one of the following two cases:\n\n* The type of `x` is not related to `A`\n* The type of `x` is `A` or a subtype of `A`"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "SuspiciousTypeOfGuard",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "LoopStatementThatDoesntLoopJS",
- "shortDescription": {
- "text": "Loop statement that doesn't loop"
- },
- "fullDescription": {
- "text": "Reports a 'for', 'while', or 'do' statement whose bodies are guaranteed to execute at most once. Normally, this indicates an error.",
- "markdown": "Reports a `for`, `while`, or `do` statement whose bodies are guaranteed to execute at most once. Normally, this indicates an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "LoopStatementThatDoesntLoopJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSNonASCIINames",
- "shortDescription": {
- "text": "Identifiers with non-ASCII symbols"
- },
- "fullDescription": {
- "text": "Reports a non-ASCII symbol in a name. If the 'Allow only ASCII names' option is selected, reports all names that contain non-ASCII symbols. Otherwise reports all names that contain both ASCII and non-ASCII symbols.",
- "markdown": "Reports a non-ASCII symbol in a name. \n\nIf the 'Allow only ASCII names' option is selected, reports all names that contain non-ASCII symbols. \nOtherwise reports all names that contain both ASCII and non-ASCII symbols."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSNonASCIINames",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Naming conventions",
- "index": 113,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6MissingAwait",
- "shortDescription": {
- "text": "Missing await for an async function call"
- },
- "fullDescription": {
- "text": "Reports an 'async' function call without an expected 'await' prefix inside an 'async' function. Such call returns a 'Promise' and control flow is continued immediately. Example: 'async function bar() { /* ... */ }\nasync function foo() {\n bar(); // bad\n}' After the quick-fix is applied, the 'await' prefix is added: 'async function bar() { /* ... */ }\nasync function foo() {\n await bar(); // good\n}' When the 'Report for promises in return statements' checkbox is selected, also suggests adding 'await' in return statements. While this is generally not necessary, it gives two main benefits. You won't forget to add 'await' when surrounding your code with 'try-catch'. An explicit 'await' helps V8 runtime to provide async stack traces.",
- "markdown": "Reports an `async` function call without an expected `await` prefix inside an `async` function. Such call returns a `Promise` and control flow is continued immediately.\n\nExample:\n\n\n async function bar() { /* ... */ }\n async function foo() {\n bar(); // bad\n }\n\n\nAfter the quick-fix is applied, the `await` prefix is added:\n\n\n async function bar() { /* ... */ }\n async function foo() {\n await bar(); // good\n }\n\n \n\nWhen the 'Report for promises in return statements' checkbox is selected, also suggests adding `await` in return statements. \nWhile this is generally not necessary, it gives two main benefits. \n\n* You won't forget to add `await` when surrounding your code with `try-catch`.\n* An explicit `await` helps V8 runtime to provide [async stack traces](https://bit.ly/v8-zero-cost-async-stack-traces)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6MissingAwait",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Async code and promises",
- "index": 112,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TailRecursionJS",
- "shortDescription": {
- "text": "Tail recursion"
- },
- "fullDescription": {
- "text": "Reports a tail recursion, that is, when a function calls itself as its last action before returning. A tail recursion can always be replaced by looping, which will be considerably faster. Some JavaScript engines perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics in different environments.",
- "markdown": "Reports a tail recursion, that is, when a function calls itself as its last action before returning. A tail recursion can always be replaced by looping, which will be considerably faster. Some JavaScript engines perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics in different environments."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "TailRecursionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ConfusingPlusesOrMinusesJS",
- "shortDescription": {
- "text": "Confusing sequence of '+' or '-'"
- },
- "fullDescription": {
- "text": "Reports a suspicious combination of '+' or '-' characters in JavaScript code (for example, 'a+++b'. Such sequences are confusing, and their semantics may change through changes in the whitespace.",
- "markdown": "Reports a suspicious combination of `+` or `-` characters in JavaScript code (for example, `a+++b`. Such sequences are confusing, and their semantics may change through changes in the whitespace."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ConfusingPlusesOrMinusesJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptConfig",
- "shortDescription": {
- "text": "Inconsistent tsconfig.json properties"
- },
- "fullDescription": {
- "text": "Reports inconsistency of a 'paths', 'checkJs', or 'extends' property in a tsconfig.json file. The 'checkJs' property requires 'allowJs'. The 'extends' property should be a valid file reference.",
- "markdown": "Reports inconsistency of a `paths`, `checkJs`, or `extends` property in a tsconfig.json file. \nThe `checkJs` property requires `allowJs`. \nThe `extends` property should be a valid file reference."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "TypeScriptConfig",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "OverlyComplexBooleanExpressionJS",
- "shortDescription": {
- "text": "Overly complex boolean expression"
- },
- "fullDescription": {
- "text": "Reports a boolean expression with too many terms. Such expressions may be confusing and bug-prone. Use the field below to specify the maximum number of terms allowed in an arithmetic expression.",
- "markdown": "Reports a boolean expression with too many terms. Such expressions may be confusing and bug-prone.\n\n\nUse the field below to specify the maximum number of terms allowed in an arithmetic expression."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "OverlyComplexBooleanExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "OverlyComplexArithmeticExpressionJS",
- "shortDescription": {
- "text": "Overly complex arithmetic expression"
- },
- "fullDescription": {
- "text": "Reports an arithmetic expression with too many terms. Such expressions may be confusing and bug-prone. Use the field below to specify the maximum number of terms allowed in an arithmetic expression.",
- "markdown": "Reports an arithmetic expression with too many terms. Such expressions may be confusing and bug-prone.\n\n\nUse the field below to specify the maximum number of terms allowed in an arithmetic expression."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "OverlyComplexArithmeticExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "DuplicateConditionJS",
- "shortDescription": {
- "text": "Duplicate condition in 'if' statement"
- },
- "fullDescription": {
- "text": "Reports duplicate conditions in different branches of an 'if' statement. Duplicate conditions usually represent programmer oversight. Example: 'if (a) {\n ...\n } else if (a) {\n ...\n }'",
- "markdown": "Reports duplicate conditions in different branches of an `if` statement. Duplicate conditions usually represent programmer oversight.\n\nExample:\n\n\n if (a) {\n ...\n } else if (a) {\n ...\n }\n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "DuplicateConditionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnnecessaryLabelJS",
- "shortDescription": {
- "text": "Unnecessary label"
- },
- "fullDescription": {
- "text": "Reports an unused label.",
- "markdown": "Reports an unused label."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnnecessaryLabelJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6UnusedImports",
- "shortDescription": {
- "text": "Unused import"
- },
- "fullDescription": {
- "text": "Reports a redundant 'import' statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import 'import 'packageName'' instead of the regular one.",
- "markdown": "Reports a redundant `import` statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import `import 'packageName'` instead of the regular one."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ES6UnusedImports",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Imports and dependencies",
- "index": 126,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "InnerHTMLJS",
- "shortDescription": {
- "text": "Use of 'innerHTML' property"
- },
- "fullDescription": {
- "text": "Reports a JavaScript access to DOM nodes as text using the 'innerHTML' property. Most usages of 'innerHTML' are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, 'innerHTML' will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs.",
- "markdown": "Reports a JavaScript access to DOM nodes as text using the `innerHTML` property. Most usages of `innerHTML` are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, `innerHTML` will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "InnerHTMLJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/DOM issues",
- "index": 49,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSAssignmentUsedAsCondition",
- "shortDescription": {
- "text": "Assignment used as condition"
- },
- "fullDescription": {
- "text": "Reports an assignment that is used as the condition of an 'if', 'while', 'for', or 'do' statement. Although occasionally intended, this usage is confusing, and often indicates a typo (for example, '=' instead of '==').",
- "markdown": "Reports an assignment that is used as the condition of an `if`, `while`, `for`, or `do` statement. Although occasionally intended, this usage is confusing, and often indicates a typo (for example, `=` instead of `==`)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSAssignmentUsedAsCondition",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Assignment issues",
- "index": 115,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ForLoopReplaceableByWhileJS",
- "shortDescription": {
- "text": "'for' loop may be replaced by 'while' loop"
- },
- "fullDescription": {
- "text": "Reports a 'for' loop that contains neither initialization nor an update component. Suggests replacing the loop with a simpler 'while' statement. Example: 'for(; exitCondition(); ) {\n process();\n }' After the quick-fix is applied the result looks like: 'while(exitCondition()) {\n process();\n }' Use the checkbox below if you wish this inspection to ignore for loops with trivial or non-existent conditions.",
- "markdown": "Reports a `for` loop that contains neither initialization nor an update component. Suggests replacing the loop with a simpler `while` statement.\n\nExample:\n\n\n for(; exitCondition(); ) {\n process();\n }\n\nAfter the quick-fix is applied the result looks like:\n\n\n while(exitCondition()) {\n process();\n }\n\nUse the checkbox below if you wish this inspection to ignore **for** loops with trivial or non-existent conditions."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ForLoopReplaceableByWhile",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ConstantConditionalExpressionJS",
- "shortDescription": {
- "text": "Constant conditional expression"
- },
- "fullDescription": {
- "text": "Reports a conditional expression in the format 'true? result1: result2' or 'false? result1: result2. Suggests simplifying the expression.'",
- "markdown": "Reports a conditional expression in the format `true? result1: result2` or `false? result1: result2``.\nSuggests simplifying the expression.\n`"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ConstantConditionalExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NonBlockStatementBodyJS",
- "shortDescription": {
- "text": "Statement body without braces"
- },
- "fullDescription": {
- "text": "Reports a 'if', 'while', 'for', or 'with' statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance.",
- "markdown": "Reports a `if`, `while`, `for`, or `with` statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NonBlockStatementBodyJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSValidateJSDoc",
- "shortDescription": {
- "text": "Syntax errors and unresolved references in JSDoc"
- },
- "fullDescription": {
- "text": "Reports a syntax discrepancy in a documentation comment.",
- "markdown": "Reports a syntax discrepancy in a documentation comment."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSValidateJSDoc",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FlowJSConfig",
- "shortDescription": {
- "text": "Missing .flowconfig"
- },
- "fullDescription": {
- "text": "Reports a JavaScript file with a '@flow' flag that doesn't have an associated '.flowconfig' file in the project.",
- "markdown": "Reports a JavaScript file with a `@flow` flag that doesn't have an associated `.flowconfig` file in the project."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FlowJSConfig",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Flow type checker",
- "index": 11,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptValidateTypes",
- "shortDescription": {
- "text": "Type mismatch"
- },
- "fullDescription": {
- "text": "Reports a parameter, return value, or assigned expression of incorrect type.",
- "markdown": "Reports a parameter, return value, or assigned expression of incorrect type."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "TypeScriptValidateTypes",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSObjectNullOrUndefined",
- "shortDescription": {
- "text": "Object is 'null' or 'undefined'"
- },
- "fullDescription": {
- "text": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is 'undefined' or 'null'.",
- "markdown": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is `undefined` or `null`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSObjectNullOrUndefined",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PointlessArithmeticExpressionJS",
- "shortDescription": {
- "text": "Pointless arithmetic expression"
- },
- "fullDescription": {
- "text": "Reports an arithmetic expression that include adding or subtracting zero, multiplying by zero or one, division by one, and shift by zero. Such expressions may result from not fully completed automated refactoring.",
- "markdown": "Reports an arithmetic expression that include adding or subtracting zero, multiplying by zero or one, division by one, and shift by zero. Such expressions may result from not fully completed automated refactoring."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "PointlessArithmeticExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptSmartCast",
- "shortDescription": {
- "text": "Narrowed type"
- },
- "fullDescription": {
- "text": "Reports a usage of a variable where the variable type is narrowed by a type guard. Note that severity level doesn't affect this inspection.",
- "markdown": "Reports a usage of a variable where the variable type is narrowed by a type guard. Note that severity level doesn't affect this inspection."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "TypeScriptSmartCast",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSAccessibilityCheck",
- "shortDescription": {
- "text": "Inaccessible @private and @protected members referenced"
- },
- "fullDescription": {
- "text": "Reports a reference to a JavaScript member that is marked with a '@private' or '@protected' tag but does not comply with visibility rules that these tags imply.",
- "markdown": "Reports a reference to a JavaScript member that is marked with a `@private` or `@protected` tag but does not comply with visibility rules that these tags imply."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSAccessibilityCheck",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FunctionWithMultipleLoopsJS",
- "shortDescription": {
- "text": "Function with multiple loops"
- },
- "fullDescription": {
- "text": "Reports a function with multiple loop statements.",
- "markdown": "Reports a function with multiple loop statements."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FunctionWithMultipleLoopsJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Function metrics",
- "index": 79,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NpmUsedModulesInstalled",
- "shortDescription": {
- "text": "Missing module dependency"
- },
- "fullDescription": {
- "text": "Reports a module from a 'require()' call or an 'import' statement that is not installed or is not listed in package.json dependencies. Suggests installing the module and/or including it into package.json. For 'require()' calls, works only in the files from the scope of Node.js Core JavaScript library.",
- "markdown": "Reports a module from a `require()` call or an `import` statement that is not installed or is not listed in package.json dependencies.\n\nSuggests installing the module and/or including it into package.json.\n\nFor `require()` calls, works only in the files from the scope of *Node.js Core* JavaScript library."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "NpmUsedModulesInstalled",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Imports and dependencies",
- "index": 126,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FunctionNamingConventionJS",
- "shortDescription": {
- "text": "Function naming convention"
- },
- "fullDescription": {
- "text": "Reports a function whose name is too short, too long, or does not follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression for function names. Use the standard 'java.util.regex' format for regular expressions.",
- "markdown": "Reports a function whose name is too short, too long, or does not follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nfor function names. Use the standard `java.util.regex` format for regular expressions."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FunctionNamingConventionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Naming conventions",
- "index": 113,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ObjectAllocationIgnoredJS",
- "shortDescription": {
- "text": "Result of object allocation ignored"
- },
- "fullDescription": {
- "text": "Reports object allocation where the result of the allocated object is ignored, for example, 'new Error();' as a statement, without any assignment. Such allocation expressions may indicate an odd object initialization strategy.",
- "markdown": "Reports object allocation where the result of the allocated object is ignored, for example, `new Error();` as a statement, without any assignment. Such allocation expressions may indicate an odd object initialization strategy."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ObjectAllocationIgnored",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSHint",
- "shortDescription": {
- "text": "JSHint"
- },
- "fullDescription": {
- "text": "Reports a problem detected by the JSHint linter.",
- "markdown": "Reports a problem detected by the [JSHint](https://jshint.com/) linter."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "JSHint",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code quality tools",
- "index": 72,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ExceptionCaughtLocallyJS",
- "shortDescription": {
- "text": "Exception used for local control-flow"
- },
- "fullDescription": {
- "text": "Reports a 'throw' statement whose exceptions are always caught by the containing 'try' statement. Using 'throw' statements as a 'goto' to change the local flow of control is confusing.",
- "markdown": "Reports a `throw` statement whose exceptions are always caught by the containing `try` statement. Using `throw` statements as a `goto` to change the local flow of control is confusing."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ExceptionCaughtLocallyJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "CyclomaticComplexityJS",
- "shortDescription": {
- "text": "Overly complex function"
- },
- "fullDescription": {
- "text": "Reports a function with too many branching points in a function (too high cyclomatic complexity). Such functions may be confusing and hard to test. Use the field provided below to specify the maximum acceptable cyclomatic complexity for a function.",
- "markdown": "Reports a function with too many branching points in a function (too high cyclomatic complexity). Such functions may be confusing and hard to test.\n\n\nUse the field provided below to specify the maximum acceptable cyclomatic complexity for a function."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "OverlyComplexFunctionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Function metrics",
- "index": 79,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "Stylelint",
- "shortDescription": {
- "text": "Stylelint"
- },
- "fullDescription": {
- "text": "Reports a discrepancy detected by the Stylelint linter. The highlighting is based on the rule severity specified in the Stylelint configuration file for each individual rule.",
- "markdown": "Reports a discrepancy detected by the [Stylelint](http://stylelint.io) linter. \n\nThe highlighting is based on the rule severity specified in the [Stylelint configuration file](https://stylelint.io/user-guide/configure) for each individual rule."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "Stylelint",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "CSS/Code quality tools",
- "index": 133,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptJSXUnresolvedComponent",
- "shortDescription": {
- "text": "Unresolved JSX component"
- },
- "fullDescription": {
- "text": "Reports an unresolved reference to a JSX component. Suggests adding an import statement if the referenced component is defined in the project or its dependencies or creating a new component with the specified name. The template for a new component can be modified in Editor | File and Code Templates.",
- "markdown": "Reports an unresolved reference to a JSX component. Suggests adding an import statement if the referenced component is defined in the project or its dependencies or creating a new component with the specified name.\n\nThe template for a new component can be modified in Editor \\| File and Code Templates."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptJSXUnresolvedComponent",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnfilteredForInLoop",
- "shortDescription": {
- "text": "Unfiltered for..in loop"
- },
- "fullDescription": {
- "text": "Reports unfiltered 'for-in' loops. The use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when 'Object''s prototype may be incorrectly modified. For example, the following code will print 42 and myMethod: 'Object.prototype.myMethod = function myMethod() {};\nlet a = { foo: 42 };\nfor (let i in a) {\n console.log(a[i]);\n}' Suggests replacing the whole loop with a 'Object.keys()' method or adding a 'hasOwnProperty()' check. After applying the quick-fix the code looks as follows: 'for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n}'",
- "markdown": "Reports unfiltered `for-in` loops. \n\nThe use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when `Object`'s prototype may be incorrectly modified. For example, the following code will print **42** and **myMethod** : \n\n\n Object.prototype.myMethod = function myMethod() {};\n let a = { foo: 42 };\n for (let i in a) {\n console.log(a[i]);\n }\n\nSuggests replacing the whole loop with a `Object.keys()` method or adding a `hasOwnProperty()` check. After applying the quick-fix the code looks as follows:\n\n\n for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n }\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnfilteredForInLoop",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSFunctionExpressionToArrowFunction",
- "shortDescription": {
- "text": "Function expression is used instead of arrow function"
- },
- "fullDescription": {
- "text": "Reports a function expression. Suggests converting it to an arrow function. Example: 'arr.map(function(el) {return el + 1})' After applying the quick-fix the code looks as follows: 'arr.map(el => el + 1)'",
- "markdown": "Reports a [function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/function) expression. Suggests converting it to an [arrow function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions).\n\nExample:\n\n arr.map(function(el) {return el + 1})\n\nAfter applying the quick-fix the code looks as follows:\n\n arr.map(el => el + 1)\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSFunctionExpressionToArrowFunction",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UpdateDependencyToLatestVersion",
- "shortDescription": {
- "text": "Update package.json dependencies to latest versions"
- },
- "fullDescription": {
- "text": "Suggests to upgrade your package.json dependencies to the latest versions, ignoring specified versions.",
- "markdown": "Suggests to upgrade your package.json dependencies to the latest versions, ignoring specified versions."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "UpdateDependencyToLatestVersion",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Imports and dependencies",
- "index": 126,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AssignmentResultUsedJS",
- "shortDescription": {
- "text": "Result of assignment used"
- },
- "fullDescription": {
- "text": "Reports an assignment expression where the result of the assignment is used in the containing expression. Such assignments often indicate coding errors, for example, '=' instead of '=='. Moreover, they can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Expressions in parentheses are ignored.",
- "markdown": "Reports an assignment expression where the result of the assignment is used in the containing expression. Such assignments often indicate coding errors, for example, `=` instead of `==`. Moreover, they can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways.\n\nExpressions in parentheses are ignored."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AssignmentResultUsedJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Assignment issues",
- "index": 115,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ConstantOnRHSOfComparisonJS",
- "shortDescription": {
- "text": "Constant on right side of comparison"
- },
- "fullDescription": {
- "text": "Reports a comparison operation with a constant in the right-hand side. According to coding conventions, constants should only be in the left-hand side of comparisons.",
- "markdown": "Reports a comparison operation with a constant in the right-hand side. According to coding conventions, constants should only be in the left-hand side of comparisons."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ConstantOnRightSideOfComparisonJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnnecessarySemicolon",
- "shortDescription": {
- "text": "Unnecessary semicolon"
- },
- "fullDescription": {
- "text": "Reports an unneeded semicolon.",
- "markdown": "Reports an unneeded semicolon."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnnecessarySemicolon",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSSuspiciousEqPlus",
- "shortDescription": {
- "text": "Suspicious '=+' assignment"
- },
- "fullDescription": {
- "text": "Reports an assignment in the form 'a =+ b'. Suggests replacing with 'a += b'.",
- "markdown": "Reports an assignment in the form `a =+ b`. Suggests replacing with `a += b`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSSuspiciousEqPlus",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnusedAssignment",
- "shortDescription": {
- "text": "Unused assignment"
- },
- "fullDescription": {
- "text": "Reports a variable whose value is never used after assignment. Suggests removing the unused variable to shorten the code and to avoid redundant allocations. The following cases are reported: A variable is never read after assignment. The value of a variable is always overwritten with another assignment before the variable is read next time. The initializer of a variable is redundant (for one of the above-mentioned reasons).",
- "markdown": "Reports a variable whose value is never used after assignment. \nSuggests removing the unused variable to shorten the code and to avoid redundant allocations.\n\nThe following cases are reported:\n\n* A variable is never read after assignment.\n* The value of a variable is always overwritten with another assignment before the variable is read next time.\n* The initializer of a variable is redundant (for one of the above-mentioned reasons)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnusedAssignment",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Unused symbols",
- "index": 124,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ConfusingFloatingPointLiteralJS",
- "shortDescription": {
- "text": "Confusing floating point literal"
- },
- "fullDescription": {
- "text": "Reports any floating point number that does not have a decimal point, or any numbers before the decimal point, or and numbers after the decimal point. Such literals may be confusing, and violate several coding standards.",
- "markdown": "Reports any floating point number that does not have a decimal point, or any numbers before the decimal point, or and numbers after the decimal point. Such literals may be confusing, and violate several coding standards."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ConfusingFloatingPointLiteralJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ContinueOrBreakFromFinallyBlockJS",
- "shortDescription": {
- "text": "'continue' or 'break' inside 'finally' block"
- },
- "fullDescription": {
- "text": "Reports a 'break' or 'continue' statement inside a 'finally' block. Such statements are very confusing, may hide exceptions, and complicate debugging.",
- "markdown": "Reports a `break` or `continue` statement inside a `finally` block. Such statements are very confusing, may hide exceptions, and complicate debugging."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ContinueOrBreakFromFinallyBlockJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSMethodCanBeStatic",
- "shortDescription": {
- "text": "Method can be made 'static'"
- },
- "fullDescription": {
- "text": "Reports a class method that can be safely made 'static'. A method can be 'static' if it does not reference any of its class' non-static methods and non-static fields and is not overridden in a subclass. Use the first checkbox below to inspect only 'private' methods.",
- "markdown": "Reports a class method that can be safely made `static`. A method can be `static` if it does not reference any of its class' non-static methods and non-static fields and is not overridden in a subclass.\n\n\nUse the first checkbox below to inspect only `private` methods."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSMethodCanBeStatic",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUndeclaredVariable",
- "shortDescription": {
- "text": "Implicitly declared global JavaScript variable"
- },
- "fullDescription": {
- "text": "Reports an implicit declaration of a global variable. Example: 'var aaa = 1; // good\n bbb = 2; // bad, if bbb is not declared with 'var' somewhere'",
- "markdown": "Reports an implicit declaration of a global variable.\n\nExample:\n\n\n var aaa = 1; // good\n bbb = 2; // bad, if bbb is not declared with 'var' somewhere\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSUndeclaredVariable",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "SillyAssignmentJS",
- "shortDescription": {
- "text": "Variable is assigned to itself"
- },
- "fullDescription": {
- "text": "Reports an assignment in the form 'x = x'.",
- "markdown": "Reports an assignment in the form `x = x`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "SillyAssignmentJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Assignment issues",
- "index": 115,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptCheckImport",
- "shortDescription": {
- "text": "Unresolved imported name"
- },
- "fullDescription": {
- "text": "Reports an unresolved name or binding in an 'import' declaration in TypeScript code.",
- "markdown": "Reports an unresolved name or binding in an `import` declaration in TypeScript code."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "TypeScriptCheckImport",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "InfiniteRecursionJS",
- "shortDescription": {
- "text": "Infinite recursion"
- },
- "fullDescription": {
- "text": "Reports a function which must either recurse infinitely or throw an exception. Such functions may not return normally.",
- "markdown": "Reports a function which must either recurse infinitely or throw an exception. Such functions may not return normally."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "InfiniteRecursionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSMismatchedCollectionQueryUpdate",
- "shortDescription": {
- "text": "Mismatched query and update of collection"
- },
- "fullDescription": {
- "text": "Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried. Such mismatched queries and updates are pointless and may indicate either dead code or a typographical error. Query methods are automatically detected, based on whether they return something, or a callback is passed to them. Use the table below to specify which methods are update methods.",
- "markdown": "Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried. Such mismatched queries and updates are pointless and may indicate either dead code or a typographical error.\n\n\nQuery methods are automatically detected, based on whether they return something, or a callback is passed to them.\nUse the table below to specify which methods are update methods."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSMismatchedCollectionQueryUpdate",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6PreferShortImport",
- "shortDescription": {
- "text": "Import can be shortened"
- },
- "fullDescription": {
- "text": "Reports an ES6 import whose 'from' part can be shortened. Suggests importing the parent directory.",
- "markdown": "Reports an ES6 import whose `from` part can be shortened. Suggests importing the parent directory."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ES6PreferShortImport",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PointlessBitwiseExpressionJS",
- "shortDescription": {
- "text": "Bitwise expression can be simplified"
- },
- "fullDescription": {
- "text": "Reports an expression that includes 'and' with zero, 'or' by zero, or shifting by zero. Such expressions may result from not fully completed automated refactorings.",
- "markdown": "Reports an expression that includes `and` with zero, `or` by zero, or shifting by zero. Such expressions may result from not fully completed automated refactorings."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "PointlessBitwiseExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Bitwise operation issues",
- "index": 14,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSStringConcatenationToES6Template",
- "shortDescription": {
- "text": "String concatenation is used instead of template literal"
- },
- "fullDescription": {
- "text": "Reports a string concatenation. Suggests replacing it with a template literal Example '\"result: \" + a + \".\"' After applying the quick-fix the code looks as follows: '`result: ${a}.`'",
- "markdown": "Reports a string concatenation. Suggests replacing it with a [template literal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)\n\nExample\n\n \"result: \" + a + \".\" \n\nAfter applying the quick-fix the code looks as follows:\n\n `result: ${a}.` \n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSStringConcatenationToES6Template",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ReplaceAssignmentWithOperatorAssignmentJS",
- "shortDescription": {
- "text": "Assignment could be replaced with operator assignment"
- },
- "fullDescription": {
- "text": "Reports an assignment operation that can be replaced by an operator assignment to make your code shorter and probably clearer. Example: 'x = x + 3;'\n 'x = x / 3;'\n After the quick fix is applied the result looks like: 'x += 3;'\n 'x /= 3;'",
- "markdown": "Reports an assignment operation that can be replaced by an operator assignment to make your code shorter and probably clearer.\n\n\nExample:\n\n x = x + 3;\n x = x / 3;\n\nAfter the quick fix is applied the result looks like:\n\n x += 3;\n x /= 3;\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AssignmentReplaceableWithOperatorAssignmentJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Assignment issues",
- "index": 115,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6DestructuringVariablesMerge",
- "shortDescription": {
- "text": "Destructuring properties with the same key"
- },
- "fullDescription": {
- "text": "Reports multiple destructuring properties with identical keys. Suggests merging the properties.",
- "markdown": "Reports multiple destructuring properties with identical keys. Suggests merging the properties."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6DestructuringVariablesMerge",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptRedundantGenericType",
- "shortDescription": {
- "text": "Redundant type arguments"
- },
- "fullDescription": {
- "text": "Reports a type argument that is equal to the default one and can be removed. Example: 'type Foo = T;\nlet z: Foo;'",
- "markdown": "Reports a type argument that is equal to the default one and can be removed.\n\n\nExample:\n\n\n type Foo = T;\n let z: Foo;\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptRedundantGenericType",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSLastCommaInObjectLiteral",
- "shortDescription": {
- "text": "Unneeded last comma in object literal"
- },
- "fullDescription": {
- "text": "Reports usages of a trailing comma in object literals. The warning is reported only when the JavaScript language version is set to ECMAScript 5.1. Trailing commas in object literals are allowed by the specification, however, some browsers might throw an error when a trailing comma is used. You can configure formatting options for trailing commas in Code Style | JavaScript or TypeScript | Punctuation.",
- "markdown": "Reports usages of a trailing comma in object literals.\n\nThe warning is reported only when the JavaScript language version is set to ECMAScript 5.1.\n\nTrailing commas in object literals are allowed by the specification, however, some browsers might throw an error when a trailing comma is used.\n\nYou can configure formatting options for trailing commas in **Code Style** \\| **JavaScript** or **TypeScript** \\| **Punctuation**."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSLastCommaInObjectLiteral",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NestedAssignmentJS",
- "shortDescription": {
- "text": "Nested assignment"
- },
- "fullDescription": {
- "text": "Reports an assignment expression nested inside another expression, for example, 'a = b = 1'. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing.",
- "markdown": "Reports an assignment expression nested inside another expression, for example, `a = b = 1`. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NestedAssignmentJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Assignment issues",
- "index": 115,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "DefaultNotLastCaseInSwitchJS",
- "shortDescription": {
- "text": "'default' not last case in 'switch'"
- },
- "fullDescription": {
- "text": "Reports a 'switch' statement where the 'default' case comes before another case instead of being the very last case, which may cause confusion.",
- "markdown": "Reports a `switch` statement where the `default` case comes before another case instead of being the very last case, which may cause confusion."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "DefaultNotLastCaseInSwitchJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EmptyFinallyBlockJS",
- "shortDescription": {
- "text": "Empty 'finally' block"
- },
- "fullDescription": {
- "text": "Reports an empty 'finally' block, which usually indicates an error.",
- "markdown": "Reports an empty `finally` block, which usually indicates an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EmptyFinallyBlockJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ForLoopThatDoesntUseLoopVariableJS",
- "shortDescription": {
- "text": "'for' loop where update or condition does not use loop variable"
- },
- "fullDescription": {
- "text": "Reports a 'for' loop where the condition or update does not use the 'for' loop variable.",
- "markdown": "Reports a `for` loop where the condition or update does not use the `for` loop variable."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ForLoopThatDoesntUseLoopVariableJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptAbstractClassConstructorCanBeMadeProtected",
- "shortDescription": {
- "text": "Abstract class constructor can be made protected"
- },
- "fullDescription": {
- "text": "Reports a public constructor of an abstract class and suggests making it protected (because it is useless to have it public).",
- "markdown": "Reports a public constructor of an abstract class and suggests making it protected (because it is useless to have it public)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptAbstractClassConstructorCanBeMadeProtected",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ThreeNegationsPerFunctionJS",
- "shortDescription": {
- "text": "Function with more than three negations"
- },
- "fullDescription": {
- "text": "Reports a function with three or more negation operations ('!' or '!='). Such functions may be unnecessarily confusing.",
- "markdown": "Reports a function with three or more negation operations (`!` or `!=`). Such functions may be unnecessarily confusing."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FunctionWithMoreThanThreeNegationsJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Function metrics",
- "index": 79,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TrivialIfJS",
- "shortDescription": {
- "text": "Redundant 'if' statement"
- },
- "fullDescription": {
- "text": "Reports an 'if' statement that can be simplified to a single assignment or a 'return' statement. Example: 'if(foo())\n {\n return true;\n }\n else\n {\n return false;\n }' After applying the quick-fix the code looks as follows: 'return foo();'",
- "markdown": "Reports an `if` statement that can be simplified to a single assignment or a `return` statement.\n\nExample:\n\n\n if(foo())\n {\n return true;\n }\n else\n {\n return false;\n }\n\nAfter applying the quick-fix the code looks as follows:\n\n return foo();\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "RedundantIfStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnterminatedStatementJS",
- "shortDescription": {
- "text": "Unterminated statement"
- },
- "fullDescription": {
- "text": "Reports a statement without a semicolon or a newline at the end. Select the 'Terminate statements with semicolons' option in Editor | Code Style | JavaScript or TypeScript - Punctuation to report any statement that doesn't end with a semicolon, even if a newline is used. According to some coding styles, semicolons are preferred to line-breaks for consistency with the other languages.",
- "markdown": "Reports a statement without a semicolon or a newline at the end.\n\nSelect the 'Terminate statements with semicolons' option in *Editor \\| Code Style \\| JavaScript or TypeScript - Punctuation* to report any statement that doesn't end with a semicolon, even if a newline is used.\nAccording to some coding styles, semicolons are preferred to line-breaks for consistency with the other languages."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnterminatedStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnreachableSwitchBranches",
- "shortDescription": {
- "text": "Unreachable 'case' branch of a 'switch' statement"
- },
- "fullDescription": {
- "text": "Reports an unreachable 'case' branch of a 'switch' statement. Example: '/**\n * @param {('foo' | 'bar')} p\n */\nfunction foo(p) {\n switch (p) {\n case 'foo': break;\n case 'bar': break;\n case 'baz': break; // unreachable\n }\n}'",
- "markdown": "Reports an unreachable `case` branch of a `switch` statement.\n\nExample:\n\n\n /**\n * @param {('foo' | 'bar')} p\n */\n function foo(p) {\n switch (p) {\n case 'foo': break;\n case 'bar': break;\n case 'baz': break; // unreachable\n }\n }\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnreachableSwitchBranches",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TrivialConditionalJS",
- "shortDescription": {
- "text": "Redundant conditional expression"
- },
- "fullDescription": {
- "text": "Reports a conditional expression of the form 'condition ? true : false\ncondition ? false : true' These expressions may be safely converted to 'condition\n!condition'",
- "markdown": "Reports a conditional expression of the form\n\n\n condition ? true : false\n condition ? false : true\n\n\nThese expressions may be safely converted to\n\n\n condition\n !condition\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "RedundantConditionalExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSTestFailedLine",
- "shortDescription": {
- "text": "Highlight failure line in test code"
- },
- "fullDescription": {
- "text": "Reports a failed method call or an assertion in a test.",
- "markdown": "Reports a failed method call or an assertion in a test."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSTestFailedLine",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Unit testing",
- "index": 138,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "IfStatementWithTooManyBranchesJS",
- "shortDescription": {
- "text": "'if' statement with too many branches"
- },
- "fullDescription": {
- "text": "Reports an 'if' statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction. Use the field below to specify the maximum number of branches expected.",
- "markdown": "Reports an `if` statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction.\n\n\nUse the field below to specify the maximum number of branches expected."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "IfStatementWithTooManyBranchesJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "BreakStatementJS",
- "shortDescription": {
- "text": "'break' statement"
- },
- "fullDescription": {
- "text": "Reports a 'break' statements. Ignores 'break' statements that end case blocks.",
- "markdown": "Reports a `break` statements. Ignores `break` statements that end case blocks."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "BreakStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "DebuggerStatementJS",
- "shortDescription": {
- "text": "'debugger' statement"
- },
- "fullDescription": {
- "text": "Reports a 'debugger' statement used for interaction with the Javascript debuggers. Such statements should not appear in production code.",
- "markdown": "Reports a `debugger` statement used for interaction with the Javascript debuggers. Such statements should not appear in production code."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "DebuggerStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AssignmentToForLoopParameterJS",
- "shortDescription": {
- "text": "Assignment to 'for' loop parameter"
- },
- "fullDescription": {
- "text": "Reports an assignment to a variable declared as a 'for' loop parameter. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error.",
- "markdown": "Reports an assignment to a variable declared as a `for` loop parameter. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AssignmentToForLoopParameterJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Assignment issues",
- "index": 115,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ConditionalExpressionJS",
- "shortDescription": {
- "text": "Conditional expression"
- },
- "fullDescription": {
- "text": "Reports a ternary conditional expression. Some coding standards prohibit such expressions in favor of explicit 'if' statements.",
- "markdown": "Reports a ternary conditional expression. Some coding standards prohibit such expressions in favor of explicit `if` statements."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ConditionalExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PointlessBooleanExpressionJS",
- "shortDescription": {
- "text": "Pointless statement or boolean expression"
- },
- "fullDescription": {
- "text": "Reports a pointless or pointlessly complicated boolean expression or statement. Example: 'let a = !(false && x);\n let b = false || x;' After the quick fix is applied the result looks like: 'let a = true;\n let b = x;'",
- "markdown": "Reports a pointless or pointlessly complicated boolean expression or statement.\n\nExample:\n\n\n let a = !(false && x);\n let b = false || x;\n\nAfter the quick fix is applied the result looks like:\n\n\n let a = true;\n let b = x;\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "PointlessBooleanExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUrlImportUsage",
- "shortDescription": {
- "text": "URL import is used"
- },
- "fullDescription": {
- "text": "Checks used URL imports in the JavaScript language. Suggests downloading the module for the specified remote URL. Such association enables the IDE to provide proper code completion and navigation. URLs in import specifiers are supported only for ECMAScript modules in the JavaScript language.",
- "markdown": "Checks used URL imports in the JavaScript language. Suggests downloading the module for the specified remote URL. Such association enables the IDE to provide proper code completion and navigation. \n\nURLs in import specifiers are supported only for ECMAScript modules in the JavaScript language."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSUrlImportUsage",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Imports and dependencies",
- "index": 126,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnnecessaryLabelOnContinueStatementJS",
- "shortDescription": {
- "text": "Unnecessary label on 'continue' statement"
- },
- "fullDescription": {
- "text": "Reports a labeled 'continue' statement whose labels may be removed without changing the flow of control.",
- "markdown": "Reports a labeled `continue` statement whose labels may be removed without changing the flow of control."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnnecessaryLabelOnContinueStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSPotentiallyInvalidTargetOfIndexedPropertyAccess",
- "shortDescription": {
- "text": "Possibly incorrect target of indexed property access"
- },
- "fullDescription": {
- "text": "Reports a potentially invalid indexed property access, for example, 'Array[1]'.",
- "markdown": "Reports a potentially invalid indexed property access, for example, `Array[1]`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSPotentiallyInvalidTargetOfIndexedPropertyAccess",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSTypeOfValues",
- "shortDescription": {
- "text": "'typeof' comparison with non-standard value"
- },
- "fullDescription": {
- "text": "Reports a comparison of a 'typeof' expression with a literal string which is not one of the standard types: 'undefined', 'object', 'boolean', 'number', 'string', 'function', or 'symbol'. Such comparisons always return 'false'.",
- "markdown": "Reports a comparison of a `typeof` expression with a literal string which is not one of the standard types: `undefined`, `object`, `boolean`, `number`, `string`, `function`, or `symbol`. Such comparisons always return `false`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSTypeOfValues",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptValidateJSTypes",
- "shortDescription": {
- "text": "Type mismatch in 'any' type"
- },
- "fullDescription": {
- "text": "Reports a function call with a parameter, return value, or assigned expression or incorrect type, if the context symbol can be implicitly resolved to the 'any' type. declare var test: any;\ntest.hasOwnProperty(true); //reports 'true'",
- "markdown": "Reports a function call with a parameter, return value, or assigned expression or incorrect type, if the context symbol can be implicitly resolved to the `any` type.\n\n```\ndeclare var test: any;\ntest.hasOwnProperty(true); //reports 'true'\n```"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptValidateJSTypes",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "XHTMLIncompatabilitiesJS",
- "shortDescription": {
- "text": "Incompatible XHTML usages"
- },
- "fullDescription": {
- "text": "Reports common JavaScript DOM patterns which may present problems with XHTML documents. In particular, the patterns detected will behave completely differently depending on whether the document is loaded as XML or HTML. This can result in subtle bugs where script behaviour is dependent on the MIME-type of the document, rather than its content. Patterns detected include document.body, document.images, document.applets, document.links, document.forms, and document.anchors.",
- "markdown": "Reports common JavaScript DOM patterns which may present problems with XHTML documents. In particular, the patterns detected will behave completely differently depending on whether the document is loaded as XML or HTML. This can result in subtle bugs where script behaviour is dependent on the MIME-type of the document, rather than its content. Patterns detected include **document.body** , **document.images** , **document.applets** , **document.links** , **document.forms** , and **document.anchors**."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "XHTMLIncompatabilitiesJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/DOM issues",
- "index": 49,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSAnnotator",
- "shortDescription": {
- "text": "ECMAScript specification is not followed"
- },
- "fullDescription": {
- "text": "Reports basic syntax issues and inconsistencies with language specification, such as invalid usages of keywords, usages of incompatible numeric format, or multiple parameters to getters/setters. Generally, such errors must always be reported and shouldn't be disabled. But in some cases, such as issues due to the dynamic nature of JavaScript, the use of not yet supported language features, or bugs in IDE's checker, it may be handy to disable reporting these very basic errors.",
- "markdown": "Reports basic syntax issues and inconsistencies with language specification, such as invalid usages of keywords, usages of incompatible numeric format, or multiple parameters to getters/setters. \nGenerally, such errors must always be reported and shouldn't be disabled. But in some cases, such as issues due to the dynamic nature of JavaScript, the use of not yet supported language features, or bugs in IDE's checker, it may be handy to disable reporting these very basic errors."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "JSAnnotator",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ConvertToForOf",
- "shortDescription": {
- "text": "'for..in' is used instead of 'for..of'"
- },
- "fullDescription": {
- "text": "Reports a usage of a 'for..in' loop on an array. Suggests replacing it with a 'for..of' loop. 'for..of' loops, which are introduced in ECMAScript 6, iterate over 'iterable' objects. For arrays, this structure is preferable to 'for..in', because it works only with array values but not with array object's properties.",
- "markdown": "Reports a usage of a [for..in](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in) loop on an array. Suggests replacing it with a [for..of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of) loop. \n`for..of` loops, which are introduced in ECMAScript 6, iterate over `iterable` objects. For arrays, this structure is preferable to `for..in`, because it works only with array values but not with array object's properties."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6ConvertToForOf",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/ES2015 migration aids",
- "index": 48,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ThisExpressionReferencesGlobalObjectJS",
- "shortDescription": {
- "text": "'this' expression which references the global object"
- },
- "fullDescription": {
- "text": "Reports a 'this' expression outside an object literal or a constructor body. Such 'this' expressions reference the top-level \"global\" JavaScript object, but are mostly useless.",
- "markdown": "Reports a `this` expression outside an object literal or a constructor body. Such `this` expressions reference the top-level \"global\" JavaScript object, but are mostly useless."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ThisExpressionReferencesGlobalObjectJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Validity issues",
- "index": 20,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NestedFunctionCallJS",
- "shortDescription": {
- "text": "Nested function call"
- },
- "fullDescription": {
- "text": "Reports a function call that is used as an argument in another function call, for example, 'foo(bar())'",
- "markdown": "Reports a function call that is used as an argument in another function call, for example, `foo(bar())`"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NestedFunctionCallJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSEqualityComparisonWithCoercion",
- "shortDescription": {
- "text": "Equality operator may cause type coercion"
- },
- "fullDescription": {
- "text": "Reports a usage of an equality operator that may cause unexpected type coercions. Suggests replacing '==' and '!=' with type-safe equality operators '===' and '!=='. Depending on the option selected, one of the following cases will be reported: All usages of '==' and '!=' operators. All usages except comparison with null. Some code styles allow using 'x == null' as a replacement for 'x === null || x === undefined'. Only suspicious expressions, such as: '==' or '!=' comparisons with '0', '''', 'null', 'true', 'false', or 'undefined'.",
- "markdown": "Reports a usage of an equality operator that may cause unexpected type coercions. Suggests replacing `==` and `!=` with type-safe equality operators `===` and `!==`.\n\nDepending on the option selected, one of the following cases will be reported:\n\n* All usages of `==` and `!=` operators.\n* All usages except comparison with null. Some code styles allow using `x == null` as a replacement for `x === null || x === undefined`.\n* Only suspicious expressions, such as: `==` or `!=` comparisons with `0`, `''`, `null`, `true`, `false`, or `undefined`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EqualityComparisonWithCoercionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSNonStrictModeUsed",
- "shortDescription": {
- "text": "Non-strict mode used"
- },
- "fullDescription": {
- "text": "Reports a JavaScript file that is not in the 'strict' mode.",
- "markdown": "Reports a JavaScript file that is not in the `strict` mode."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSNonStrictModeUsed",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptExplicitMemberType",
- "shortDescription": {
- "text": "Explicit types"
- },
- "fullDescription": {
- "text": "Reports a type annotation that doesn't match the current code style for explicit types. Type declarations are not necessary when the type that is inferred from the context exactly matches the type annotation, for example: 'var pi: number = 3.14' In some cases it is preferable to always have explicit types - this prevents accidental type changes and makes code more explicit.",
- "markdown": "Reports a type annotation that doesn't match the current code style for explicit types.\n\n\nType declarations are not necessary when the type that is inferred from the context exactly matches the type annotation, for example:\n\n\n var pi: number = 3.14\n\nIn some cases it is preferable to always have explicit types - this prevents accidental type changes and makes code more explicit."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptExplicitMemberType",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSDuplicateCaseLabel",
- "shortDescription": {
- "text": "Duplicate 'case' label"
- },
- "fullDescription": {
- "text": "Reports a duplicated 'case' label on a 'switch' statement, which normally indicates an error.",
- "markdown": "Reports a duplicated `case` label on a `switch` statement, which normally indicates an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSDuplicateCaseLabel",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSXDomNesting",
- "shortDescription": {
- "text": "Invalid DOM element nesting"
- },
- "fullDescription": {
- "text": "Detects HTML elements in JSX files which are not nested properly according to the DOM specification. React reports runtime warnings on incorrectly nested elements.",
- "markdown": "Detects HTML elements in JSX files which are not nested properly according to the DOM specification. React reports runtime warnings on incorrectly nested elements."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSXDomNesting",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/React",
- "index": 160,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnnecessaryLocalVariableJS",
- "shortDescription": {
- "text": "Redundant local variable"
- },
- "fullDescription": {
- "text": "Reports an unnecessary local variable that does not make a function more comprehensible: a local variable that is immediately returned a local variable that is immediately assigned to another variable and is not used anymore a local variable that always has the same value as another local variable or parameter. Use the checkbox below to have this inspection ignore variables that are immediately returned or thrown. Some coding styles suggest using such variables for clarity and ease of debugging.",
- "markdown": "Reports an unnecessary local variable that does not make a function more comprehensible:\n\n* a local variable that is immediately returned\n* a local variable that is immediately assigned to another variable and is not used anymore\n* a local variable that always has the same value as another local variable or parameter.\n\n\nUse the checkbox below to have this inspection ignore variables that are immediately\nreturned or thrown. Some coding styles suggest using such variables for clarity and\nease of debugging."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnnecessaryLocalVariableJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Data flow",
- "index": 119,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSXUnresolvedComponent",
- "shortDescription": {
- "text": "Unresolved JSX component"
- },
- "fullDescription": {
- "text": "Reports an unresolved reference to a JSX component. Suggests adding a missing import statement if the referenced component is defined in the project or its dependencies or creating a new component with this name. The template for a new component can be modified in Editor | File and Code Templates.",
- "markdown": "Reports an unresolved reference to a JSX component. Suggests adding a missing import statement if the referenced component is defined in the project or its dependencies or creating a new component with this name.\n\nThe template for a new component can be modified in Editor \\| File and Code Templates."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSXUnresolvedComponent",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnnecessaryLabelOnBreakStatementJS",
- "shortDescription": {
- "text": "Unnecessary label on 'break' statement"
- },
- "fullDescription": {
- "text": "Reports a labeled 'break' statement whose labels may be removed without changing the flow of control.",
- "markdown": "Reports a labeled `break` statement whose labels may be removed without changing the flow of control."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnnecessaryLabelOnBreakStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "DivideByZeroJS",
- "shortDescription": {
- "text": "Division by zero"
- },
- "fullDescription": {
- "text": "Reports division by zero or a remainder by zero.",
- "markdown": "Reports division by zero or a remainder by zero."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "DivideByZeroJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ChainedEqualityJS",
- "shortDescription": {
- "text": "Chained equality"
- },
- "fullDescription": {
- "text": "Reports a chained equality comparison (i.e. 'a==b==c'). Such comparisons are confusing.",
- "markdown": "Reports a chained equality comparison (i.e. `a==b==c`). Such comparisons are confusing."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ChainedEqualityComparisonsJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSRedundantSwitchStatement",
- "shortDescription": {
- "text": "'switch' statement is redundant and can be replaced"
- },
- "fullDescription": {
- "text": "Reports a 'switch' statement with an empty body, or with only one 'case' branch, or with a 'default' branch only.",
- "markdown": "Reports a `switch` statement with an empty body, or with only one `case` branch, or with a `default` branch only."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSRedundantSwitchStatement",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "BlockStatementJS",
- "shortDescription": {
- "text": "Unnecessary block statement"
- },
- "fullDescription": {
- "text": "Reports a block statement that is not used as the body of 'if', 'for', 'while', 'do', 'with', or 'try' statements, or as the body of a function declaration. Starting from ECMAScript 6, JavaScript blocks introduce new scopes for 'let' and 'const' variables, but still free-standing block statements may be confusing and result in subtle bugs when used with 'var' variables.",
- "markdown": "Reports a block statement that is not used as the body of `if`, `for`, `while`, `do`, `with`, or `try` statements, or as the body of a function declaration. Starting from ECMAScript 6, JavaScript blocks introduce new scopes for `let` and `const` variables, but still free-standing block statements may be confusing and result in subtle bugs when used with `var` variables."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "BlockStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TextLabelInSwitchStatementJS",
- "shortDescription": {
- "text": "Text label in 'switch' statement"
- },
- "fullDescription": {
- "text": "Reports a labeled statement inside a 'switch' statement, which often results from a typo. Example: 'switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }'",
- "markdown": "Reports a labeled statement inside a `switch` statement, which often results from a typo.\n\nExample:\n\n\n switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "TextLabelInSwitchStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSOctalInteger",
- "shortDescription": {
- "text": "Octal integer"
- },
- "fullDescription": {
- "text": "Reports a deprecated octal integer literal prefixed with '0' instead of '0o'. Such literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error. To force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below.",
- "markdown": "Reports a deprecated octal integer literal prefixed with `0` instead of `0o`. \nSuch literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error. \nTo force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "JSOctalInteger",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Validity issues",
- "index": 20,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EmptyTryBlockJS",
- "shortDescription": {
- "text": "Empty 'try' block"
- },
- "fullDescription": {
- "text": "Reports an empty 'try' block, which usually indicates an error.",
- "markdown": "Reports an empty `try` block, which usually indicates an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EmptyTryBlockJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "FlowJSCoverage",
- "shortDescription": {
- "text": "Code is not covered by Flow"
- },
- "fullDescription": {
- "text": "Reports JavaScript code fragments that are not covered by the Flow type checker. To use this inspection, configure the Flow executable in Settings | Languages & Frameworks | JavaScript.",
- "markdown": "Reports JavaScript code fragments that are not covered by the Flow type checker. To use this inspection, configure the Flow executable in [Settings \\| Languages \\& Frameworks \\| JavaScript](settings://Settings.JavaScript)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "FlowJSCoverage",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Flow type checker",
- "index": 11,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSIgnoredPromiseFromCall",
- "shortDescription": {
- "text": "Result of method call returning a promise is ignored"
- },
- "fullDescription": {
- "text": "Reports a function call that returns a 'Promise' that is not used later. Such calls are usually unintended and indicate an error.",
- "markdown": "Reports a function call that returns a `Promise` that is not used later. Such calls are usually unintended and indicate an error."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSIgnoredPromiseFromCall",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Async code and promises",
- "index": 112,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "StringLiteralBreaksHTMLJS",
- "shortDescription": {
- "text": "String literal which breaks HTML parsing"
- },
- "fullDescription": {
- "text": "Reports a string literal that contains a '' sequence. Such strings may result in incorrect parsing of any HTML in which the JavaScript code is embedded.",
- "markdown": "Reports a string literal that contains a `` sequence. Such strings may result in incorrect parsing of any HTML in which the JavaScript code is embedded."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "StringLiteralBreaksHTMLJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Validity issues",
- "index": 20,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSComparisonWithNaN",
- "shortDescription": {
- "text": "Comparison with NaN"
- },
- "fullDescription": {
- "text": "Reports a comparison with NaN. Comparisons like 'expr == NaN' or 'expr === NaN' are always evaluated to 'false'.",
- "markdown": "Reports a comparison with NaN. Comparisons like `expr == NaN` or `expr === NaN` are always evaluated to `false`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSComparisonWithNaN",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSConstructorReturnsPrimitive",
- "shortDescription": {
- "text": "Constructor returns primitive value"
- },
- "fullDescription": {
- "text": "Reports a constructor function that returns a primitive value. When called with 'new', this value will be lost and an object will be returned instead. To avoid warnings, use the '@return' tag to specify the return of the function.",
- "markdown": "Reports a constructor function that returns a primitive value. When called with `new`, this value will be lost and an object will be returned instead. To avoid warnings, use the `@return` tag to specify the return of the function."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSConstructorReturnsPrimitive",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnresolvedReference",
- "shortDescription": {
- "text": "Unresolved reference"
- },
- "fullDescription": {
- "text": "Reports an unresolved reference in JavaScript code. In TypeScript code, a problem is reported if the part of the reference before the dot is of the type 'any'.",
- "markdown": "Reports an unresolved reference in JavaScript code. In TypeScript code, a problem is reported if the part of the reference before the dot is of the type `any`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSUnresolvedReference",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PlatformDetectionJS",
- "shortDescription": {
- "text": "Inaccurate platform detection"
- },
- "fullDescription": {
- "text": "Reports a common JavaScript pattern for detecting the browser or operating system in which the script is run. In addition to pointing out non-portable constructs, these platform detection patterns are often incomplete and easily fooled. For most cases, detection of individual environment features is preferable to attempting to detect the entire platform. Patterns detected include: 'document.all' 'document.layers' 'navigator.userAgent' 'navigator.oscpu' 'navigator.appName' 'navigator.appCodeName' 'navigator.platform'",
- "markdown": "Reports a common JavaScript pattern for detecting the browser or operating system in which the script is run. In addition to pointing out non-portable constructs, these platform detection patterns are often incomplete and easily fooled. For most cases, detection of individual environment features is preferable to attempting to detect the entire platform.\n\nPatterns detected include:\n\n* `document.all`\n* `document.layers`\n* `navigator.userAgent`\n* `navigator.oscpu`\n* `navigator.appName`\n* `navigator.appCodeName`\n* `navigator.platform`"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "PlatformDetectionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/DOM issues",
- "index": 49,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptDuplicateUnionOrIntersectionType",
- "shortDescription": {
- "text": "Duplicate union or intersection type component"
- },
- "fullDescription": {
- "text": "Reports a duplicate type inside a union or intersection.",
- "markdown": "Reports a duplicate type inside a union or intersection."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "TypeScriptDuplicateUnionOrIntersectionType",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "VoidExpressionJS",
- "shortDescription": {
- "text": "'void' expression"
- },
- "fullDescription": {
- "text": "Reports a 'void' expression.",
- "markdown": "Reports a `void` expression."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "VoidExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSVoidFunctionReturnValueUsed",
- "shortDescription": {
- "text": "Void function return value used"
- },
- "fullDescription": {
- "text": "Reports a return value of a function that doesn't return anything. Calling of such functions always produces an 'undefined' value and such assignment may indicate an error. Example: 'let a = console.log('foo');' The following usages are ignored: Inside a return statement In some binary operations For overridden non-void functions",
- "markdown": "Reports a return value of a function that doesn't return anything. Calling of such functions always produces an `undefined` value and such assignment may indicate an error.\n\nExample:\n\n\n let a = console.log('foo');\n\n \n\nThe following usages are ignored:\n\n* Inside a return statement\n* In some binary operations\n* For overridden non-void functions"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSVoidFunctionReturnValueUsed",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ReturnFromFinallyBlockJS",
- "shortDescription": {
- "text": "'return' inside 'finally' block"
- },
- "fullDescription": {
- "text": "Reports a 'return' statement inside a 'finally' block. Such 'return' statements may mask exceptions thrown, and complicate debugging.",
- "markdown": "Reports a `return` statement inside a `finally` block. Such `return` statements may mask exceptions thrown, and complicate debugging."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ReturnInsideFinallyBlockJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Try statement issues",
- "index": 103,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "StatementsPerFunctionJS",
- "shortDescription": {
- "text": "Overly long function"
- },
- "fullDescription": {
- "text": "Reports an overly long function. Function length is calculated by counting up the number of non-empty statements in the function. Functions that are too long are error-prone and difficult to test. Use the field below to specify the maximum acceptable number of statements in a function.",
- "markdown": "Reports an overly long function. Function length is calculated by counting up the number of non-empty statements in the function. Functions that are too long are error-prone and difficult to test.\n\n\nUse the field below to specify the maximum acceptable number of statements in a function."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "FunctionTooLongJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Function metrics",
- "index": 79,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ContinueStatementWithLabelJS",
- "shortDescription": {
- "text": "'continue' statement with label"
- },
- "fullDescription": {
- "text": "Reports a labeled 'continue' statement.",
- "markdown": "Reports a labeled `continue` statement."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ContinueStatementWithLabelJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptMissingConfigOption",
- "shortDescription": {
- "text": "Missing tsconfig.json option "
- },
- "fullDescription": {
- "text": "Reports a usage that requires an explicit option in 'tsconfig.json'. For example, to use JSX in '.tsx' files, 'tsconfig.json' must contain '\"jsx\"' property.",
- "markdown": "Reports a usage that requires an explicit option in `tsconfig.json`. For example, to use JSX in `.tsx` files, `tsconfig.json` must contain `\"jsx\"` property."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "TypeScriptMissingConfigOption",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6ShorthandObjectProperty",
- "shortDescription": {
- "text": "Property can be replaced with shorthand"
- },
- "fullDescription": {
- "text": "Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it. Example: 'var obj = {foo:foo}' After applying the quick-fix the code looks as follows: 'var obj = {foo}'",
- "markdown": "Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it.\n\nExample:\n\n\n var obj = {foo:foo}\n\nAfter applying the quick-fix the code looks as follows:\n\n\n var obj = {foo}\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6ShorthandObjectProperty",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSPotentiallyInvalidConstructorUsage",
- "shortDescription": {
- "text": "Potentially invalid constructor usage"
- },
- "fullDescription": {
- "text": "Reports a usage of a potentially invalid constructor function, for example: a function that is not a constructor after 'new', using a constructor's prototype or calling a constructor without 'new'. A constructor function is assumed to have an upper case name (optional) or have an explicit JSDoc '@constructor' tag.",
- "markdown": "Reports a usage of a potentially invalid constructor function, for example: a function that is not a constructor after `new`, using a constructor's prototype or calling a constructor without `new`. A constructor function is assumed to have an upper case name (optional) or have an explicit JSDoc `@constructor` tag."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSPotentiallyInvalidConstructorUsage",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NodeCoreCodingAssistance",
- "shortDescription": {
- "text": "Unresolved Node.js APIs"
- },
- "fullDescription": {
- "text": "Suggests configuring coding assistance for Node.js, for example, 'require' and/or core modules ('path', 'http', 'fs', etc.). See https://nodejs.org/api/ for the complete list.",
- "markdown": "Suggests configuring coding assistance for Node.js, for example, `require` and/or core modules ('path', 'http', 'fs', etc.).\n\n\nSee for the complete list."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NodeCoreCodingAssistance",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Node.js",
- "index": 170,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSPrimitiveTypeWrapperUsage",
- "shortDescription": {
- "text": "Primitive type object wrapper used"
- },
- "fullDescription": {
- "text": "Reports an improper usage of a wrapper for primitive types or a property of a primitive type being modified, as in the latter case the assigned value will be lost.",
- "markdown": "Reports an improper usage of a wrapper for primitive types or a property of a primitive type being modified, as in the latter case the assigned value will be lost."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSPrimitiveTypeWrapperUsage",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSLastCommaInArrayLiteral",
- "shortDescription": {
- "text": "Unneeded last comma in array literal"
- },
- "fullDescription": {
- "text": "Reports a usage of a trailing comma in an array literal. The warning is reported only when the JavaScript language version is set to ECMAScript 5.1. Although trailing commas in arrays are allowed by the specification, some browsers may throw an error when a trailing comma is used. You can configure formatting options for trailing commas in Code Style | JavaScript or TypeScript | Punctuation.",
- "markdown": "Reports a usage of a trailing comma in an array literal.\n\nThe warning is reported only when the JavaScript language version is set to ECMAScript 5.1.\n\nAlthough trailing commas in arrays are allowed by the specification, some browsers may throw an error when a trailing comma is used.\n\nYou can configure formatting options for trailing commas in **Code Style** \\| **JavaScript** or **TypeScript** \\| **Punctuation**."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSLastCommaInArrayLiteral",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NegatedConditionalExpressionJS",
- "shortDescription": {
- "text": "Negated conditional expression"
- },
- "fullDescription": {
- "text": "Reports a conditional expression whose condition is negated. Suggests flipping the order of branches in the conditional expression to increase the clarity of the statement. Example: '!condition ? 2 : 1'",
- "markdown": "Reports a conditional expression whose condition is negated. Suggests flipping the order of branches in the conditional expression to increase the clarity of the statement. Example: `!condition ? 2 : 1`"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NegatedConditionalExpressionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "LabeledStatementJS",
- "shortDescription": {
- "text": "Labeled statement"
- },
- "fullDescription": {
- "text": "Reports a labeled statement.",
- "markdown": "Reports a labeled statement."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "LabeledStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "WithStatementJS",
- "shortDescription": {
- "text": "'with' statement"
- },
- "fullDescription": {
- "text": "Reports a 'with' statements. Such statements result in potentially confusing implicit bindings, and may behave strangely in setting new variables.",
- "markdown": "Reports a `with` statements. Such statements result in potentially confusing implicit bindings, and may behave strangely in setting new variables."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "WithStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially undesirable code constructs",
- "index": 32,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSConstantReassignment",
- "shortDescription": {
- "text": "Attempt to assign to const or readonly variable"
- },
- "fullDescription": {
- "text": "Reports reassigning a value to a constant or a readonly variable.",
- "markdown": "Reports reassigning a value to a constant or a readonly variable."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "JSConstantReassignment",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Validity issues",
- "index": 20,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "MagicNumberJS",
- "shortDescription": {
- "text": "Magic number"
- },
- "fullDescription": {
- "text": "Reports a \"magic number\" that is a numeric literal used without being named by a constant declaration. Magic numbers can result in code whose intention is unclear, and may result in errors if a magic number is changed in one code location but remains unchanged in another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000, 0.0 and 1.0 are ignored.",
- "markdown": "Reports a \"magic number\" that is a numeric literal used without being named by a constant declaration. Magic numbers can result in code whose intention is unclear, and may result in errors if a magic number is changed in one code location but remains unchanged in another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000, 0.0 and 1.0 are ignored."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "MagicNumberJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptLibrary",
- "shortDescription": {
- "text": "Missing global library"
- },
- "fullDescription": {
- "text": "Reports a TypeScript library file that is required for a symbol but is not listed under the 'lib' compiler option in 'tsconfig.json'.",
- "markdown": "Reports a TypeScript library file that is required for a symbol but is not listed under the `lib` compiler option in `tsconfig.json`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "TypeScriptLibrary",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptMissingAugmentationImport",
- "shortDescription": {
- "text": "Missing augmentation import"
- },
- "fullDescription": {
- "text": "Reports a usage from augmentation module without an explicit import.",
- "markdown": "Reports a usage from [augmentation module](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation) without an explicit import."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "TypeScriptMissingAugmentationImport",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "Eslint",
- "shortDescription": {
- "text": "ESLint"
- },
- "fullDescription": {
- "text": "Reports a discrepancy detected by the ESLint linter. The highlighting is based on the rule severity specified in the ESLint configuration file for each individual rule. Clear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all ESLint rules.",
- "markdown": "Reports a discrepancy detected by the [ESLint](https://eslint.org) linter. \n\nThe highlighting is based on the rule severity specified in the [ESLint configuration file](https://eslint.org/docs/user-guide/configuring) for each individual rule. \n\nClear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all ESLint rules."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "Eslint",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code quality tools",
- "index": 72,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSEqualityComparisonWithCoercion.TS",
- "shortDescription": {
- "text": "Equality operator may cause type coercion"
- },
- "fullDescription": {
- "text": "Reports a usage of equality operators may cause unexpected type coercions. Suggests replacing '==' or '!=' equality operators with type-safe '===' or '!==' operators. Depending on the option selected, one of the following cases will be reported: All usages of '==' and '!=' operators. All usages except comparison with null. Some code styles allow using 'x == null' as a replacement for 'x === null || x === undefined'. Only suspicious expressions, such as: '==' or '!=' comparisons with '0', '''', 'null', 'true', 'false', or 'undefined'.",
- "markdown": "Reports a usage of equality operators may cause unexpected type coercions. Suggests replacing `==` or `!=` equality operators with type-safe `===` or `!==` operators.\n\nDepending on the option selected, one of the following cases will be reported:\n\n* All usages of `==` and `!=` operators.\n* All usages except comparison with null. Some code styles allow using `x == null` as a replacement for `x === null || x === undefined`.\n* Only suspicious expressions, such as: `==` or `!=` comparisons with `0`, `''`, `null`, `true`, `false`, or `undefined`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EqualityComparisonWithCoercionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PackageJsonMismatchedDependency",
- "shortDescription": {
- "text": "Mismatched dependencies in package.json"
- },
- "fullDescription": {
- "text": "Reports a dependency from package.json that is not installed or doesn't match the specified version range.",
- "markdown": "Reports a dependency from package.json that is not installed or doesn't match the specified [version range](https://docs.npmjs.com/about-semantic-versioning)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "PackageJsonMismatchedDependency",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Imports and dependencies",
- "index": 126,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "InfiniteLoopJS",
- "shortDescription": {
- "text": "Infinite loop statement"
- },
- "fullDescription": {
- "text": "Reports a 'for', 'while', or 'do' statement which can only exit by throwing an exception. Such statements often indicate coding errors.",
- "markdown": "Reports a `for`, `while`, or `do` statement which can only exit by throwing an exception. Such statements often indicate coding errors."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "InfiniteLoopJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Probable bugs",
- "index": 92,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSArrowFunctionBracesCanBeRemoved",
- "shortDescription": {
- "text": "Redundant braces around arrow function body"
- },
- "fullDescription": {
- "text": "Reports an arrow function whose body only consists of braces and exactly one statement. Suggests converting to concise syntax without braces. 'let incrementer = (x) => {return x + 1};' After the quick-fix is applied, the code fragment looks as follows: 'let incrementer = (x) => x + 1;'",
- "markdown": "Reports an arrow function whose body only consists of braces and exactly one statement. Suggests converting to concise syntax without braces.\n\n\n let incrementer = (x) => {return x + 1};\n\nAfter the quick-fix is applied, the code fragment looks as follows:\n\n\n let incrementer = (x) => x + 1;\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSArrowFunctionBracesCanBeRemoved",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSClassNamingConvention",
- "shortDescription": {
- "text": "Class naming convention"
- },
- "fullDescription": {
- "text": "Reports a class or a function that is annotated with a JSDoc '@constructor' or '@class' tag whose names are too short, too long, or do not follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression expected for classes names. Use the standard 'java.util.regex' format for regular expressions.",
- "markdown": "Reports a class or a function that is annotated with a JSDoc `@constructor` or `@class` tag whose names are too short, too long, or do not follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nexpected for classes names. Use the standard `java.util.regex` format for regular expressions."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSClassNamingConvention",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Naming conventions",
- "index": 113,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUndefinedPropertyAssignment",
- "shortDescription": {
- "text": "Undefined property assignment"
- },
- "fullDescription": {
- "text": "Reports an assignment to a property that is not defined in the type of a variable. Example: '/**\n * @type {{ property1: string, property2: number }}\n */\nlet myVariable = create();\n\nmyVariable.newProperty = 3; // bad'",
- "markdown": "Reports an assignment to a property that is not defined in the type of a variable.\n\nExample:\n\n\n /**\n * @type {{ property1: string, property2: number }}\n */\n let myVariable = create();\n\n myVariable.newProperty = 3; // bad\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSUndefinedPropertyAssignment",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Code style issues",
- "index": 82,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSDeprecatedSymbols",
- "shortDescription": {
- "text": "Deprecated symbol used"
- },
- "fullDescription": {
- "text": "Reports a usage of a deprecated function variable.",
- "markdown": "Reports a usage of a deprecated function variable."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSDeprecatedSymbols",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "LocalVariableNamingConventionJS",
- "shortDescription": {
- "text": "Local variable naming convention"
- },
- "fullDescription": {
- "text": "Reports a local variable whose name is too short, too long, or doesn't follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression expected for local variables names. Use the standard 'java.util.regex' format regular expressions.",
- "markdown": "Reports a local variable whose name is too short, too long, or doesn't follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nexpected for local variables names. Use the standard `java.util.regex` format regular expressions."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "LocalVariableNamingConventionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Naming conventions",
- "index": 113,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnresolvedExtXType",
- "shortDescription": {
- "text": "Unresolved Ext JS xtype"
- },
- "fullDescription": {
- "text": "Reports an Ext JS 'xtype' reference that doesn't have a corresponding class.",
- "markdown": "Reports an Ext JS `xtype` reference that doesn't have a corresponding class."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnresolvedExtXType",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ES6RedundantNestingInTemplateLiteral",
- "shortDescription": {
- "text": "Redundant nesting in template literal"
- },
- "fullDescription": {
- "text": "Reports nested instances of a string or a template literal. Suggests inlining the nested instances into the containing template string. Example: 'let a = `Hello, ${`Brave ${\"New\"}`} ${\"World\"}!`' After applying the quick-fix the code looks as follows: 'let a = `Hello, Brave New World!`'",
- "markdown": "Reports nested instances of a string or a template literal. Suggests inlining the nested instances into the containing template string.\n\nExample:\n\n\n let a = `Hello, ${`Brave ${\"New\"}`} ${\"World\"}!`\n\nAfter applying the quick-fix the code looks as follows:\n\n\n let a = `Hello, Brave New World!`\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "ES6RedundantNestingInTemplateLiteral",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NestingDepthJS",
- "shortDescription": {
- "text": "Overly nested function"
- },
- "fullDescription": {
- "text": "Reports a function whose body contains statements that are too deeply nested within other statements. Such functions may be confusing and indicate that refactoring may be necessary. Use the field provided below to specify the maximum acceptable nesting depth allowed in a function.",
- "markdown": "Reports a function whose body contains statements that are too deeply nested within other statements. Such functions may be confusing and indicate that refactoring may be necessary.\n\n\nUse the field provided below to specify the maximum acceptable nesting depth allowed in a function."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "OverlyNestedFunctionJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Function metrics",
- "index": 79,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "TypeScriptSuspiciousConstructorParameterAssignment",
- "shortDescription": {
- "text": "Assigned constructor field parameter"
- },
- "fullDescription": {
- "text": "Reports a common mistake in TypeScript code, when a class field is declared as a constructor parameter, and then this parameter is assigned. In this case, the corresponding field won't be assigned, only the local parameter value is modified. 'class Foo {\n constructor(private p: number) {\n p = 1; //must be this.p = 1;\n }\n}'",
- "markdown": "Reports a common mistake in TypeScript code, when a class field is declared as a constructor parameter, and then this parameter is assigned. \nIn this case, the corresponding field *won't* be assigned, only the local parameter value is modified.\n\n\n class Foo {\n constructor(private p: number) {\n p = 1; //must be this.p = 1;\n }\n }\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "TypeScriptSuspiciousConstructorParameterAssignment",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/TypeScript",
- "index": 52,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "NestedSwitchStatementJS",
- "shortDescription": {
- "text": "Nested 'switch' statement"
- },
- "fullDescription": {
- "text": "Reports a 'switch' statement that is nested in another 'switch' statement. Nested 'switch' statements may be very confusing, particularly if indenting is inconsistent.",
- "markdown": "Reports a `switch` statement that is nested in another `switch` statement. Nested `switch` statements may be very confusing, particularly if indenting is inconsistent."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "NestedSwitchStatementJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSMissingSwitchBranches",
- "shortDescription": {
- "text": "'switch' statement has missing branches"
- },
- "fullDescription": {
- "text": "Reports a 'switch' statement on a variable of the type 'enum' or 'union' when the statement doesn't cover some value options from the type.",
- "markdown": "Reports a `switch` statement on a variable of the type `enum` or `union` when the statement doesn't cover some value options from the type."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "JSMissingSwitchBranches",
- "ideaSeverity": "INFORMATION",
- "qodanaSeverity": "Info"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Switch statement issues",
- "index": 116,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSJQueryEfficiency",
- "shortDescription": {
- "text": "JQuery selector can be optimized"
- },
- "fullDescription": {
- "text": "Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional).",
- "markdown": "Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional)."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSJQueryEfficiency",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/General",
- "index": 16,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "UnreachableCodeJS",
- "shortDescription": {
- "text": "Unreachable code"
- },
- "fullDescription": {
- "text": "Reports code that can never be executed, which almost certainly indicates an error",
- "markdown": "Reports code that can never be executed, which almost certainly indicates an error"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "UnreachableCodeJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Control flow issues",
- "index": 66,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EmptyStatementBodyJS",
- "shortDescription": {
- "text": "Statement with empty body"
- },
- "fullDescription": {
- "text": "Reports an 'if', 'while', 'for', or 'with' statement with an empty body. Such statements often result from typos, and may cause confusion. Use the checkbox below to specify whether the statements with empty block statements as bodies should be reported.",
- "markdown": "Reports an `if`, `while`, `for`, or `with` statement with an empty body. Such statements often result from typos, and may cause confusion.\n\n\nUse the checkbox below to specify whether the statements with empty block statements as bodies\nshould be reported."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "StatementWithEmptyBodyJS",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Potentially confusing code constructs",
- "index": 62,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "JSUnusedLocalSymbols",
- "shortDescription": {
- "text": "Unused local symbol"
- },
- "fullDescription": {
- "text": "Reports an unused locally accessible parameter, local variable, function, class, or private member declaration.",
- "markdown": "Reports an unused locally accessible parameter, local variable, function, class, or private member declaration."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "JSUnusedLocalSymbols",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "JavaScript and TypeScript/Unused symbols",
- "index": 124,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- }
- ],
- "language": "en-US",
- "contents": [
- "localizedData",
- "nonLocalizedData"
- ],
- "isComprehensive": false
- },
- {
- "name": "org.intellij.plugins.postcss",
- "version": "232.8660.212",
- "rules": [
- {
- "id": "PostCssUnresolvedModuleValueReference",
- "shortDescription": {
- "text": "Unresolved CSS module value"
- },
- "fullDescription": {
- "text": "Reports an unresolved reference to a CSS Module Value ('@value' declaration). Example: '@value foo from unknown;'",
- "markdown": "Reports an unresolved reference to a [CSS Module Value](https://github.com/css-modules/postcss-modules-values) (`@value` declaration).\n\nExample:\n\n\n @value foo from unknown;\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "PostCssUnresolvedModuleValueReference",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "PostCSS",
- "index": 13,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PostCssNesting",
- "shortDescription": {
- "text": "Invalid nested rule"
- },
- "fullDescription": {
- "text": "Reports a nested style rule whose syntax doesn't comply with the PostCSS Nested or the PostCSS Nesting specification. Example: '.phone {\n &_title {}\n}'",
- "markdown": "Reports a nested style rule whose syntax doesn't comply with the [PostCSS Nested](https://github.com/postcss/postcss-nested) or the [PostCSS Nesting](https://github.com/csstools/postcss-nesting) specification.\n\nExample:\n\n\n .phone {\n &_title {}\n }\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "PostCssNesting",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "PostCSS",
- "index": 13,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PostCssCustomMedia",
- "shortDescription": {
- "text": "Invalid custom media"
- },
- "fullDescription": {
- "text": "Reports a syntax error in a PostCSS Custom Media query. Example: '@custom-media --small-viewport (max-width: 30em);'",
- "markdown": "Reports a syntax error in a [PostCSS Custom Media](https://github.com/postcss/postcss-custom-media) query.\n\nExample:\n\n\n @custom-media --small-viewport (max-width: 30em);\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "PostCssCustomMedia",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "PostCSS",
- "index": 13,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PostCssCustomSelector",
- "shortDescription": {
- "text": "Invalid custom selector"
- },
- "fullDescription": {
- "text": "Reports a syntax error in PostCSS Custom Selector. Example: '@custom-selector :--heading h1, h2, h3;'",
- "markdown": "Reports a syntax error in [PostCSS Custom Selector](https://github.com/postcss/postcss-custom-selectors).\n\nExample:\n\n\n @custom-selector :--heading h1, h2, h3;\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "PostCssCustomSelector",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "PostCSS",
- "index": 13,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "PostCssMediaRange",
- "shortDescription": {
- "text": "Invalid media query range"
- },
- "fullDescription": {
- "text": "Checks range context syntax, which may alternatively be used for media features with a 'range' type. Example: '@media screen and (500px <= width <= 1200px) {}'",
- "markdown": "Checks [range context](https://github.com/postcss/postcss-media-minmax) syntax, which may alternatively be used for media features with a 'range' type.\n\nExample:\n\n\n @media screen and (500px <= width <= 1200px) {}\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "PostCssMediaRange",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "PostCSS",
- "index": 13,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- }
- ],
- "language": "en-US",
- "contents": [
- "localizedData",
- "nonLocalizedData"
- ],
- "isComprehensive": false
- },
- {
- "name": "org.editorconfig.editorconfigjetbrains",
- "version": "232.8660.212",
- "rules": [
- {
- "id": "EditorConfigNumerousWildcards",
- "shortDescription": {
- "text": "Too many wildcards"
- },
- "fullDescription": {
- "text": "Reports sections that contain too many wildcards. Using a lot of wildcards may lead to performance issues.",
- "markdown": "Reports sections that contain too many wildcards. Using a lot of wildcards may lead to performance issues."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "EditorConfigNumerousWildcards",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigKeyCorrectness",
- "shortDescription": {
- "text": "Unknown property"
- },
- "fullDescription": {
- "text": "Reports properties that are not supported by the IDE. Note: some “ij” domain properties may require specific language plugins.",
- "markdown": "Reports properties that are not supported by the IDE. Note: some \"ij\" domain properties may require specific language plugins."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigKeyCorrectness",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigEncoding",
- "shortDescription": {
- "text": "File encoding doesn't match EditorConfig charset"
- },
- "fullDescription": {
- "text": "Checks that current file encoding matches the encoding defined in \"charset\" property of .editorconfig file.",
- "markdown": "Checks that current file encoding matches the encoding defined in \"charset\" property of .editorconfig file."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigEncoding",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigEmptyHeader",
- "shortDescription": {
- "text": "Empty header"
- },
- "fullDescription": {
- "text": "Reports sections with an empty header. Section header must contain file path globs in the format similar to one supported by 'gitignore'.",
- "markdown": "Reports sections with an empty header. Section header must contain file path globs in the format similar to one supported by `gitignore`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigEmptyHeader",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigSpaceInHeader",
- "shortDescription": {
- "text": "Space in file pattern"
- },
- "fullDescription": {
- "text": "Reports space characters in wildcard patterns that affect pattern matching. If these characters are not intentional, they should be removed.",
- "markdown": "Reports space characters in wildcard patterns that affect pattern matching. If these characters are not intentional, they should be removed."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "EditorConfigSpaceInHeader",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigOptionRedundancy",
- "shortDescription": {
- "text": "Redundant property"
- },
- "fullDescription": {
- "text": "Reports properties that are redundant when another applicable section already contains the same property and value. For example: '[*]\nindent_size=4\n[*.java]\nindent_size=4' are both applicable to '*.java' files and define the same 'indent_size' value.",
- "markdown": "Reports properties that are redundant when another applicable section already contains the same property and value.\n\n\nFor example:\n\n\n [*]\n indent_size=4\n [*.java]\n indent_size=4\n\nare both applicable to `*.java` files and define the same `indent_size` value."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigOptionRedundancy",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigWildcardRedundancy",
- "shortDescription": {
- "text": "Redundant wildcard"
- },
- "fullDescription": {
- "text": "Reports wildcards that become redundant when the “**” wildcard is used in the same section. The “**” wildcard defines a broader set of files than any other wildcard. That is why, any other wildcard used in the same section has no affect and can be removed.",
- "markdown": "Reports wildcards that become redundant when the \"\\*\\*\" wildcard is used in the same section.\n\n\nThe \"\\*\\*\" wildcard defines a broader set of files than any other wildcard.\nThat is why, any other wildcard used in the same section has no affect and can be removed."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigWildcardRedundancy",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigUnusedDeclaration",
- "shortDescription": {
- "text": "Unused declaration"
- },
- "fullDescription": {
- "text": "Reports unused declarations. Such declarations can be removed.",
- "markdown": "Reports unused declarations. Such declarations can be removed."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigUnusedDeclaration",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigRootDeclarationUniqueness",
- "shortDescription": {
- "text": "Extra top-level declaration"
- },
- "fullDescription": {
- "text": "Reports multiple top-level declarations. There can be only one optional “root=true” top-level declaration in the EditorConfig file. Using multiple top-level declarations is not allowed.",
- "markdown": "Reports multiple top-level declarations. There can be only one optional \"root=true\" top-level declaration in the EditorConfig file. Using multiple top-level declarations is not allowed."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigRootDeclarationUniqueness",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigShadowedOption",
- "shortDescription": {
- "text": "Overridden property"
- },
- "fullDescription": {
- "text": "Reports properties that are already defined in other sections. For example: '[*.java]\nindent_size=4\n[{*.java,*.js}]\nindent_size=2' The second section includes all '*.java' files too but it also redefines indent_size. As a result the value 2 will be used for files matching '*.java'.",
- "markdown": "Reports properties that are already defined in other sections.\n\nFor example:\n\n\n [*.java]\n indent_size=4\n [{*.java,*.js}]\n indent_size=2\n\nThe second section includes all `*.java` files too but it also redefines indent_size. As a result the value 2 will be used for files matching `*.java`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigShadowedOption",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigValueUniqueness",
- "shortDescription": {
- "text": "Non-unique list value"
- },
- "fullDescription": {
- "text": "Reports duplicates in lists of values.",
- "markdown": "Reports duplicates in lists of values."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigValueUniqueness",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigUnexpectedComma",
- "shortDescription": {
- "text": "Unexpected comma"
- },
- "fullDescription": {
- "text": "Reports commas that cannot be used in the current context. Commas are allowed only as separators for values in lists.",
- "markdown": "Reports commas that cannot be used in the current context. Commas are allowed only as separators for values in lists."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigUnexpectedComma",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigShadowingOption",
- "shortDescription": {
- "text": "Overriding property"
- },
- "fullDescription": {
- "text": "Reports properties that override the same properties defined earlier in the file. For example: '[*.java]\nindent_size=4\n[{*.java,*.js}]\nindent_size=2' The second section includes the same files as '[*.java]' but also sets indent_size to value 2. Thus the first declaration 'indent_size=4'will be ignored.",
- "markdown": "Reports properties that override the same properties defined earlier in the file.\n\nFor example:\n\n\n [*.java]\n indent_size=4\n [{*.java,*.js}]\n indent_size=2\n\nThe second section includes the same files as `[*.java]` but also sets indent_size to value 2. Thus the first declaration `indent_size=4`will be ignored."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigShadowingOption",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigReferenceCorrectness",
- "shortDescription": {
- "text": "Invalid reference"
- },
- "fullDescription": {
- "text": "Reports identifiers that are either unknown or have a wrong type.",
- "markdown": "Reports identifiers that are either unknown or have a wrong type."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigReferenceCorrectness",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigCharClassLetterRedundancy",
- "shortDescription": {
- "text": "Duplicate character class letter"
- },
- "fullDescription": {
- "text": "Reports wildcard patterns in the EditorConfig section that contain a duplicate character in the character class, for example '[aa]'.",
- "markdown": "Reports wildcard patterns in the EditorConfig section that contain a duplicate character in the character class, for example `[aa]`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigCharClassLetterRedundancy",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigMissingRequiredDeclaration",
- "shortDescription": {
- "text": "Required declarations are missing"
- },
- "fullDescription": {
- "text": "Reports properties that miss the required declarations. Refer to the documentation for more information.",
- "markdown": "Reports properties that miss the required declarations. Refer to the documentation for more information."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigMissingRequiredDeclaration",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigPartialOverride",
- "shortDescription": {
- "text": "Overlapping sections"
- },
- "fullDescription": {
- "text": "Reports subsets of files specified in the current section that overlap with other subsets in other sections. For example: '[{foo,bar}]' and '[{foo,bas}]' both contain “foo”.",
- "markdown": "Reports subsets of files specified in the current section that overlap with other subsets in other sections. For example: `[{foo,bar}]` and `[{foo,bas}]` both contain \"foo\"."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "note",
- "parameters": {
- "suppressToolId": "EditorConfigPartialOverride",
- "ideaSeverity": "WEAK WARNING",
- "qodanaSeverity": "Moderate"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigListAcceptability",
- "shortDescription": {
- "text": "Unexpected value list"
- },
- "fullDescription": {
- "text": "Reports lists of values that are used in properties in which lists are not supported. In this case, only a single value can be specified.",
- "markdown": "Reports lists of values that are used in properties in which lists are not supported. In this case, only a single value can be specified."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigListAcceptability",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigPatternEnumerationRedundancy",
- "shortDescription": {
- "text": "Unnecessary braces"
- },
- "fullDescription": {
- "text": "Reports pattern lists that are either empty '{}' or contain just one pattern, for example '{foo}' in contrast to a list containing multiple patterns, for example '{foo,bar}'. In this case braces are handled as a part of the name. For example, the pattern '*.{a}' will match the file 'my.{a}' but not 'my.a'.",
- "markdown": "Reports pattern lists that are either empty `{}` or contain just one pattern, for example `{foo}` in contrast to a list containing multiple patterns, for example `{foo,bar}`. In this case braces are handled as a part of the name. For example, the pattern `*.{a}` will match the file `my.{a}` but not `my.a`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigPatternEnumerationRedundancy",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigPairAcceptability",
- "shortDescription": {
- "text": "Unexpected key-value pair"
- },
- "fullDescription": {
- "text": "Reports key-value pairs that are not allowed in the current context.",
- "markdown": "Reports key-value pairs that are not allowed in the current context."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigPairAcceptability",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigNoMatchingFiles",
- "shortDescription": {
- "text": "No matching files"
- },
- "fullDescription": {
- "text": "Reports sections with wildcard patterns that do not match any files under the directory in which the '.editorconfig' file is located.",
- "markdown": "Reports sections with wildcard patterns that do not match any files under the directory in which the `.editorconfig` file is located."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigNoMatchingFiles",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigHeaderUniqueness",
- "shortDescription": {
- "text": "EditorConfig section is not unique"
- },
- "fullDescription": {
- "text": "Reports sections that define the same file pattern as other sections.",
- "markdown": "Reports sections that define the same file pattern as other sections."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigHeaderUniqueness",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigValueCorrectness",
- "shortDescription": {
- "text": "Invalid property value"
- },
- "fullDescription": {
- "text": "Reports property values that do not meet value restrictions. For example, some properties may be only “true” or “false”, others contain only integer numbers etc. If a value has a limited set of variants, use code completion to see all of them.",
- "markdown": "Reports property values that do not meet value restrictions. For example, some properties may be only \"true\" or \"false\", others contain only integer numbers etc. If a value has a limited set of variants, use code completion to see all of them."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigValueCorrectness",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigRootDeclarationCorrectness",
- "shortDescription": {
- "text": "Unexpected top-level declaration"
- },
- "fullDescription": {
- "text": "Reports unexpected top-level declarations. Top-level declarations other than “root=true” are not allowed in the EditorConfig file.",
- "markdown": "Reports unexpected top-level declarations. Top-level declarations other than \"root=true\" are not allowed in the EditorConfig file."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigRootDeclarationCorrectness",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigPatternRedundancy",
- "shortDescription": {
- "text": "Duplicate or redundant pattern"
- },
- "fullDescription": {
- "text": "Reports file patterns that are redundant as there already are other patterns that define the same scope of files or even a broader one. For example, in '[{*.java,*}]' the first '*.java' pattern defines a narrower scope compared to '*'. That is why it is redundant and can be removed.",
- "markdown": "Reports file patterns that are redundant as there already are other patterns that define the same scope of files or even a broader one. For example, in `[{*.java,*}]` the first `*.java` pattern defines a narrower scope compared to `*`. That is why it is redundant and can be removed."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigPatternRedundancy",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigDeprecatedDescriptor",
- "shortDescription": {
- "text": "Deprecated property"
- },
- "fullDescription": {
- "text": "Reports EditorConfig properties that are no longer supported.",
- "markdown": "Reports EditorConfig properties that are no longer supported."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigDeprecatedDescriptor",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigCharClassRedundancy",
- "shortDescription": {
- "text": "Unnecessary character class"
- },
- "fullDescription": {
- "text": "Reports character classes that consist of a single character. Such classes can be simplified to a character, for example '[a]'→'a'.",
- "markdown": "Reports character classes that consist of a single character. Such classes can be simplified to a character, for example `[a]`→`a`."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigCharClassRedundancy",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigEmptySection",
- "shortDescription": {
- "text": "Empty section"
- },
- "fullDescription": {
- "text": "Reports sections that do not contain any EditorConfig properties.",
- "markdown": "Reports sections that do not contain any EditorConfig properties."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "EditorConfigEmptySection",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "EditorConfigVerifyByCore",
- "shortDescription": {
- "text": "Invalid .editorconfig file"
- },
- "fullDescription": {
- "text": "Verifies the whole file using the backing EditorConfig core library and reports any failures. Any such failure would prevent EditorConfig properties from being correctly applied.",
- "markdown": "Verifies the whole file using the backing EditorConfig core library and reports any failures. Any such failure would prevent EditorConfig properties from being correctly applied."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "EditorConfigVerifyByCore",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "EditorConfig",
- "index": 18,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- }
- ],
- "language": "en-US",
- "contents": [
- "localizedData",
- "nonLocalizedData"
- ],
- "isComprehensive": false
- },
- {
- "name": "com.jetbrains.rider.android",
- "version": "232.8660.212",
- "rules": [
- {
- "id": "AndroidLintKotlincFE10",
- "shortDescription": {
- "text": "Avoid using kotlinc old frontend"
- },
- "fullDescription": {
- "text": "Avoid using old K1 Kotlin compiler APIs K2, the new version of Kotlin compiler, which encompasses the new frontend, is coming. Try to avoid using internal APIs from the old frontend if possible. Issue id: KotlincFE10",
- "markdown": "Avoid using old K1 Kotlin compiler APIs \n\nK2, the new version of Kotlin compiler, which encompasses the new frontend, is coming. Try to avoid using internal APIs from the old frontend if possible. \n\nIssue id: KotlincFE10"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintKotlincFE10",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Interoperability",
- "index": 25,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintSecureRandom",
- "shortDescription": {
- "text": "Using a fixed seed with SecureRandom"
- },
- "fullDescription": {
- "text": "Using a fixed seed with 'SecureRandom' Specifying a fixed seed will cause the instance to return a predictable sequence of numbers. This may be useful for testing but it is not appropriate for secure use. Issue id: SecureRandom https://goo.gle/SecureRandom https://developer.android.com/reference/java/security/SecureRandom.html",
- "markdown": "Using a fixed seed with `SecureRandom` \n\nSpecifying a fixed seed will cause the instance to return a predictable sequence of numbers. This may be useful for testing but it is not appropriate for secure use. \n\nIssue id: SecureRandom \n\n \n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintSecureRandom",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Security",
- "index": 55,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "LocaleText",
- "shortDescription": {
- "text": "Locale text"
- },
- "fullDescription": {
- "text": "Detects layouts with text that behaves differently in different locales.",
- "markdown": "Detects layouts with text that behaves differently in different locales."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "LocaleText",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "!android.inspections.group.path.lint!/Screen sizes",
- "index": 59,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "ButtonSize",
- "shortDescription": {
- "text": "Button size"
- },
- "fullDescription": {
- "text": "Detects layouts where a button is wider than the recommended 320dp.",
- "markdown": "Detects layouts where a button is wider than the recommended 320dp."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "ButtonSize",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "!android.inspections.group.path.lint!/Screen sizes",
- "index": 59,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidElementNotAllowed",
- "shortDescription": {
- "text": "Android XML element is not allowed"
- },
- "fullDescription": {
- "text": "This inspection highlights unallowed XML tags in Android resource files and AndroidManifest.xml",
- "markdown": "This inspection highlights unallowed XML tags in Android resource files and AndroidManifest.xml"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidElementNotAllowed",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android",
- "index": 23,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidDomInspection",
- "shortDescription": {
- "text": "Android Resources Validation"
- },
- "fullDescription": {
- "text": "Validates resource references inside Android XML files.",
- "markdown": "Validates resource references inside Android XML files."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidDomInspection",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android",
- "index": 23,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidUnknownAttribute",
- "shortDescription": {
- "text": "Unknown Android XML attribute"
- },
- "fullDescription": {
- "text": "This inspection highlights unknown XML attributes in Android resource files and AndroidManifest.xml",
- "markdown": "This inspection highlights unknown XML attributes in Android resource files and AndroidManifest.xml"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidUnknownAttribute",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android",
- "index": 23,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintOpenForTesting",
- "shortDescription": {
- "text": "Extending API only allowed from tests"
- },
- "fullDescription": {
- "text": "Extending API only allowed from tests Classes or methods annotated with '@OpenForTesting' are only allowed to be subclassed or overridden from unit tests. Issue id: OpenForTesting",
- "markdown": "Extending API only allowed from tests \n\nClasses or methods annotated with `@OpenForTesting` are only allowed to be subclassed or overridden from unit tests. \n\nIssue id: OpenForTesting"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintOpenForTesting",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintExpensiveAssertion",
- "shortDescription": {
- "text": "Expensive Assertions"
- },
- "fullDescription": {
- "text": "Expensive Assertions In Kotlin, assertions are not handled the same way as from the Java programming language. In particular, they're just implemented as a library call, and inside the library call the error is only thrown if assertions are enabled. This means that the arguments to the 'assert' call will always be evaluated. If you're doing any computation in the expression being asserted, that computation will unconditionally be performed whether or not assertions are turned on. This typically turns into wasted work in release builds. This check looks for cases where the assertion condition is nontrivial, e.g. it is performing method calls or doing more work than simple comparisons on local variables or fields. You can work around this by writing your own inline assert method instead: @Suppress(\"INVISIBLE_REFERENCE\", \"INVISIBLE_MEMBER\")\ninline fun assert(condition: () -> Boolean) {\n if (_Assertions.ENABLED && !condition()) {\n throw AssertionError()\n }\n}\n In Android, because assertions are not enforced at runtime, instead use this: inline fun assert(condition: () -> Boolean) {\n if (BuildConfig.DEBUG && !condition()) {\n throw AssertionError()\n }\n}\n Issue id: ExpensiveAssertion",
- "markdown": "Expensive Assertions \n\nIn Kotlin, assertions are not handled the same way as from the Java programming language. In particular, they're just implemented as a library call, and inside the library call the error is only thrown if assertions are enabled. \n\nThis means that the arguments to the `assert` call will **always** be evaluated. If you're doing any computation in the expression being asserted, that computation will unconditionally be performed whether or not assertions are turned on. This typically turns into wasted work in release builds. \n\nThis check looks for cases where the assertion condition is nontrivial, e.g. it is performing method calls or doing more work than simple comparisons on local variables or fields. \n\nYou can work around this by writing your own inline assert method instead: \n\n```\n@Suppress(\"INVISIBLE_REFERENCE\", \"INVISIBLE_MEMBER\")\ninline fun assert(condition: () -> Boolean) {\n if (_Assertions.ENABLED && !condition()) {\n throw AssertionError()\n }\n}\n```\n\n \n\nIn Android, because assertions are not enforced at runtime, instead use this: \n\n```\ninline fun assert(condition: () -> Boolean) {\n if (BuildConfig.DEBUG && !condition()) {\n throw AssertionError()\n }\n}\n```\n\n \n\n \n\nIssue id: ExpensiveAssertion"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintExpensiveAssertion",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Performance",
- "index": 95,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintNoOp",
- "shortDescription": {
- "text": "NoOp Code"
- },
- "fullDescription": {
- "text": "NoOp Code This check looks for code which looks like it's a no-op -- usually leftover expressions from interactive debugging, but in some cases bugs where you had intended to do something with the expression such as assign it to a field. Issue id: NoOp Available options: pure-getters (default is false): Whether to assume methods with getter-names have no side effects. Getter methods (where names start with 'get' or 'is', and have non-void return types, and no arguments) should not have side effects. With this option turned on, lint will assume that is the case and will list any getter calls whose results are ignored as suspicious code. To configure this option, use a 'lint.xml' file with an
like this: \n\n```\n\n \n
\n \n\n```"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintNoOp",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintEmptySuperCall",
- "shortDescription": {
- "text": "Calling an empty super method"
- },
- "fullDescription": {
- "text": "Calling an empty super method For methods annotated with '@EmptySuper', overriding methods should not also call the super implementation, either because it is empty, or perhaps it contains code not intended to be run when the method is overridden. Issue id: EmptySuperCall",
- "markdown": "Calling an empty super method \n\nFor methods annotated with `@EmptySuper`, overriding methods should not also call the super implementation, either because it is empty, or perhaps it contains code not intended to be run when the method is overridden. \n\nIssue id: EmptySuperCall"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintEmptySuperCall",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintBadHostnameVerifier",
- "shortDescription": {
- "text": "Insecure HostnameVerifier"
- },
- "fullDescription": {
- "text": "Insecure HostnameVerifier This check looks for implementations of 'HostnameVerifier' whose 'verify' method always returns true (thus trusting any hostname) which could result in insecure network traffic caused by trusting arbitrary hostnames in TLS/SSL certificates presented by peers. Issue id: BadHostnameVerifier https://goo.gle/BadHostnameVerifier",
- "markdown": "Insecure HostnameVerifier \n\nThis check looks for implementations of `HostnameVerifier` whose `verify` method always returns true (thus trusting any hostname) which could result in insecure network traffic caused by trusting arbitrary hostnames in TLS/SSL certificates presented by peers. \n\nIssue id: BadHostnameVerifier \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintBadHostnameVerifier",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Security",
- "index": 55,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintGradlePath",
- "shortDescription": {
- "text": "Gradle Path Issues"
- },
- "fullDescription": {
- "text": "Gradle Path Issues Gradle build scripts are meant to be cross platform, so file paths use Unix-style path separators (a forward slash) rather than Windows path separators (a backslash). Similarly, to keep projects portable and repeatable, avoid using absolute paths on the system; keep files within the project instead. To share code between projects, consider creating an android-library and an AAR dependency Issue id: GradlePath",
- "markdown": "Gradle Path Issues \n\nGradle build scripts are meant to be cross platform, so file paths use Unix-style path separators (a forward slash) rather than Windows path separators (a backslash). Similarly, to keep projects portable and repeatable, avoid using absolute paths on the system; keep files within the project instead. To share code between projects, consider creating an android-library and an AAR dependency \n\nIssue id: GradlePath"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintGradlePath",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintAssertionSideEffect",
- "shortDescription": {
- "text": "Assertions with Side Effects"
- },
- "fullDescription": {
- "text": "Assertions with Side Effects Assertion conditions can have side effects. This is risky because the behavior depends on whether assertions are on or off. This is usually not intentional, and can lead to bugs where the production version differs from the version tested during development. Generally, you'll want to perform the operation with the side effect before the assertion, and then assert that the result was what you expected. Issue id: AssertionSideEffect",
- "markdown": "Assertions with Side Effects \n\nAssertion conditions can have side effects. This is risky because the behavior depends on whether assertions are on or off. This is usually not intentional, and can lead to bugs where the production version differs from the version tested during development. \n\nGenerally, you'll want to perform the operation with the side effect before the assertion, and then assert that the result was what you expected. \n\nIssue id: AssertionSideEffect"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintAssertionSideEffect",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Performance",
- "index": 95,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintIgnoreWithoutReason",
- "shortDescription": {
- "text": "@Ignore without Reason"
- },
- "fullDescription": {
- "text": "@Ignore without Reason Ignoring a test without a reason makes it difficult to figure out the problem later. Please define an explicit reason why it is ignored, and when it can be resolved. Issue id: IgnoreWithoutReason Available options: allow-comments (default is true): Whether to allow a comment next to the @Ignore tag to be considered providing a reason. Normally you have to specify an annotation argument to the '@Ignore' annotation, but with this option you can configure whether it should also allow ignore reasons to specified by a comment adjacent to the ignore tag. To configure this option, use a 'lint.xml' file with an
like this: \n \n
\n \n",
- "markdown": "@Ignore without Reason \n\nIgnoring a test without a reason makes it difficult to figure out the problem later. Please define an explicit reason why it is ignored, and when it can be resolved. \n\nIssue id: IgnoreWithoutReason \n\nAvailable options: \n\n**allow-comments** (default is true): \nWhether to allow a comment next to the @Ignore tag to be considered providing a reason. \n\nNormally you have to specify an annotation argument to the `@Ignore` annotation, but with this option you can configure whether it should also allow ignore reasons to specified by a comment adjacent to the ignore tag. \n\nTo configure this option, use a `lint.xml` file with an \\
like this: \n\n```\n\n \n
\n \n\n```"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintIgnoreWithoutReason",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Testing",
- "index": 105,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "WearMargin",
- "shortDescription": {
- "text": "Wear margins"
- },
- "fullDescription": {
- "text": "Detects layouts where views are too close to the side of Wear OS devices.",
- "markdown": "Detects layouts where views are too close to the side of Wear OS devices."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "WearMargin",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "!android.inspections.group.path.lint!/Screen sizes",
- "index": 59,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintKotlinPropertyAccess",
- "shortDescription": {
- "text": "Kotlin Property Access"
- },
- "fullDescription": {
- "text": "Kotlin Property Access For a method to be represented as a property in Kotlin, strict “bean”-style prefixing must be used. Accessor methods require a 'get' prefix or for boolean-returning methods an 'is' prefix can be used. Issue id: KotlinPropertyAccess https://android.github.io/kotlin-guides/interop.html#property-prefixes",
- "markdown": "Kotlin Property Access \n\nFor a method to be represented as a property in Kotlin, strict \"bean\"-style prefixing must be used. \n\nAccessor methods require a `get` prefix or for boolean-returning methods an `is` prefix can be used. \n\nIssue id: KotlinPropertyAccess \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintKotlinPropertyAccess",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Interoperability",
- "index": 25,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintWeekBasedYear",
- "shortDescription": {
- "text": "Week Based Year"
- },
- "fullDescription": {
- "text": "Week Based Year The 'DateTimeFormatter' pattern 'YYYY' returns the week based year, not the era-based year. This means that 12/29/2019 will format to 2019, but 12/30/2019 will format to 2020! If you expected this to format as 2019, you should use the pattern 'yyyy' instead. Issue id: WeekBasedYear https://stackoverflow.com/questions/46847245/using-datetimeformatter-on-january-first-cause-an-invalid-year-value",
- "markdown": "Week Based Year \n\nThe `DateTimeFormatter` pattern `YYYY` returns the *week* based year, not the era-based year. This means that 12/29/2019 will format to 2019, but 12/30/2019 will format to 2020! \n\nIf you expected this to format as 2019, you should use the pattern `yyyy` instead. \n\nIssue id: WeekBasedYear \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintWeekBasedYear",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Internationalization",
- "index": 110,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintNoHardKeywords",
- "shortDescription": {
- "text": "No Hard Kotlin Keywords"
- },
- "fullDescription": {
- "text": "No Hard Kotlin Keywords Do not use Kotlin’s hard keywords as the name of methods or fields. These require the use of backticks to escape when calling from Kotlin. Soft keywords, modifier keywords, and special identifiers are allowed. For example, ActionEvent's 'getWhen()' method requires backticks when used from Kotlin: val timestamp = event.`when`\n Issue id: NoHardKeywords https://android.github.io/kotlin-guides/interop.html#no-hard-keywords",
- "markdown": "No Hard Kotlin Keywords \n\nDo not use Kotlin's hard keywords as the name of methods or fields. These require the use of backticks to escape when calling from Kotlin. Soft keywords, modifier keywords, and special identifiers are allowed. \n\nFor example, ActionEvent's `getWhen()` method requires backticks when used from Kotlin:\n\n```\nval timestamp = event.`when`\n```\n\n \n\n \n\nIssue id: NoHardKeywords \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintNoHardKeywords",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Interoperability",
- "index": 25,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintRestrictedApi",
- "shortDescription": {
- "text": "Restricted API"
- },
- "fullDescription": {
- "text": "Restricted API This API has been flagged with a restriction that has not been met. Examples of API restrictions: * Method can only be invoked by a subclass * Method can only be accessed from within the same library (defined by the Gradle library group id) * Method can only be accessed from tests. You can add your own API restrictions with the '@RestrictTo' annotation. Issue id: RestrictedApi",
- "markdown": "Restricted API \n\nThis API has been flagged with a restriction that has not been met. \n\nExamples of API restrictions: \n\\* Method can only be invoked by a subclass \n\\* Method can only be accessed from within the same library (defined by the Gradle library group id) \n\\* Method can only be accessed from tests. \n\nYou can add your own API restrictions with the `@RestrictTo` annotation. \n\nIssue id: RestrictedApi"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintRestrictedApi",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintAccidentalOctal",
- "shortDescription": {
- "text": "Accidental Octal"
- },
- "fullDescription": {
- "text": "Accidental Octal In Groovy, an integer literal that starts with a leading 0 will be interpreted as an octal number. That is usually (always?) an accident and can lead to subtle bugs, for example when used in the 'versionCode' of an app. Issue id: AccidentalOctal",
- "markdown": "Accidental Octal \n\nIn Groovy, an integer literal that starts with a leading 0 will be interpreted as an octal number. That is usually (always?) an accident and can lead to subtle bugs, for example when used in the `versionCode` of an app. \n\nIssue id: AccidentalOctal"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintAccidentalOctal",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "XmlWrongFileType",
- "shortDescription": {
- "text": "Android XML root tag validation"
- },
- "fullDescription": {
- "text": "This inspections checks whether XML resources are stored in resource folder which type is recommended by documentation",
- "markdown": "This inspections checks whether XML resources are stored in resource folder which type is recommended by documentation"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "XmlWrongFileType",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android",
- "index": 23,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AccessibilityTestFramework",
- "shortDescription": {
- "text": "Accessibility"
- },
- "fullDescription": {
- "text": "Detects layouts with accessibility issues.",
- "markdown": "Detects layouts with accessibility issues."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AccessibilityTestFramework",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "!android.inspections.group.path.lint!/Screen sizes",
- "index": 59,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "BottomAppBar",
- "shortDescription": {
- "text": "Bottom app bar"
- },
- "fullDescription": {
- "text": "Detects layouts where a BottomAppBar is used on non-compact screens.",
- "markdown": "Detects layouts where a BottomAppBar is used on non-compact screens."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "BottomAppBar",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "!android.inspections.group.path.lint!/Screen sizes",
- "index": 59,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "BottomNav",
- "shortDescription": {
- "text": "Bottom nav"
- },
- "fullDescription": {
- "text": "Detects layouts where a BottomNavigationView is wider than 600dp.",
- "markdown": "Detects layouts where a BottomNavigationView is wider than 600dp."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "BottomNav",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "!android.inspections.group.path.lint!/Screen sizes",
- "index": 59,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintNewerVersionAvailable",
- "shortDescription": {
- "text": "Newer Library Versions Available"
- },
- "fullDescription": {
- "text": "Newer Library Versions Available This detector checks with a central repository to see if there are newer versions available for the dependencies used by this project. This is similar to the 'GradleDependency' check, which checks for newer versions available in the Android SDK tools and libraries, but this works with any MavenCentral dependency, and connects to the library every time, which makes it more flexible but also much slower. Issue id: NewerVersionAvailable",
- "markdown": "Newer Library Versions Available \n\nThis detector checks with a central repository to see if there are newer versions available for the dependencies used by this project. This is similar to the `GradleDependency` check, which checks for newer versions available in the Android SDK tools and libraries, but this works with any MavenCentral dependency, and connects to the library every time, which makes it more flexible but also **much** slower. \n\nIssue id: NewerVersionAvailable"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintNewerVersionAvailable",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintSupportAnnotationUsage",
- "shortDescription": {
- "text": "Incorrect support annotation usage"
- },
- "fullDescription": {
- "text": "Incorrect support annotation usage This lint check makes sure that the support annotations (such as '@IntDef' and '@ColorInt') are used correctly. For example, it's an error to specify an '@IntRange' where the 'from' value is higher than the 'to' value. Issue id: SupportAnnotationUsage",
- "markdown": "Incorrect support annotation usage \n\nThis lint check makes sure that the support annotations (such as `@IntDef` and `@ColorInt`) are used correctly. For example, it's an error to specify an `@IntRange` where the `from` value is higher than the `to` value. \n\nIssue id: SupportAnnotationUsage"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintSupportAnnotationUsage",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintGradleIdeError",
- "shortDescription": {
- "text": "Gradle IDE Support Issues"
- },
- "fullDescription": {
- "text": "Gradle IDE Support Issues Gradle is highly flexible, and there are things you can do in Gradle files which can make it hard or impossible for IDEs to properly handle the project. This lint check looks for constructs that potentially break IDE support. Issue id: GradleIdeError",
- "markdown": "Gradle IDE Support Issues \n\nGradle is highly flexible, and there are things you can do in Gradle files which can make it hard or impossible for IDEs to properly handle the project. This lint check looks for constructs that potentially break IDE support. \n\nIssue id: GradleIdeError"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintGradleIdeError",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "LongText",
- "shortDescription": {
- "text": "Long text"
- },
- "fullDescription": {
- "text": "Detects layouts where a line of text is longer than 120 characters.",
- "markdown": "Detects layouts where a line of text is longer than 120 characters."
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "LongText",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "!android.inspections.group.path.lint!/Screen sizes",
- "index": 59,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintGradleDynamicVersion",
- "shortDescription": {
- "text": "Gradle Dynamic Version"
- },
- "fullDescription": {
- "text": "Gradle Dynamic Version Using '+' in dependencies lets you automatically pick up the latest available version rather than a specific, named version. However, this is not recommended; your builds are not repeatable; you may have tested with a slightly different version than what the build server used. (Using a dynamic version as the major version number is more problematic than using it in the minor version position.) Issue id: GradleDynamicVersion",
- "markdown": "Gradle Dynamic Version \n\nUsing `+` in dependencies lets you automatically pick up the latest available version rather than a specific, named version. However, this is not recommended; your builds are not repeatable; you may have tested with a slightly different version than what the build server used. (Using a dynamic version as the major version number is more problematic than using it in the minor version position.) \n\nIssue id: GradleDynamicVersion"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintGradleDynamicVersion",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintNotConstructor",
- "shortDescription": {
- "text": "Not a Constructor"
- },
- "fullDescription": {
- "text": "Not a Constructor This check catches methods that look like they were intended to be constructors, but aren't. Issue id: NotConstructor",
- "markdown": "Not a Constructor \n\nThis check catches methods that look like they were intended to be constructors, but aren't. \n\nIssue id: NotConstructor"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintNotConstructor",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintSQLiteString",
- "shortDescription": {
- "text": "Using STRING instead of TEXT"
- },
- "fullDescription": {
- "text": "Using STRING instead of TEXT In SQLite, any column can store any data type; the declared type for a column is more of a hint as to what the data should be cast to when stored. There are many ways to store a string. 'TEXT', 'VARCHAR', 'CHARACTER' and 'CLOB' are string types, but `STRING` is not. Columns defined as STRING are actually numeric. If you try to store a value in a numeric column, SQLite will try to cast it to a float or an integer before storing. If it can't, it will just store it as a string. This can lead to some subtle bugs. For example, when SQLite encounters a string like '1234567e1234', it will parse it as a float, but the result will be out of range for floating point numbers, so 'Inf' will be stored! Similarly, strings that look like integers will lose leading zeroes. To fix this, you can change your schema to use a 'TEXT' type instead. Issue id: SQLiteString https://www.sqlite.org/datatype3.html",
- "markdown": "Using STRING instead of TEXT \n\nIn SQLite, any column can store any data type; the declared type for a column is more of a hint as to what the data should be cast to when stored. \n\nThere are many ways to store a string. `TEXT`, `VARCHAR`, `CHARACTER` and `CLOB` are string types, **but \\`STRING\\` is not** . Columns defined as STRING are actually numeric. \n\nIf you try to store a value in a numeric column, SQLite will try to cast it to a float or an integer before storing. If it can't, it will just store it as a string. \n\nThis can lead to some subtle bugs. For example, when SQLite encounters a string like `1234567e1234`, it will parse it as a float, but the result will be out of range for floating point numbers, so `Inf` will be stored! Similarly, strings that look like integers will lose leading zeroes. \n\nTo fix this, you can change your schema to use a `TEXT` type instead. \n\nIssue id: SQLiteString \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintSQLiteString",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintUseTomlInstead",
- "shortDescription": {
- "text": "Use TOML Version Catalog Instead"
- },
- "fullDescription": {
- "text": "Use TOML Version Catalog Instead If your project is using a 'libs.versions.toml' file, you should place all Gradle dependencies in the TOML file. This lint check looks for version declarations outside of the TOML file and suggests moving them (and in the IDE, provides a quickfix to performing the operation automatically). Issue id: UseTomlInstead",
- "markdown": "Use TOML Version Catalog Instead \n\nIf your project is using a `libs.versions.toml` file, you should place all Gradle dependencies in the TOML file. This lint check looks for version declarations outside of the TOML file and suggests moving them (and in the IDE, provides a quickfix to performing the operation automatically). \n\nIssue id: UseTomlInstead"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintUseTomlInstead",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Productivity",
- "index": 134,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintDiscouragedApi",
- "shortDescription": {
- "text": "Using discouraged APIs"
- },
- "fullDescription": {
- "text": "Using discouraged APIs Discouraged APIs are allowed and are not deprecated, but they may be unfit for common use (e.g. due to slow performance or subtle behavior). Issue id: DiscouragedApi",
- "markdown": "Using discouraged APIs \n\nDiscouraged APIs are allowed and are not deprecated, but they may be unfit for common use (e.g. due to slow performance or subtle behavior). \n\nIssue id: DiscouragedApi"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintDiscouragedApi",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintSuspiciousIndentation",
- "shortDescription": {
- "text": "Suspicious indentation"
- },
- "fullDescription": {
- "text": "Suspicious indentation This check looks for cases where the indentation suggests a grouping that isn't actually there in the code. A common example of this would be something like if (column > width)\n line++\n column = 0\n Here, the 'column = 0' line will be executed every single time, not just if the condition is true. Issue id: SuspiciousIndentation Available options: always-run (default is false): Whether this check should be included while editing. While you're editing, it's common to have a temporary situation where you have suspicious indentation scenarios -- e.g. you start typing an 'if' statement on the line above something you want to make conditional, and you haven't indented it yet. It can be distracting and misleading to suddenly have both statements light up as errors. Therefore, lint will avoid including this check when running on the fly in the editor, unless it looks like the file has not been recently edited. With this option, you can turn it on in all cases. To configure this option, use a 'lint.xml' file with an
like this: \n \n
\n \n",
- "markdown": "Suspicious indentation \n\nThis check looks for cases where the indentation suggests a grouping that isn't actually there in the code. A common example of this would be something like\n\n```\nif (column > width)\n line++\n column = 0\n```\n\nHere, the `column = 0` line will be executed every single time, not just if the condition is true. \n\nIssue id: SuspiciousIndentation \n\nAvailable options: \n\n**always-run** (default is false): \nWhether this check should be included while editing. \n\nWhile you're editing, it's common to have a temporary situation where you have suspicious indentation scenarios -- e.g. you start typing an `if` statement on the line above something you want to make conditional, and you haven't indented it yet. It can be distracting and misleading to suddenly have both statements light up as errors. Therefore, lint will avoid including this check when running on the fly in the editor, unless it looks like the file has not been recently edited. With this option, you can turn it on in all cases. \n\nTo configure this option, use a `lint.xml` file with an \\
like this: \n\n```\n\n \n
\n \n\n```"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintSuspiciousIndentation",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintJcenterRepositoryObsolete",
- "shortDescription": {
- "text": "JCenter Maven repository is read-only"
- },
- "fullDescription": {
- "text": "JCenter Maven repository is read-only The JCenter Maven repository is no longer accepting submissions of Maven artifacts since 31st March 2021. Ensure that the project is configured to search in repositories with the latest versions of its dependencies. Issue id: JcenterRepositoryObsolete https://developer.android.com/r/tools/jcenter-end-of-service",
- "markdown": "JCenter Maven repository is read-only \n\nThe JCenter Maven repository is no longer accepting submissions of Maven artifacts since 31st March 2021. Ensure that the project is configured to search in repositories with the latest versions of its dependencies. \n\nIssue id: JcenterRepositoryObsolete \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintJcenterRepositoryObsolete",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintGradleDeprecatedConfiguration",
- "shortDescription": {
- "text": "Deprecated Gradle Configuration"
- },
- "fullDescription": {
- "text": "Deprecated Gradle Configuration Some Gradle configurations have been deprecated since Android Gradle Plugin 3.0.0 and will be removed in a future version of the Android Gradle Plugin. Issue id: GradleDeprecatedConfiguration https://d.android.com/r/tools/update-dependency-configurations",
- "markdown": "Deprecated Gradle Configuration \n\nSome Gradle configurations have been deprecated since Android Gradle Plugin 3.0.0 and will be removed in a future version of the Android Gradle Plugin. \n\nIssue id: GradleDeprecatedConfiguration \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintGradleDeprecatedConfiguration",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintRange",
- "shortDescription": {
- "text": "Outside Range"
- },
- "fullDescription": {
- "text": "Outside Range Some parameters are required to in a particular numerical range; this check makes sure that arguments passed fall within the range. For arrays, Strings and collections this refers to the size or length. Issue id: Range",
- "markdown": "Outside Range \n\nSome parameters are required to in a particular numerical range; this check makes sure that arguments passed fall within the range. For arrays, Strings and collections this refers to the size or length. \n\nIssue id: Range"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintRange",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintDefaultLocale",
- "shortDescription": {
- "text": "Implied default locale in case conversion"
- },
- "fullDescription": {
- "text": "Implied default locale in case conversion Calling 'String#toLowerCase()' or '#toUpperCase()' without specifying an explicit locale is a common source of bugs. The reason for that is that those methods will use the current locale on the user's device, and even though the code appears to work correctly when you are developing the app, it will fail in some locales. For example, in the Turkish locale, the uppercase replacement for 'i' is not 'I'. If you want the methods to just perform ASCII replacement, for example to convert an enum name, call 'String#toUpperCase(Locale.US)' instead. If you really want to use the current locale, call 'String#toUpperCase(Locale.getDefault())' instead. Issue id: DefaultLocale https://developer.android.com/reference/java/util/Locale.html#default_locale",
- "markdown": "Implied default locale in case conversion \n\nCalling `String#toLowerCase()` or `#toUpperCase()` **without specifying an explicit locale** is a common source of bugs. The reason for that is that those methods will use the current locale on the user's device, and even though the code appears to work correctly when you are developing the app, it will fail in some locales. For example, in the Turkish locale, the uppercase replacement for `i` is **not** `I`. \n\nIf you want the methods to just perform ASCII replacement, for example to convert an enum name, call `String#toUpperCase(Locale.US)` instead. If you really want to use the current locale, call `String#toUpperCase(Locale.getDefault())` instead. \n\nIssue id: DefaultLocale \n\n"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintDefaultLocale",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintReturnThis",
- "shortDescription": {
- "text": "Method must return this"
- },
- "fullDescription": {
- "text": "Method must return 'this' Methods annotated with '@ReturnThis' (usually in the super method that this method is overriding) should also 'return this'. Issue id: ReturnThis",
- "markdown": "Method must return `this` \n\nMethods annotated with `@ReturnThis` (usually in the super method that this method is overriding) should also `return this`. \n\nIssue id: ReturnThis"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "error",
- "parameters": {
- "suppressToolId": "AndroidLintReturnThis",
- "ideaSeverity": "ERROR",
- "qodanaSeverity": "Critical"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintGradleDependency",
- "shortDescription": {
- "text": "Obsolete Gradle Dependency"
- },
- "fullDescription": {
- "text": "Obsolete Gradle Dependency This detector looks for usages of libraries where the version you are using is not the current stable release. Using older versions is fine, and there are cases where you deliberately want to stick with an older version. However, you may simply not be aware that a more recent version is available, and that is what this lint check helps find. Issue id: GradleDependency",
- "markdown": "Obsolete Gradle Dependency \n\nThis detector looks for usages of libraries where the version you are using is not the current stable release. Using older versions is fine, and there are cases where you deliberately want to stick with an older version. However, you may simply not be aware that a more recent version is available, and that is what this lint check helps find. \n\nIssue id: GradleDependency"
- },
- "defaultConfiguration": {
- "enabled": false,
- "level": "warning",
- "parameters": {
- "suppressToolId": "AndroidLintGradleDependency",
- "ideaSeverity": "WARNING",
- "qodanaSeverity": "High"
- }
- },
- "relationships": [
- {
- "target": {
- "id": "Android/Lint/Correctness",
- "index": 87,
- "toolComponent": {
- "name": "RD"
- }
- },
- "kinds": [
- "superset"
- ]
- }
- ]
- },
- {
- "id": "AndroidLintUnknownNullness",
- "shortDescription": {
- "text": "Unknown nullness"
- },
- "fullDescription": {
- "text": "Unknown nullness To improve referencing this code from Kotlin, consider adding explicit nullness information here with either '@NonNull' or '@Nullable'. Issue id: UnknownNullness Available options: ignore-deprecated (default is false): Whether to ignore classes and members that have been annotated with '@Deprecated'. Normally this lint check will flag all unannotated elements, but by setting this option to 'true' it will skip any deprecated elements. To configure this option, use a 'lint.xml' file with an
like this: \n \n
\n \n\n https://developer.android.com/kotlin/interop#nullability_annotations",
- "markdown": "Unknown nullness \n\nTo improve referencing this code from Kotlin, consider adding explicit nullness information here with either `@NonNull` or `@Nullable`. \n\nIssue id: UnknownNullness \n\nAvailable options: \n\n**ignore-deprecated** (default is false): \nWhether to ignore classes and members that have been annotated with `@Deprecated`. \n\nNormally this lint check will flag all unannotated elements, but by setting this option to `true` it will skip any deprecated elements. \n\nTo configure this option, use a `lint.xml` file with an \\