eslint-config-skyscanner-with-prettier
v1.0.0
Published
Skyscanner's eslint config with prettier support
Downloads
86
Maintainers
Keywords
Readme
eslint-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.