eslint-config-zenflow

A good eslint configuration


License
MIT
Install
npm install eslint-config-zenflow@4.0.0

Documentation

eslint-config-zenflow

A good eslint configuration

npm version CI status Code Climate maintainability LGTM alerts Known Vulnerabilities

Features

Install

Install packages:

npm install --save-dev eslint eslint-config-zenflow

# optional
npm install --save-dev typescript

Add .eslintrc file:

{
  "extends": ["zenflow"],
  "rules": { /* custom rule configs here */ }
}

Add package "scripts":

"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint-fix": "npm run lint -- --fix",

Optional Configure Prettier to your taste.

Optional Copy the companion .editorconfig file to the root of your project.

Recommended Enable eslint integration in your IDE of choice