xmk-dev / eslint-config-lover

Lover's approach to JavaScript/TypeScript.

Home Page:https://www.npmjs.com/package/eslint-config-lover?activeTab=readme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Lover's approach to JavaScript/TypeScript.

https://www.npmjs.com/package/eslint-config-lover?activeTab=readme

License:MIT License


Languages

Language:JavaScript 100.0%