
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@limetech/eslint-config
Advanced tools
Reusable lint rules for use in other packages.
Install using npm:
npm i -D @limetech/eslint-config
Then put a file called eslint.config.mjs
in your package root, with the following content:
import { defineConfig } from 'eslint/config';
import config from '@limetech/eslint-config';
export default defineConfig([...config]);
Finally, add a script for running eslint to your package.json
, for example:
{
…
"scripts": {
"lint": "eslint --max-warnings=0",
"lint:fix": "eslint --fix --max-warnings=0"
},
}
You can then use npm run lint
in your CI workflows, as it will fail on any
warnings or errors. On your own machine, you would typically run
npm run lint:fix
instead, to have eslint automatically fix as many of the
problems as possible, and only output warnings or errors for problems that
cannot be fixed automatically.
This package also exposes a reusable Prettier config that can be used to lint and format other files not natively covered by ESLint, such as CSS/SCSS files. To use it, create a .prettierrc.mjs
file in your package root with the following content:
export { default } from '@limetech/eslint-config/prettier.config.js';
FAQs
Reusable lint rules for use in other packages.
The npm package @limetech/eslint-config receives a total of 218 weekly downloads. As such, @limetech/eslint-config popularity was classified as not popular.
We found that @limetech/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.