
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
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 463 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.