-1

I'm using SwiftLint to make custom errors and warnings and it's working well.

However, I want to add a "fix" button to the warnings and errors just like with standard Xcode errors and warnings.

Xcode already does this for the internal warnings/errors, like this:

enter image description here

Here's what my current custom warning looks like:

enter image description here

I've scoured through the documentation, tutorials, etc. and also opened an issue here:

https://github.com/realm/SwiftLint/issues/3315

I don't think it exists with SwiftLint, but I'd love to know if anybody can be prove me wrong or know of a better alternative!

P.S. Here's a link to their repo: https://github.com/realm/SwiftLint

Akash Kundu
  • 1,278
  • 13
  • 21

1 Answers1

1

Answered here by SwiftLint owners: https://github.com/realm/SwiftLint/issues/3315

Akash Kundu
  • 1,278
  • 13
  • 21