SciML / SciMLStyle

A style guide for stylish Julia developers
https://docs.sciml.ai/SciMLStyle/stable/
MIT License
216 stars 18 forks source link

Use generally agreed on`.JuliaFormatter.toml` with formatting check GitHub action for org packages #2

Closed Vaibhavdixit02 closed 2 years ago

Vaibhavdixit02 commented 2 years ago

Not high priority and probably even a bad idea since people have their own opinions on formatting, but might be interesting?

ChrisRackauckas commented 2 years ago

Yes, it would be good to get a formatter toml that corresponds to these rules and get that rolled out for all of SciML. The default one has a BlueStyle rule which leads to some very difficult to read code (https://github.com/SciML/SciMLStyle/issues/3) which is why I don't use the formatter today, so I'd be happy if someone could help modify it a bit.

YingboMa commented 2 years ago

https://github.com/domluna/JuliaFormatter.jl/pull/588