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

@igloosoftware/eslint-config-igloo

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@igloosoftware/eslint-config-igloo

Igloo eslint configurations

  • 2.3.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

eslint-config-igloo

Igloo ESLint configurations

 

Prerequisites

ESLint

 

Installation

Install the following packages as devDependencies:

npm install @igloosoftware/eslint-config-igloo eslint --save-dev

Then just reference the package in your projects package.json:

"@igloosoftware/eslint-config-igloo": "latest"

Notice the eslint dependency.

 

Usage

This package includes the following complete and ready to use configurations:

 

The base set of configurations. Most often not directly used, instead is meant to be extended from.

@igloosoftware/igloo

 

Project Setup

To consume just add the extends attribute to your .eslintrc within your project's root.

ES5

The core set of ES5 configurations. Extends @igloosoftware/eslint-config-igloo.

{
  "extends": "@igloosoftware/igloo/es5"
}
ESNext

The core set of ESNext configurations. Extends @igloosoftware/eslint-config-igloo.

{
  "extends": "@igloosoftware/igloo/next"
}
React

The core set of React configurations. Extends @igloosoftware/eslint-config-igloo/next.

{
  "extends": "@igloosoftware/igloo/react"
}
Node

The core set of Node configurations. Extends @igloosoftware/eslint-config-igloo/next.

{
  "extends": "@igloosoftware/igloo/node"
}

 

Customized Setup

If you need to override specific rules within your project, you can do so like this:

{
  "extends": "@igloosoftware/igloo/next",
  "rules": {
    "no-console": 0
  }
}

FAQs

Package last updated on 16 Mar 2020

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