Open muuvmuuv opened 1 year ago
This is good idea! I looked at the EditorConfig specification and properties match the structure of nginx config file. I'll only accept solution which doesn't use 3rd-party libraries, since I want to keep nginxfmt as portable as possible.
@muuvmuuv are you willing to implement this feature?
Not yet, but had a look, there is https://pypi.org/project/EditorConfig/#description which works. But some works needs to be done for it to be ready and I don't know if you want dependencies:
[*.conf]
It would be cool if while formatting it could use editorconfig settings.