Skip to content

Commit

Permalink
mgr/dashboard: remove TSlint no-unused-variable rule
Browse files Browse the repository at this point in the history
to silence warning like

no-unused-variable is deprecated. Since TypeScript 2.9. Please use the
built-in compiler checks instead.

we are using TypeScript 3.1.3 at the time of writing.

see palantir/tslint#3919

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Nov 27, 2018
1 parent f89c75f commit 5ceef43
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pybind/mgr/dashboard/frontend/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
Expand Down

0 comments on commit 5ceef43

Please sign in to comment.