A TSLint rule to make unused locals and properties lint errors.
This rule essentially acts like TypeScript's
noUnusedProperties combined, except that by using TSLint
the actual compilation is not affected.
no-unused is a replacement for TSLint's deprecated builtin
no-unused-variable rule, but also works with
This rule uses TypeScript 2.9's new unused diagnostics, so TS 2.9 or newer is required.
tslint-no-unused to your project's dev dependencies and add the following to your