0.0.1 • Published 2 years ago

@kidwen/eslint-angular v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-angular

eslint for angular project

Quick Start

  1. Follow the latest Getting Started guide on https://angular.io/ in order to install the Angular CLI

  2. install this package in your project

    # use npm
    npm install @kidwen/eslint-angular@latest --save-dev
    # use yarn
    yarn add @kidwen/eslint-angular@latest --dev 
  3. add tsconfig.eslint.json file like this

    {
        "extends": "./tsconfig.app.json",
        "include": [
            // adjust "includes" to what makes sense for you and your project
            "src/**/*.ts",
            "projects/**/*.ts",
        ]
    }
  4. add .eslintrc.json file like this

    {
        "root": true,
        "extends": "@kidwen/eslint-angular"
    }