├── .hound.yml ├── .swiftlint.yml └── .gitignore /.hound.yml: -------------------------------------------------------------------------------- 1 | fail_on_violations: true 2 | swift: 3 | enabled: true 4 | config_file: .swiftlint.yml -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: # rule identifiers to exclude from running 2 | - function_body_length 3 | - line_length 4 | - nesting 5 | - operator_whitespace 6 | - trailing_whitespace 7 | - variable_name 8 | - valid_docs 9 | included: # paths to include during linting. `--path` is ignored if present. takes precendence over `excluded`. 10 | - Source 11 | excluded: # paths to ignore during linting. overridden by `included`. 12 | - Carthage 13 | - Pods 14 | # parameterized rules can be customized from this configuration file 15 | line_length: 110 16 | # parameterized rules are first parameterized as a warning level, then error level. 17 | type_body_length: 18 | - 300 # warning 19 | - 400 # error 20 | # parameterized rules are first parameterized as a warning level, then error level. 21 | variable_name_max_length: 22 | - 40 # warning 23 | - 60 # error 24 | # parameterized rules are first parameterized as a warning level, then error level. 25 | variable_name_min_length: 26 | - 3 # warning 27 | - 2 # error 28 | function_parameter_count: 29 | - 10 # warning 30 | - 12 # error -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata 19 | 20 | ## Other 21 | *.xccheckout 22 | *.moved-aside 23 | *.xcuserstate 24 | *.xcscmblueprint 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/screenshots 64 | --------------------------------------------------------------------------------