Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #4539
Closed
Open
Issue created Nov 19, 2019 by Administrator@rootContributor

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

Created by: 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 */

Assignee
Assign to
Time tracking