Accepted answer didn't work for me (maybe a different version of eslint...? I'm using eslint v3.19.0
), but did find a solution with the following...
Place the following on the top of your file
/* eslint-disable no-use-before-define */
This will disable the rule for the entire file