Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.2 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.2 KB

Commitizen friendly

ESLint config for Delivery Hero Logistics

Config contents

The config includes:

How to use

You need to have eslint, prettier and babel-eslint installed. Then use the provided command to install the config itself.

  1. npm i -D @deliveryhero/logistics-eslint-config or yarn add -D @deliveryhero/logistics-eslint-config
  2. Put "extends": ["./node_modules/@deliveryhero/logistics-eslint-config"] or "extends": ["./node_modules/@deliveryhero"] in your .eslintrc

.eslintrc

{
  "extends": ["./node_modules/@deliveryhero"]
}

Install peerDeps

You can use install-peerdeps package to install all the necessary peerDeps.

npx install-peerdeps @logistics/eslint-config --auth %YOUR_NPM_TOKEN% --registry https://nexus.usehurrier.com/repository/logistics-npm-group/