CodeQL library for JavaScript
codeql/javascript-all 0.2.2 (changelog, source)
Search

Module UnusedVariable

Provides classes and predicates for the ‘js/unused-local-variable’ query.

Import path

import Declarations.UnusedVariable

Imports

UnusedIndexVariable

Provides a predicate for identifying unused index variables in loops.

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

UnusedLocal

A local variable that is neither used nor exported, and is not a parameter or a function name.