1.0.0 • Published 5 years ago

@noxu/eslint-config-base v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@noxu/eslint-config-base

npm version

This package provides Noxu's base JS .eslintrc (without React plugins) as an extensible shared config.

Under the hood this package rely on airbnb styleguide and prettier for automatic indentation.

Usage

Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint, prettier, eslint-plugin-prettier and eslint-plugin-import.

  1. Install the correct versions of each package, which are listed by the command:

    npm info "@noxu/eslint-config-base@latest" peerDependencies

    If using npm 5+, use this shortcut

    npx install-peerdeps --dev @noxu/eslint-config-base
  2. Add "extends": "@noxu/eslint-config-base" to your .eslintrc.