eslint-config-lover

2.1.0 • Public • Published

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
  ]
}

Package Sidebar

Install

npm i eslint-config-lover

Weekly Downloads

38

Version

2.1.0

License

MIT

Unpacked Size

11.6 kB

Total Files

13

Last publish

Collaborators

  • xmk-dev-1