Skip to content

jeroenpol/eslint-config

Repository files navigation

polware eslint-config

Usage

Use this esLint config as a basis for you Angular projects.

Installation

  1. Install the npm package
npm i --save-dev @jeroenpol/eslint-config
  1. Install peer dependencies using NPM 5+ and this command:
npx install-peerdeps --dev @jeroenpol/eslint-config
  1. Update your .eslintrc file to:
{
  "root": true,
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2020,
    "sourceType": "module"
  },
  "overrides": [
    {
      "files": ["*.ts", "*.tsx"],
      "extends": ["@jeroenpol/eslint-config"]
    }
  ]
}

About

Eslint config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published