Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@metamask/eslint-config
Advanced tools
@metamask/eslint-config
MetaMask's base ESLint configuration.
Our default export contains a base set of ESLint rules for ES6+:
yarn add --dev \
@metamask/eslint-config@^9.0.0 \
eslint@^7.23.0 \
eslint-config-prettier@^8.1.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-jsdoc@^36.1.0 \
eslint-plugin-prettier@^3.3.1 \
prettier@^2.2.1
The order in which you extend ESLint rules matters.
The @metamask/*
eslint configs should be added to the extends
array last,
with @metamask/eslint-config
first, and @metamask/eslint-config-*
in any
order thereafter.
module.exports = {
extends: [
// This should be added last unless you know what you're doing.
'@metamask/eslint-config',
],
};
FAQs
Shareable MetaMask ESLint config.
We found that @metamask/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.