@jeroenpol/eslint-config

1.0.14 • Public • Published

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

Package Sidebar

Install

npm i @jeroenpol/eslint-config

Weekly Downloads

14

Version

1.0.14

License

MIT

Unpacked Size

10 kB

Total Files

8

Last publish

Collaborators

  • jeroenpol