
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
eslint-config-moon
Advanced tools
A modern and strict ESLint configuration with optional presets and first-class TypeScript support. Expands upon the amazing Airbnb config to provide the latest ECMAScript features, enforce popular patterns, and align with the wider community.
yarn add --dev eslint eslint-config-moon
Extend the moon
config in your root .eslintrc.js
. Additional presets are available
for additional rules.
module.exports = {
root: true,
extends: ['moon'],
};
The following additional configs can also be extended, but are not enabled by default.
moon/browser
- Sets the environment to the browser/DOM and enables the
compat plugin. Should not be used with the
node
preset.moon/node
- Sets the environment to Node.js and enables the
node plugin. Should not be used with the
browser
preset.moon/react
- Enables the react,
react-hooks,
react-perf, and
jsx-a11y plugins.
*.tsx
files and also extends the browser
preset.react
version is 17+.moon/solid
- Enables the solid plugin.
*.tsx
files and also extends the browser
preset.parserOptions.project
based on the root tsconfig.json
.any
type and unsafe operations.src
folder.*.test.*
and be located within a tests
or __tests__
folder.package.json
contains a Node.js engine
for the target runtime.FAQs
A modern and strict ESLint configuration.
The npm package eslint-config-moon receives a total of 238 weekly downloads. As such, eslint-config-moon popularity was classified as not popular.
We found that eslint-config-moon demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.