eslint-config-makeapps
v6.0.0
Published
The official ESLint configuration of the Make Apps / Make Bots development shop
Downloads
12
Maintainers
Readme
eslint-config-makeapps
Installation/usage
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires:
eslint
babel-eslint
eslint-config-airbnb-base
eslint-plugin-import
eslint-plugin-better
eslint-plugin-fp
eslint-plugin-lodash-fp
- Ensure packages are installed with correct version numbers by running:
(
export PKG=eslint-config-makeapps;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev "$PKG@latest"
)
If you don't have yarn
installed, use this instead:
(
export PKG=eslint-config-makeapps;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm i --save-dev "$PKG@latest"
)
- Add
"extends": "makeapps"
to your ESLint configuration.