
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
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 10 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.