Inspectopedia 2024.3 Help

General

Deprecated symbol used   New in this release

Reports a usage of a deprecated function variable.

Destructuring properties with the same key   New in this release

Reports multiple destructuring properties with identical keys.

Duplicate declaration   New in this release

Reports multiple declarations in a scope.

ECMAScript specification is not followed   New in this release

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.

Implicitly declared global JavaScript variable   New in this release

Reports an implicit declaration of a global variable.

Import can be shortened   New in this release

Reports an ES6 import whose from part can be shortened.

Inaccessible @private and @protected members referenced   New in this release

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.

Incorrect usage of JSDoc tags   New in this release

Reports warnings implied by Google Closure Compiler annotations including correct use of @abstract, @interface, and @implements tags.

JQuery selector can be optimized   New in this release

Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional).

JSX syntax used   New in this release

Reports a usage of a JSX tag in JavaScript code.

Method can be made 'static'   New in this release

Reports a class method that can be safely made static.

Mismatched JSDoc and function signature   New in this release

Reports mismatch between the names and the number of parameters within a JSDoc comment and the actual parameters of a function.

Mismatched query and update of collection   New in this release

Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried.

Missed locally stored library for HTTP link   New in this release

Reports a URL of an external JavaScript library that is not associated with any locally stored file.

Non-strict mode used   New in this release

Reports a JavaScript file that is not in the strict mode.

Primitive type object wrapper used   New in this release

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.

Property can be replaced with shorthand   New in this release

Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it.

Redundant nesting in template literal   New in this release

Reports nested instances of a string or a template literal.

Referencing mutable variable from closure   New in this release

Reports access to outer mutable variables from functions.

Signature mismatch   New in this release

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.

Syntax errors and unresolved references in JSDoc   New in this release

Reports a syntax discrepancy in a documentation comment.

Type mismatch  

Reports incorrect type of: a parameter in a function call a return value an assigned expression TypeScript code is ignored.

Unfiltered for..in loop   New in this release

Reports unfiltered for-in loops.

Unnecessary semicolon   New in this release

Reports an unneeded semicolon.

Unneeded last comma in array literal   New in this release

Reports a usage of a trailing comma in an array literal.

Unneeded last comma in object literal   New in this release

Reports usages of a trailing comma in object literals.

Unresolved Ext JS xtype   New in this release

Reports an Ext JS xtype reference that doesn't have a corresponding class.

Unresolved JSX component   New in this release

Reports an unresolved reference to a JSX component.

Unresolved file reference   New in this release

Reports an unresolved file reference in a JavaScript file, including CommonJS and AMD modules references.

Unresolved reference   New in this release

Reports an unresolved reference in JavaScript code.

Use of possibly unassigned property in a static initializer   New in this release

Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet.

Variable declaration can be merged with the first assignment to the variable   New in this release

Reports a variable that is declared without an initializer and is used much further in the code or in a single nested scope.

Webpack config compliance with JSON Schema   New in this release

Validates options in webpack config files (which name should start with `webpack`, e.g.

Last modified: 11 September 2024