Socket
Book a DemoInstallSign in
Socket

@icelandair/eslint-config

Package Overview
Dependencies
Maintainers
32
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icelandair/eslint-config

Icelandair's base JS ESLint config

6.0.0
latest
Source
npmnpm
Version published
Weekly downloads
39
85.71%
Maintainers
32
Weekly downloads
 
Created
Source

@icelandair/eslint-config

npm

This package provides Icelandair's base JS .eslintrc as an extensible shared config.

Installation

Assuming you already have a valid package.json:

npm install --save-dev @icelandair/eslint-config eslint prettier

or

yarn add -D @icelandair/eslint-config eslint prettier

Will add the the full package as a dev dependency to your project. At which point you can use it by adding an .eslintrc file to your project root directory.

{
  "extends": [ "@icelandair/eslint-config" ]
}

Usage

Our default export contains all of our ESLint rules.

We are extending the following:

If you are writing a React application or component your .eslintrc will look something like this:

{
  "extends": [ "@icelandair/eslint-config" ],
  "rules": {
    ...
    rules to disable, extend or add
  }
}

Keywords

eslint

FAQs

Package last updated on 31 Jul 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.