Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Autolinting for JavascriptNew to Visual Studio Code? Get it now.
Autolinting for Javascript

Autolinting for Javascript

t-sauer

|
22,658 installs
| (0) | Free
Automatically activate the correct Javascript linter for your workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Autolinting for Javascript in VSCode

Build Status

Features

Automatically activates/deactivates the correct linters in Visual Studio Code for your current Javascript workspace depending on which configuration files can be found.
If no configuration can be found, user defined default linters will be used.

Currently supported linters:

  • ESLint
  • JSHint
  • JSCS
  • Standard
  • TSLint

Requirements

All linter extensions you want to use have to be installed in Visual Studio Code.
You can find these extensions here:

  • ESLint
  • JSHint
  • JSCS
  • Standard: JavaScript Standard Style or JS "Standard" Linter
  • TSLint

Extension Settings

Default Linters

If you want to set one or more default linters (for the case that no configuration can be found), you can add a setting to your configuration:

  • jsAutolint.defaultLinters: Set to an Array containing all linters you want to activate if no known linter configuration can be found (e.g. ["jshint", "jscs"]).
    Possible Values:
    • eslint
    • jscs
    • jshint
    • standard
    • tslint

The default linters will be set if you either open a Javascript file while a folder is opened (if you just open single files the linters won't get set automatically) or if you run the command Automatically set correct Javascript linters from the command palette.

Disabling

  • jsAutolint.enable: If set to false the extension won't automatically set the linters. This is useful in certain project settings if you want to handle the configuration yourself. The command to automatically set linters is still available if you want to run it manually.

Status information

  • jsAutolint.showStatus: If set to false current active linters won't be displayed in the status bar.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft