1npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin
1{
2 "root": true,
3 "parser": "@typescript-eslint/parser",
4 "plugins": [
5 "@typescript-eslint"
6 ],
7 "extends": [
8 "eslint:recommended",
9 "plugin:@typescript-eslint/eslint-recommended",
10 "plugin:@typescript-eslint/recommended"
11 ]
12}