Skip to content

Instantly share code, notes, and snippets.

View vebbis321's full-sized avatar

Thel vebbis321

View GitHub Profile
@vebbis321
vebbis321 / .swiftformat
Created August 17, 2023 08:14
My swiftformat for professional use
# Exclude checkout directories for common package managers
--exclude Pods,**/.build,**/Package.swift,vendor/bundle,scripts,fastlane,**/L10n.swift,**/Assets.swift,**/*.generated.swift
# options
--swiftversion 5.7
--indent 2 #indent
--indentstrings true #indent
--someAny disabled # opaqueGenericParameters
--wraparguments before-first # wrapArguments
--wrapparameters before-first # wrapArguments
@vebbis321
vebbis321 / .swiftlint.yml
Last active August 18, 2023 06:48
My default swiftlint for professional use
excluded:
- ${PWD}/Carthage
- ${PWD}/Pods
- ${PWD}/DerivedData
- Package.swift
included:
- ${PWD}
force_cast: warning