6.0.0 • Published 11 months ago

@icelandair/eslint-config v6.0.0

Weekly downloads
77
License
MIT
Repository
github
Last release
11 months ago

@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
  }
}
6.0.0

11 months ago

5.0.6

4 years ago

5.0.5

4 years ago

5.0.4

4 years ago

5.0.3

4 years ago

5.0.2

4 years ago

5.0.1

4 years ago

5.0.5-0

4 years ago

5.0.0

4 years ago

4.2.0

4 years ago

4.1.0-0

5 years ago

4.1.0

5 years ago

4.0.3

5 years ago

4.0.2

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.3.2

7 years ago

2.3.1

7 years ago

2.3.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago