Skip to content

This Visual Studio Code extension allows you to quickly navigate to the next ESLint error in your workspace, even across multiple files.

License

Notifications You must be signed in to change notification settings

rsml/eslint-next-error

Repository files navigation

ESLint Next Error

This Visual Studio Code extension allows you to quickly navigate to the next ESLint error in your workspace, even across multiple files.

Features

  • Jump to the next ESLint error in your workspace with a single keyboard shortcut.
  • Works across all open files in your workspace.
  • Displays the ESLint error message when jumping to an error.

Requirements

  • Visual Studio Code v1.60.0 or higher
  • ESLint must be installed and configured in your workspace

Create a .vscode/tasks.json in your folder that looks something like this:

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Run ESLint on all files",
      "type": "shell",
      "command": "npx eslint .",
      "problemMatcher": "$eslint-stylish",
      "runOptions": {
        "runOn": "folderOpen"
      }
    }
  ]
}

(this is required in order to run eslint when the project first opens)

Installation

  1. Open Visual Studio Code
  2. Press Ctrl+P (or Cmd+P on macOS) to open the Quick Open dialog
  3. Type ext install eslint-next-error and press Enter

Usage

After installation,**** you can use the extension as follows:

  1. Open a project with ESLint configured
  2. Use the keyboard shortcut Alt+Shift+E (or Option+Shift+E on macOS) to jump to the next ESLint error
  3. The cursor will move to the location of the next error, and an information message will display the error description

Extension Settings

This extension does not add any VS Code settings.

Known Issues

Currently, there are no known issues. If you encounter any problems, please file an issue on the GitHub repository.

Release Notes

1.0.0

Initial release of ESLint Next Error

  • Added ability to jump to the next ESLint error in the workspace
  • Implemented keyboard shortcut (Alt+Shift+E / Option+Shift+E)

Contributing

If you'd like to contribute to this extension, please feel free to submit a pull request or open an issue on our GitHub repository.

License

This extension is licensed under the MIT License.


Enjoy using ESLint Next Error!

About

This Visual Studio Code extension allows you to quickly navigate to the next ESLint error in your workspace, even across multiple files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published