Skip to content

Disable rule for entire file inserts the comment under the shebang.#1036

Merged
dbaeumer merged 1 commit intomicrosoft:masterfrom
mrxdst:master
Jul 31, 2020
Merged

Disable rule for entire file inserts the comment under the shebang.#1036
dbaeumer merged 1 commit intomicrosoft:masterfrom
mrxdst:master

Conversation

@mrxdst
Copy link
Contributor

@mrxdst mrxdst commented Jul 30, 2020

Disable rule for entire file inserts the comment under the shebang.

Before:

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

After:

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

Closes #762

@dbaeumer
Copy link
Member

Great. Like it.

@dbaeumer dbaeumer merged commit 56a2d33 into microsoft:master Jul 31, 2020
chemzqm added a commit to neoclide/coc-eslint that referenced this pull request Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable rule for entire file places inserted comment above shebang

2 participants