1.1.1 • Published 5 months ago

@instea/eslint-config-node v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

@instea/eslint-plugin-node

Default ESLint rules for Node.js projects.

Installation

yarn add --dev prettier eslint

yarn add --dev @instea/eslint-config-node

Usage

Extend from this plugin in eslint configuration:

{
  "extends": ["@instea/node"]
}

Create .prettierrc file with this content:

{
  "semi": true,
  "singleQuote": true,
  "printWidth": 80,
  "trailingComma": "es5",
  "arrowParens": "avoid"
}

Run eslint using yarn:

yarn eslint . --max-warnings 0