Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-service

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-service

ESLint service worker for maximally efficient editor integrations

  • 0.0.3
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

eslint-service

Installation: npm install --global eslint-service

Usage (Sublime Text):

  • Install SublimeLinter through Package Control
  • Install SublimeLinter-eslint through Package Control
  • Open Preferences: SublimeLinter Settings through the command palette
  • Configure like so:
{
  "linters": {
    "eslint": {
      "executable": "eslint-service"
    }
  }
}

Notes

  • Binds to localhost:2881 by default, can be configured by setting ESLINT_PORT and ESLINT_HOST environment variables
  • Service worker sticks around for 15 minutes by default, can be configured by setting ESLINT_TIMEOUT environment variable (timeout in seconds)
  • Only the particular command-line options (eslint --format json --stdin --stdin-filename) used by SublimeLinter-eslint currently supported, but it would be very easy to add additional support for other options, PRs welcome!

Timing comparison (on a fully primed disk cache):

  • eslint: 1055ms
  • eslint-service: 248ms

Keywords

FAQs

Package last updated on 14 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc