Skip to content

Option to omit /* eslint-disable */, ... from the header of the generated files #1539

@mirismaili

Description

@mirismaili

I see:

/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

on the top of the generated files. These are redundant. Some users don't have these tools in their projects. And others that have one or more of these tools can easily ignore the path of the generated files in the configuration of that tools IF THEY WANT. For example, for ESLint:

{
  ignorePatterns: ['**/generated/**'], // The user can easily ignore the `generated` path IF HE/SHE WANT.
  ...
}

Also, this is not a complete list. There are some other tools that aren't ignored here. So I think these aren't useful and at least there should be an option to disable this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions