I had a configuration that I was nursing along for several years, but after seeing Prelude [0] I realized that it would be much simpler for me to let the community to most of the work for me. Now I have a consistent environment for most languages and I am able to make small tweaks on top.
[0]: https://github.com/bbatsov/prelude