2.1.0 • Published 11 months ago

eslint-config-lover v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

ESLint Config Lover

npm version

Lover's approach to JavaScript and TypeScript.

Description

This config helps maintain consistent codebase across many projects and contains many useful rules that will improve your code quality. It's dedicated for JavaScript & TypeScript projects - both back-end and front-end ones.

Usage

Install

npm i -D eslint-config-lover

Add the following entry to your .eslintrc file:

{
  "extends": ["lover"]
}

For TypeScript, create tsconfig.eslint.json file right next to your current tsconfig.json, that looks like this:

{
  "extends": "./tsconfig.json",
  "include": [
    "src"
    // all directories you would like to include in linting process
  ]
}