Socket
Socket
Sign inDemoInstall

eslint-config-mailonline

Package Overview
Dependencies
13
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-mailonline

MailOnline ESLint config.


Version published
Weekly downloads
214
increased by16.3%
Maintainers
5
Created
Weekly downloads
 

Readme

Source

eslint-config-mailonline

Greenkeeper badge

NPM version Travis build status

MailOnline ESLint configuration.

Usage

Add eslint-config-mailonline as a development dependency:

npm install eslint-config-mailonline --save-dev

Create ESLint configuration file (.eslintrc) that extends eslint-config-mailonline:

{
  "extends": "mailonline"
}

Extended configs

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.:

{
  "extends": [
    "mailonline",
    "mailonline/jest",
    "mailonline/react"
  ]
}

jest

{
  "extends": "mailonline/jest"
}

mocha

{
  "extends": "mailonline/mocha"
}

react

{
  "extends": "mailonline/react"
}

flowtype

{
  "extends": "mailonline/flowtype"
}

lodash

{
  "extends": "mailonline/lodash"
}

webpack

{
  "extends": "mailonline/webpack"
}

Breaking changes

Any changes to this package that might cause code using it to not validate anymore, will be a semver-major change.

Keywords

FAQs

Last updated on 19 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc