Skip to content

adammccullagh/eslint-config-skyscanner

 
 

Repository files navigation

eslint-config-skyscanner

Build Status npm version

This package includes the shareable ESLint configuration used by Skyscanner.

Installation

npm install --save-dev @skyscanner/eslint-config-skyscanner

Add "extends": "@skyscanner/eslint-config-skyscanner" to your .eslintrc.

React

@skyscanner/eslint-config-skyscanner will try to detect automatically the version of React installed.

If your project doesn't use it or it is not installed in the same package.json as @skyscanner/eslint-config-skyscanner, it must be manually set in .eslintrc:

"settings": {
  "react": {
    "version": "16.4"
  }
}

Rules included in this repository

Custom rules are currently wrapped in a locally-installed package. This will no longer be needed once the eslint version used accepts objects as shown in custom rules tutorial.

Changelog

View our up-to-date changelog.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • Other 1.4%