Nodecraft base JS ESLint config

Usage no npm install needed!

<script type="module">
  import eslintConfigNodecraft from '';



Actions Status

This package is modeled heavily off of Airbnb's base config. A huge thanks to their team.


We export our standard ESLint configuration.

Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint, eslint-plugin-node, eslint-plugin-json & eslint-plugin-unicorn & eslint-plugin-vue.

  1. Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-nodecraft@latest" peerDependencies

If using npm 5+, use this shortcut:

npx install-peerdeps --dev eslint-config-nodecraft
  1. Add "extends": "nodecraft" to your .eslintrc

If your application uses Vue.js, also add nodecraft/vue to your extends array to inherit our Vue rules, as well as nodecraft/vue-a11y for our Vue Accessibility rules.