Material-components-ios: [Scripts] Linting and Formatting

Created on 11 Nov 2016  路  6Comments  路  Source: material-components/material-components-ios

There's no easy linting and formatting solution anymore in our process. clang-format should really be run.

This should be scripted.

Needs actionability review Scripts Bug Feature request Process

All 6 comments

@willlarche This is less important than having clang-format automatically format the core library, but how do you feel about including SwiftLint where relevant?

I believe that's a great idea. SwiftLint has a lot going for it.

Nice, I will try to open up a PR with some changes there today. We've been using SwiftLint a lot at PayPal and Venmo and it's been super useful!

https://github.com/seanoshea/BostonFreedomTrail/issues/126 for where I've introduced SwiftLint in a different project. Definitely useful!

I have done a basic integration of SwiftLint in #1129.

Closing as ignored. 馃槥
Please open a new bug if this is still an issue. 馃槃

Was this page helpful?
0 / 5 - 0 ratings