Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-config-mailonline
Advanced tools
eslint-config-mailonline
eslint-config-mailonline
is a shared ESLint configuration used by MailOnline. This configuration includes rules for ES6, React, Jest, Lodash, and Webpack.
Add eslint-config-mailonline
as a development dependency:
For npm users:
npm install eslint-config-mailonline --save-dev
For Yarn users:
yarn add eslint-config-mailonline --dev
Please note that there is no requirement to install stylelint independently in the parent package. This is because it is included as a dependency within this library and will be hoisted to the parent package.
Create ESLint configuration file (eslint.json
) that extends eslint-config-mailonline
:
{
"extends": "mailonline",
}
The package also has separate entry points for some environments. Simply extend from the entry point as described below, either in a folder-specific eslint config, or additionally to the root config, e.g.:
module.exports = {
"extends": [
"mailonline",
"mailonline/jest",
"mailonline/react"
]
};
module.exports = {
"extends": "mailonline/jest"
};
module.exports = {
"extends": "mailonline/react"
};
module.exports = {
"extends": "mailonline/lodash"
};
module.exports = {
"extends": "mailonline/webpack"
};
Any changes to this package that might cause code using it to not validate anymore, will be a semver-major change.
FAQs
MailOnline ESLint config.
The npm package eslint-config-mailonline receives a total of 47 weekly downloads. As such, eslint-config-mailonline popularity was classified as not popular.
We found that eslint-config-mailonline 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.