
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
eslint-watcher
Advanced tools
Watches selected files in your repo for new saves and runs ESLint in its own terminal when it sees a save.
eslint-watcher
is a Node.js utility designed to enhance your JavaScript and TypeScript development workflow in Visual Studio Code. It automatically monitors your files and applies ESLint in real-time, ensuring code quality and consistency.
eslint-watcher
in your project with minimal effort..eslintrc.cjs
file in your project root.Install eslint-watcher
via npm:
npm install eslint-watcher
After installing the package with npm install eslint-watcher
, run the setup script with the following command:
node node_modules/eslint-watcher/scripts/setup.js
This script will install ESLint (if not already installed), set up a default ESLint configuration, and create necessary Visual Studio Code tasks.
After installation and setup, eslint-watcher
will automatically start whenever you open your project in Visual Studio Code. It will monitor specified files and directories, applying ESLint checks in real-time.
eslint-watcher
uses several dependencies to provide comprehensive linting coverage:
@typescript-eslint/eslint-plugin
and @typescript-eslint/parser
, ESLint can lint TypeScript files in addition to JavaScript files.eslint-config-react
and eslint-config-react-app
provide a set of ESLint rules tailored for React applications, and eslint-plugin-react
provides React-specific linting rules.eslint-watcher
to monitor changes in your files in real-time.These dependencies ensure that eslint-watcher
can lint a wide range of JavaScript and TypeScript code, including React applications. If your project uses other libraries or frameworks, you may need to install additional ESLint plugins or configurations to ensure complete coverage.
You can customize the ESLint rules by editing the .eslintrc.cjs
file in your project root. Modify this file to tailor the linting rules to your project's specific needs.
If you encounter any issues during the setup process, please ensure that you have the latest version of Node.js and npm installed. If the problem persists, try running the setup script again or check the console for any error messages. For further assistance, please visit the GitHub repository and submit an issue.
Contributions to eslint-watcher
are welcome! If you have suggestions or improvements, feel free to fork the repository, make your changes, and submit a pull request. Your input helps make eslint-watcher
better for everyone.
eslint-watcher
is open-source software licensed under the MIT License. See the LICENSE file for more details.
For questions, feedback, or issues, please visit the GitHub repository.
Happy coding with eslint-watcher
!
FAQs
Watches selected files in your repo for new saves and runs ESLint in its own terminal when it sees a save.
The npm package eslint-watcher receives a total of 24 weekly downloads. As such, eslint-watcher popularity was classified as not popular.
We found that eslint-watcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.