qrilka / xlsx

Simple and incomplete Excel file parser/writer
MIT License
128 stars 62 forks source link

Add stylish rules to root of project #147

Closed jappeace closed 2 years ago

jappeace commented 2 years ago

It maybe convenient for others to apply formatting like this as well. I just ran:


stylish-haskell --defaults > .stylish-haskell.yaml

and then modified that align clause.

qrilka commented 2 years ago

I'll try to look into it this weekend, won't we need modules reformatted to conform to this style?

jappeace commented 2 years ago

Good point, I'm not sure how to get the same style without a ruleset like this. I'll try tinkering with the options tomorrow to see if I can get the same one. I hoped it'd just be the default one with the align modified

qrilka commented 2 years ago

I think having a fixed styling for the library is a good thing so I'm OK with merging this. I guess README could have section saying that we'd advise to follow this styling on new commits while older modules could have some non-conforming styling in place. Could you add that? And I guess in the same merge we could also switch README's extension to the more widely used extension .md

jappeace commented 2 years ago

@qrilka I believe I've added it as you asked.

qrilka commented 2 years ago

Thank you