Home > harper.js > Linter > setup
Complete any setup that is necessary before linting. This may include downloading and compiling the WebAssembly binary. This setup will complete when needed regardless of whether you call this function. This function exists to allow you to do this work when it is of least impact to the user experiences (i.e. while you’re loading something else).
Signature:
setup(): Promise<void>;Returns:
Promise<void>