Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
eslint-config-skyscanner
Advanced tools
This package includes the shareable ESLint configuration used by Skyscanner. It requires eslint
, babel-eslint
, eslint-config-airbnb
, eslint-plugin-import
, eslint-plugin-react
, eslint-plugin-jsx-a11y
and eslint-plugin-backpack
.
Ensure packages are installed with correct version numbers by running:
npx install-peerdeps --dev eslint-config-skyscanner
If using npm < 5, Linux/OSX users can run
(
export PKG=eslint-config-skyscanner;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
Which produces and runs a command like:
npm install --save-dev eslint-config-skyscanner eslint@^#.#.# babel-eslint@^#.#.# eslint-config-airbnb@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-react@^#.#.# eslint-plugin-backpack@^#.#.#
If using npm < 5, Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.
npm install -g install-peerdeps
install-peerdeps --dev eslint-config-skyscanner
The cli will produce and run a command like:
npm install --save-dev eslint-config-skyscanner eslint@^#.#.# babel-eslint@^#.#.# eslint-config-airbnb@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-react@^#.#.# eslint-plugin-backpack@^#.#.#
Add "extends": "skyscanner"
to your .eslintrc
4.0.0-beta.8 - Disabled react/jsx-one-expression-per-line
react/jsx-one-expression-per-line
, temporarily - https://github.com/airbnb/javascript/commit/b6a268f780177e03b573a4f0df95ecc0d2e8783e#diff-c0191b2bdd5bfebebb8cec31d0f3993cFAQs
Skyscanner's ESLint config.
The npm package eslint-config-skyscanner receives a total of 21 weekly downloads. As such, eslint-config-skyscanner popularity was classified as not popular.
We found that eslint-config-skyscanner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.