Auto-run a command on saving in Sublime Text
问题 Is it possible to run eslint automatically when I save either a .js or .jsx file in Sublime Text? I'm using the ESLint sublime package right now but I have to manually run it each time using Cmd + Option + e . Thanks! 回答1: Yes this can be done with a simple event driven plugin like the one I've written below. The plugin has been tested but not with the eslint command since I did not want to install that package. Clearly any command could be run instead of eslint in the plugin's run_command(