Skip to content

Kevnz/eslint-config

Repository files navigation

@kev_nz/eslint-config

Eslint config for my current preferences including prettier and SonarJS

Install

npm install @kev_nz/eslint-config --save-dev

Usage

Add a .eslintrc.json file to your project

{
  "extends": ["@kev_nz"]
}

Reminder

ESLint is a peerDependency, so you must install it as well

npm install eslint --save-dev

Extends

  • Standard
  • Prettier
  • React
  • SonarJS
  • Import order
  • Spellchecking