gui-marc / eslint-config-backend

eslint-configs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eslint Config

This is a simple repo containing some eslint configs that I use in my projects.

Usage

Install the package:

npm install --save-dev @gui-marc/eslint-config-backend

And install the peer dependencies:

npx install-peerdeps --dev @gui-marc/eslint-config-backend

Then add the config to your eslint config file:

{
  "extends": "@gui-marc/eslint-config-backend",
  "parserOptions": {
    "project": "./tsconfig.json" // the path to your tsconfig.json file
  }
}

Then add this config to your .prettierrc file:

{
    "trailingComma": "none",
    "semi": true,
    "singleQuote": true
}

About

eslint-configs


Languages

Language:JavaScript 100.0%