Last active
December 5, 2023 06:11
-
-
Save mzeeshanid/996739cdf53e8c6caadf7f852d0715f6 to your computer and use it in GitHub Desktop.
swiftlint custom rule non triggering example for 1 declaration per file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car { | |
var make: String | |
var model: String | |
init(make: String, model: String) { | |
self.make = make | |
self.model = model | |
} | |
} | |
extension Car { | |
func drive() { | |
} | |
func stop() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment