no-use-before-define errors eslint
TimeBandit opened this issue · comments
Hello,
I'm trying out this package. Following the instructions with the default eslint settings setup by vue-cli I get the above error because as you've guessed, the exports are defined at the bottom but I am using a commit from within an action in the module defined above. I do not want to have to disable this rule. Is there another way of avoid this error.
34:9 error 'commitUpdateGeojson' was used before it was defined @typescript-eslint/no-use-before-define
I'll subscribe to this thread. In some projects I use
// eslint-disable-next-line @typescript-eslint/no-use-before-define
Surprisingly, in some others that's not needed. I don't know what's the cause (what's the difference) exactly.