Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable format rule #9

Open
neilco opened this issue Dec 7, 2015 · 5 comments
Open

Configurable format rule #9

neilco opened this issue Dec 7, 2015 · 5 comments

Comments

@neilco
Copy link

neilco commented Dec 7, 2015

There's a number of linting tools now available for Swift, such as SwiftLint and Tailor. It would be great if Swimat had the option of using one of these as a canonical style guide. The chosen style should be configurable on a per user and per project basis.

@Jintin
Copy link
Owner

Jintin commented Dec 7, 2015

I'll study about it, thanks for sharing. ^^

@entonio
Copy link

entonio commented Mar 7, 2016

It'd be great, but one thing I currently like about Swimat is that it can do only basic formatting without enforcing more exquisite options. My experience is that complex rules like clang-format's look good in principle but in practice are just a source of frustration. Swimat doesn't do everything the way I like it (no automated tool can), but it doesn't break anything either, not does it work against me.

@Juice805
Copy link

This would be amazing as the current plugin, SwiftLintXcode, does not work in Xcode 8

@saagarjha
Copy link
Collaborator

@Juice805 While you wait, you could try converting SwiftLintXcode to your own extension. Fork Swimat and copy paste their formatting code to replace ours.

@Juice805
Copy link

I’ll check it out, thanks

@Jintin Jintin changed the title Use a canonical style when formatting Configurable format rule Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants