Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

[React/Redux template] Turn on noUnusedLocals & noUnusedParameters rules in tsconfig.json #1373

@thangchung

Description

@thangchung

Hi all,
Because I want to turn on the noUnusedLocals & noUnusedParameters rules in tsconfig.json to make my code neat and succinct. But if I turn it on, then the line at https://github.com/aspnet/templating/blob/dev/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/store/Counter.ts#L42 violated the rules. I have searched around on Google, but could not end up with the solution. I notice that maybe Typescript doesn't support it, the issue at microsoft/TypeScript#12913. Do we have any solution there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions