vars-on-top conflicts with ES6 import
#2099
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
When
vars-on-top
is enabled, it warns (IMO incorrectly) on this ES6 codeIt wants
var
declaration to be beforeimport
call. That is unnecessary.I'm using
babel-eslint
parser andbrowser
env.The text was updated successfully, but these errors were encountered: