ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-eslint

by sublimelsp ST3

ESLint support for Sublime LSP plugin

Details

  • 1.0.0
    0.0.6
  • github.​com
  • github.​com
  • 1 month ago
  • 2 hours ago
  • 5 months ago

Installs

  • Total 312
  • Win 69
  • Mac 143
  • Linux 100
Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19
Windows 1 0 0 0 0 0 1 1 0 0 0 3 0 0 3 2 0 1 1 1 2 3 0 0 0 0 0 1 1 0 1 2 1 0 2 2 0 0 0 0 1 1 1 2 2 2
Mac 1 5 3 1 0 0 2 2 2 0 1 1 0 1 0 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 1 1 2 2 0 2 2 0 2 2 3 1
Linux 0 0 0 1 0 0 1 2 0 3 1 3 1 1 0 1 0 0 1 1 3 0 0 0 0 1 2 0 2 0 1 1 1 1 1 1 0 0 0 2 1 2 1 2 1 3

Readme

Source
raw.​githubusercontent.​com

LSP-eslint

Eslint support for Sublime's LSP plugin provided through vscode-eslint.

Installation

  • Install LSP and LSP-eslint from Package Control.
  • Restart Sublime.

Configuration

Open configuration file using command palette with Preferences: LSP-eslint Settings command or opening it from the Sublime menu.

Configuration file contains multiple configuration keys:

scopes

Defines which scopes ESLint can run in.

syntaxes

Defines which syntax files ESLint can run in.

settings

ESLint configuration options. Refer to documentation for VSCode extension.

FAQ

Q: How to enable linting of Typescript code?

A: Make sure that eslint configuration in your project has typescript-eslint plugin configured. See https://github.com/typescript-eslint/typescript-eslint for more information.