Skip to content

Disable rule for entire file places inserted comment above shebang #762

@mrxdst

Description

@mrxdst

The comment gets inserted like this:

/* eslint-disable no-unused-vars */
#!/usr/bin/env node

...rest of your code

The eslint rule should be inserted under the shebang.

vscode version: 1.38.1
eslint extension version: 1.9.1
eslint version: 6.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions