Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributing - Add Configuration Files #50

Open
StevenXL opened this issue Oct 13, 2017 · 2 comments
Open

Contributing - Add Configuration Files #50

StevenXL opened this issue Oct 13, 2017 · 2 comments

Comments

@StevenXL
Copy link
Collaborator

Hello!

Would it be possible to add editor configuration files to the project so that it is easy to keep a consistent style?

I've seen Add .hlint, .stylish-haskell, and .editorconfig on a separate project.

@markandrus
Copy link
Owner

Hi @StevenXL,

I would be open to it, especially if these tools can be integrated into our .travis.yml. I know HLint, but I don't know what .editorconfig is. Does stylish-haskell have a command-line tool?

Thanks,
Mark

@StevenXL
Copy link
Collaborator Author

Hi Mark,

I think some of these files can be integrated into the .travis.yml. https://github.com/jaspervdj/stylish-haskell is a command line tool, so I think we'd be able to set up TravisCI to download that and run in on the source files. stylish-haskell does less formatting than hlint, for example. There is a few things that it cares about (import statements, pragmas, case alignment, for example).

.editorconfig is a file that can be used across editors, provided that the editor has either built-in support or an installed plug-in to look for the file.

I'll start off with a PR with the config files and see what your thoughts are on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants