Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-mono

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-mono

JavaScript Mono Style - ESLint Shareable Config

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
202
increased by69.75%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-mono travis npm downloads

An ESLint Shareable Config heavily based on JavaScript Standard Style

Note: This is really intended for personal use, but feel free to use it if it looks good to you

Install

npm install eslint-config-mono

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the JavaScript Standard Style shareable config, first run this:

npm install -D -E eslint-config-mono eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

Then, add this to your .eslintrc file:

{
  "extends": "mono"
}

Custom rules

{
  "comma-dangle": ["warn", {
    "arrays": "always",
    "objects": "always",
    "imports": "always",
    "exports": "always",
    "functions": "ignore"
  }],
  "array-bracket-spacing": ["warn", "always"],
  "object-curly-spacing": ["warn", "always"],
  "no-sequences": ["off"],
  "no-console": ["warn"],
  "standard/object-curly-even-spacing": ["off"]
}

Keywords

FAQs

Package last updated on 17 Jan 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc