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

eslint-watch

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-watch

Run eslint with watch mode

  • 7.0.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is eslint-watch?

eslint-watch is a command line tool that provides a convenient way to run ESLint in watch mode. It allows developers to automatically lint their code as they make changes, providing immediate feedback and helping to maintain code quality.

What are eslint-watch's main functionalities?

Watch Mode

This feature allows you to run ESLint in watch mode on the 'src' directory. It will automatically re-run ESLint whenever a file in the 'src' directory changes.

npx esw -w src

Custom Formatter

This feature allows you to specify a custom formatter for the ESLint output. In this example, the 'stylish' formatter is used to format the linting results.

npx esw -w src -f stylish

Fix on Save

This feature enables ESLint to automatically fix problems in your code whenever a file is saved. The '--fix' flag tells ESLint to apply fixes for any issues it finds.

npx esw -w src --fix

Other packages similar to eslint-watch

Keywords

FAQs

Package last updated on 28 May 2020

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