
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
eslint-config-mailonline
Advanced tools
eslint-config-mailonlineeslint-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 492 weekly downloads. As such, eslint-config-mailonline popularity was classified as not popular.
We found that eslint-config-mailonline demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.