Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIIFE with leading semicolon wants to be intended when directly after imports #1227
Comments
This comment has been minimized.
This comment has been minimized.
|
Reported eslint/eslint#11082 |
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
Feb 11, 2019
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
Feb 11, 2019
This comment has been minimized.
This comment has been minimized.
|
Fixed eslint/eslint#11085 |
kjg
closed this
Feb 11, 2019
lock
bot
locked as resolved and limited conversation to collaborators
May 12, 2019
standard
unlocked this conversation
Aug 12, 2019
This comment has been minimized.
This comment has been minimized.
|
Thanks for reporting this issue and getting it fixed in ESLint @kjg. Much appreciated! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kjg commentedNov 12, 2018
What version of standard? 11.0.1
What operating system, Node.js, and npm version? MacOS 10.14.2, Node 8.9.3, NPM 6.4.1
What did you expect to happen?
This code should not cause any errors
What actually happened?
I get the error
Expected indentation of 2 spaces but found 0.Interestingly if I move this IIFE to below other code, I don't get the error only when it's the first bit of code after the import statement.