ypresto / SwiftLintXcode

An Xcode plug-in to format your code using SwiftLint.
Other
351 stars 15 forks source link

Read from .swiftlint.yml when autocorrecting #9

Closed blau2 closed 8 years ago

blau2 commented 8 years ago

SwiftLintXcode does not respect the rules defined in a project's .swiftlint.yml file. Perhaps provide the ability to optionally specify the path to the config file?

apocolipse commented 8 years ago

+1, I've removed this plugin until this can be fixed.

ypresto commented 8 years ago

Oh... It maybe bug if it is happen for v0.1.2, as I expected it to be already fixed: https://github.com/ypresto/SwiftLintXcode/blob/ef0d9f356fe7b454bdc05b405cad0be8ecf08a22/SwiftLintXcode/Formatter.swift#L84

blau2 commented 8 years ago

Ah I might have been on 0.1.1, I see that 0.1.2 came out 28 days ago which may have been right after I installed the plugin via Alcatraz. I've installed from source and it's now working as expected. Thanks!

ypresto commented 8 years ago

Glad to hear that..! Thanks for reporting!