目录

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.

关于
72.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号