@instea/eslint-config-node

1.1.1 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @instea/eslint-config-node

Weekly Downloads

6

Version

1.1.1

License

ISC

Unpacked Size

2.17 kB

Total Files

4

Last publish

Collaborators

  • madox2
  • instea-admin
  • sodik82