eslint-config-skyscanner-with-prettier
v1.0.0eslint-config-skyscanner-with-prettier
IMPORTANT NOTE: Prettier is now included in eslint-config-skyscanner
, and this package is just a wrapper around it. It's recommended to switch to eslint-config-skyscanner
as soon as possible, as eslint-config-skyscanner-with-prettier
is deprecated and will be archived soon.
This package contains an encapsulated setup for ESLint according to Skyscanner's best practices plus integrated support for Prettier via eslint fix.
Changelog
Installation
npm install --save-dev eslint-config-skyscanner-with-prettier
If you already have a .eslintrc
you need to change it to have "extends": ["skyscanner-with-prettier"]
and remove any references to the base "skyscanner"
config.
Editor integration
To enable prettier format on save setup your editor to run eslint fix on save.
npm i eslint-config-skyscanner-with-prettier
Metadata
- Apache-2.0
- ^12.13.0
- Backpack Design System
- released 2/25/2020