Options dialog box: Text Editor > JavaScript/TypeScript > Linting

Use the Linting page of the Options dialog box to set options for analyzing code in the Code Editor. To access this page, on the menu bar, choose Tools > Options, and then expand Text Editor > JavaScript/TypeScript > Linting.

ESLint Settings

These options let you enable static JavaScript and TypeSCript code analysis, and choose which files are analyzed. For more information about ESLint, see ESLint.org.

UIElement list

Option Description
Enable ESLint When this option is selected, the Code Editor allows for static analysis on the code.
Lint all files included in project, even closed files When this option is selected, closed files are analyzed, unless diagnostics are only reported for open files.

Global ESLint Config Options

This option lets you copy the location of the global ESLint configuration file. Also, if you previously changed the location, you can reset the file to its default location.

See also