Skip to content

Commit 88a4acd

Browse files
gkjohnsonGarrett Johnson
authored andcommitted
Add typescript lint rules and enable typescript no-unused-vars rule
1 parent a5d295b commit 88a4acd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@
2828
"parser": "@typescript-eslint/parser",
2929
"extends": "mdcs",
3030
"plugins": [
31-
"html"
32-
]
31+
"html",
32+
"@typescript-eslint"
33+
],
34+
"rules": {
35+
"@typescript-eslint/no-unused-vars": 1
36+
}
3337
},
3438
"scripts": {
3539
"build": "rollup -c",
@@ -61,6 +65,7 @@
6165
"eslint-config-mdcs": "^4.2.3",
6266
"eslint-plugin-html": "^5.0.3",
6367
"@typescript-eslint/parser": "^1.9.0",
68+
"@typescript-eslint/eslint-plugin": "^1.9.0",
6469
"typescript": "^3.4.5",
6570
"google-closure-compiler": "20190415.0.0",
6671
"http-server": "^0.11.1",

0 commit comments

Comments
 (0)