Atom linter-eslint has a very handy command to fix the file with specified linting rules.
You can lint your file with by calling Command + P and typing Fix.
This saves time but you still need to type Fix over and over again to fix your file. Its more time saving if you could lint your file on saving, right? You can!
There's two ways you can config this behaviour. Follow the method that most please you: