Dr. Dropin ESLint config
-
In your project folder, add an
.npmrc
file that contains this line:registry=https://npm.pkg.github.com/drdropin-tech
-
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"
)
- 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.