A Swift library for working with editorconfig files
- Parse and resolve editorconfig files
- Enforce a limitation on how far up the filesystem the resolution will scan
- Render
Configuration
structs back into the editorconfig format
As of right now, this library does not handle curly brace expansion inside patterns.
import EditorConfig
let resolver = Resolver()
let fileURL = URL(fileURLWithPath: "path/to/myfile")
let configuration = try resolver.configuration(for: fileURL)
I prefer collaboration, and would love to find ways to work together if you have a similar project.
I prefer indentation with tabs for improved accessibility. But, I'd rather you use the system you want and make a PR than hesitate because of whitespace.
I'd love to hear from you! Get in touch via an issue or pull request.
By participating in this project you agree to abide by the Contributor Code of Conduct.