Uninstall Hammerspoon on Mac
Quit Hammerspoon and move it from Applications to the Trash.
What Mole lists
Mole lists ~/.hammerspoon and does not preselect it. Init files and scripts you wrote are in that folder. Copy what you still want before it goes to the Trash. Hammerspoon