Skip to content

deliveryhero/eslint-config-logistics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/