New Inspections in This Release
JavaScript and TypeScript
Name | Language | Description |
---|---|---|
Javascript | Reports a | |
Javascript | Reports an | |
Javascript | Reports a require() statement. Suggests converting it to a require() call with an import statement. | |
Javascript | Reports a | |
Javascript | Reports a | |
Javascript | Checks that declarations of local variables declared with var are at the top of a function scope. | |
Javascript | Reports a var declaration that is used instead of let or const. | |
Javascript | Reports an expression that includes | |
Javascript | Reports a class or a function that is annotated with a JSDoc | |
Javascript | Reports a discrepancy detected by the ESLint linter. | |
Javascript | Reports a usage of an equality operator that may cause unexpected type coercions | |
Typescript | Reports a type annotation that doesn't match the current code style for explicit types. | |
Javascript | Reports a function whose name is too short | |
Javascript | Reports a function parameter whose name is too short | |
Javascript | Reports a function with too many parameters | |
Javascript | Reports a non-ASCII symbol in a name. | |
Javascript | Reports an implicit declaration of a global variable | |
Javascript | Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional). | |
Javascript | Reports a problem detected by the JSHint linter. | |
Javascript | Reports a local variable whose name is too short | |
Javascript | Reports a class method that can be safely made | |
Javascript | Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried | |
Javascript | Reports a usage of a JSX construction without importing namespace | |
Javascript | Reports an | |
Typescript | Reports a usage of a variable where the variable type is narrowed by a type guard | |
Javascript | Reports a function nested inside another function | |
Javascript | Reports a deprecated octal integer literal prefixed with 0 instead of 0o. | |
Javascript | Reports an arithmetic expression with too many terms | |
Javascript | Reports a boolean expression with too many terms | |
Javascript | Reports a function with too many branching points in a function (too high cyclomatic complexity) | |
Javascript | Reports an overly long function | |
Javascript | Reports a function whose body contains statements that are too deeply nested within other statements | |
Javascript | Reports a usage of a potentially invalid constructor function | |
Javascript | Reports a redundant usage of | |
Javascript | Reports an unnecessary local variable that does not make a function more comprehensible | |
Javascript | Reports a JavaScript call expression where the arguments do not match the signature of the referenced function | |
Javascript | Reports a discrepancy detected by the JavaScript Standard Style linter. | |
Javascript | Reports an | |
CSS | Reports a discrepancy detected by the Stylelint linter. | |
Javascript | 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 | |
Javascript | Reports unfiltered for-in loops. | |
Javascript | Reports an unreachable | |
Javascript | Reports an unresolved reference in JavaScript code | |
Javascript | Reports an unresolved file reference in a JavaScript file | |
Javascript | Reports an unresolved reference in JavaScript code | |
Javascript | Reports a statement without a semicolon or a newline at the end | |
Javascript | Reports a | |
Javascript | Reports an unused globally accessible public function | |
Javascript | Reports an unused locally accessible parameter | |
Variable is declared and being used in different 'case' clauses | Javascript | Reports a variable that is declared in one |
W3C Validators
Name | Language | Description |
---|---|---|
CSS | Reports a discrepancy detected by the W3C CSS Validator. |
XPathView + XSLT
Name | Language | Description |
---|---|---|
Xpath | Reports implicit conversions between the predefined XPath-types |
IDEA CORE
Name | Language | Description |
---|---|---|
Multiple | Reports issues essential to this file (e.g. | |
Json | Reports inconsistence between a JSON file and the JSON schema that is assigned to it. | |
Json | Reports the following discrepancies of a JSON file with the language specification | |
XML | Reports a deprecated XML element or attribute | |
Multiple | Reports empty directories. | |
Html | Reports an HTML non-boolean attribute without a value | |
Multiple | Reports formatting issues that appear if your code doesn't follow your project's code style settings. | |
Multiple | Reports lines that are longer than the Hard wrap at parameter specified in Settings | Editor | Code Style | General. | |
XML | Reports a missing mandatory attribute in an XML/HTML tag | |
Multiple | Reports code elements that use non-ASCII symbols in an unusual context | |
Regexp | Reports redundant character escape sequences that can be replaced with unescaped characters preserving the meaning | |
Multiple | Reports usages of the following elements that can be safely removed because the inspection they affect is no longer applicable in this context | |
Multiple | Reports TODO comments in your code | |
Multiple | Reports typos and misspellings in your code | |
Html | Reports an unknown HTML attribute | |
Html | Reports an unknown HTML tag |
CSS
Name | Language | Description |
---|---|---|
CSS | Reports a CSS property that is not supported by the specified browsers | |
CSS | Reports an unknown CSS property or a property used in a wrong context. |
Database Tools and SQL
Name | Language | Description |
---|---|---|
SQL | Reports usages of DELETE or UPDATE statements without WHERE clauses | |
SQL | Reports unresolved SQL references | |
SQL | Reports usages of backward GOTO statements and GOTO statements used to exit a loop | |
SQL | Reports situations when CASE and COALESCE calls are interchangeable | |
SQL | Reports situations when CASE and IF are interchangeable |
Properties
Name | Language | Description |
---|---|---|
Properties | Reports duplicate property keys with different values | |
Properties | Reports properties whose keys or values end with a whitespace. | |
Properties | Reports properties that are not referenced outside of the .properties file they are contained in. |
HTTP Client
Name | Language | Description |
---|---|---|
Http request | Reports unknown HTTP headers that do not match any publicly known headers. The quick fix suggests adding the header to the list of custom headers when the Use custom HTTP headers option is enabled. HTTP headers from the list of custom headers will not trigger the inspection. | |
Multiple | Reports the links that use unencrypted protocols (such as HTTP), which can expose your data to man-in-the-middle attacks. These attacks are dangerous in general and may be especially harmful for artifact repositories. Use protocols with encryption, such as HTTPS, instead. |
Shell Script
Name | Language | Description |
---|---|---|
Shell script | Reports shell script bugs detected by the integrated ShellCheck static analysis tool. |
Webpack
Name | Language | Description |
---|---|---|
Javascript | Validates options in webpack config files (which name should start with `webpack`, e.g. `webpack.config.js`) against webpack options schema. |
YAML
Name | Language | Description |
---|---|---|
Yaml | Reports inconsistencies between a YAML file and a JSON Schema if the schema is specified |