Created
December 5, 2023 06:16
-
-
Save mzeeshanid/830c2b97c72a87a1da3ce8bdf25d03ea to your computer and use it in GitHub Desktop.
swiftlint custom rule triggering example for 1 declaration per file rule
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 | |
} | |
} | |
class Bike { | |
func ride() { | |
} | |
func stop() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment