How to do automatically lint all files on changes using ESLint?

I’m using ESLint in my Node.js project, I’m tired autofixing the code through the console. Is there a way that glitch could automatically fix the indentation on every file change?