Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 769 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 769 Bytes

eslint-config-drdropin

Dr. Dropin ESLint config

Installing

  1. In your project folder, add an .npmrc file that contains this line: registry=https://npm.pkg.github.com/drdropin-tech

  2. Now, in the same folder, run:

(
  export PKG=@drdropin-tech/eslint-config-drdropin;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': [
    '@drdropin-tech/eslint-config-drdropin'
  ]
}

This repository is inspired by eslint-config-leozera.