0.0.2 • Published 4 years ago
baf-lib-dev2 v0.0.2
Usage
We export two ESLint configurations for your usage.
baf-lib-dev
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
and eslint-plugin-import
.
- Install the correct versions of each package, which are listed by the command:
npm info "baf-lib-dev@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev baf-lib-dev
- Add
"extends": "airbnb-base"
to your .eslintrc.
You can run tests with npm test
.
You can make sure this module lints with itself using npm run lint
.