Skip to content

[REQ] //eslint-disable should be /* eslint-disable */ #4539

@sreichi

Description

@sreichi

When using the generated typescript-fetch client i allways get warnings in my console telling
me I have unused vars in my generated clients. Therefore i had a look and it is true. There are unused vars. But there is also a //eslint-disable comment at the top of the file. The Problem is that eslint requrires a different format for disables.

I tested it by just replacing //eslint-disable with /* eslint-disable */ and voilà the warning is gone.

I would recommend to change //eslint-disable into /* eslint-disable */

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions