esqueleto/style-guide.md
Matt Parsons b35713c09f
Autoformatting + Stylish Haskell Config (#218)
* Add stylish-haskell.yaml, update spacing to 4 in configs

* update travis

* lol

* major formatting stuff

* fix parse error

* fix

* warnings, more tidying up

* Add style guide [ci skip]

* faster build perhaps

* cabbal

* sigh
2020-10-29 16:20:52 -06:00

447 B

Style Guide

  • Please use stylish-haskell on the project to keep imports consistent and clean. We have a custom .stylish-haskell.yaml file. You can run stylish-haskell from vim with :%! stylish-haskell.
  • Four space indent.
  • Prefer indentation over any other form of alignment.
  • If text goes off the screen due to four space indentation, factor out functions and values into names to reduce indentation.