Icelandair's base JS ESLint config

Usage no npm install needed!

<script type="module">
  import icelandairEslintConfig from 'https://cdn.skypack.dev/@icelandair/eslint-config';




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


Assuming you already have a valid package.json:

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


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" ]


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