@kidwen/eslint-config-angular
v18.0.0
Published
eslint for angular project
Downloads
10
Readme
eslint-angular
eslint for angular project
Quick Start
Follow the latest Getting Started guide on https://angular.io/ in order to install the Angular CLI
install this package in your project
# use npm npm install @kidwen/eslint-config-angular@latest --save-dev # use yarn yarn add @kidwen/eslint-config-angular@latest --dev
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", ] }
add
.eslintrc.json
file like this{ "root": true, "extends": "@kidwen/eslint-config-angular" }
Test
git clone https://github.com/kidwen/eslint-config-angular.git
cd eslint-config-angular
yarn
yarn link
cd example/lint
yarn
yarn link @kidwen/eslint-config-angular