EditorConfig

0.1.0

A Swift library for working with .editorconfig files
ChimeHQ/EditorConfig

What's New

v0.1.0

2023-06-03T09:39:22Z

initial release

Build Status License Platforms

EditorConfig

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.

Usage

import EditorConfig

let resolver = Resolver()

let fileURL = URL(fileURLWithPath: "path/to/myfile")

let configuration = try resolver.configuration(for: fileURL)

Contributing and Collaboration

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.

Suggestions and Feedback

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.

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

Last updated: Fri Apr 19 2024 09:15:13 GMT-0900 (Hawaii-Aleutian Daylight Time)