Skip to content

Commit

Permalink
no more frameworks generate
Browse files Browse the repository at this point in the history
  • Loading branch information
L1MeN9Yu committed Aug 10, 2020
1 parent 2ab333e commit b75f7b3
Show file tree
Hide file tree
Showing 20 changed files with 52 additions and 1,494 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: detect-private-key
- id: check-merge-conflict
- repo: https://github.com/hodovani/pre-commit-swift
rev: master
hooks:
- id: swift-lint
- id: swift-format
10 changes: 10 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--indent tab
--tabwidth 4
--indentcase false
--trimwhitespace always
--empty tuple
--nospaceoperators ..<,...
--ifdef noindent
--stripunusedargs closure-only
--disable andOperator
--swiftversion 5.2
22 changes: 22 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
disabled_rules:
- trailing_comma
- identifier_name
- void_return
- operator_whitespace
- nesting
- cyclomatic_complexity
- multiple_closures_with_trailing_closure
- type_name
- todo
- large_tuple

line_length: 120

indentation_width: 4

function_body_length:
- 50

included:
- Sources
- Tests
3 changes: 3 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brew "pre-commit"
brew "swiftformat"
brew "swiftlint"
42 changes: 0 additions & 42 deletions Senna.Demo.iOS/AppDelegate.swift

This file was deleted.

98 changes: 0 additions & 98 deletions Senna.Demo.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json

This file was deleted.

6 changes: 0 additions & 6 deletions Senna.Demo.iOS/Assets.xcassets/Contents.json

This file was deleted.

25 changes: 0 additions & 25 deletions Senna.Demo.iOS/Base.lproj/LaunchScreen.storyboard

This file was deleted.

24 changes: 0 additions & 24 deletions Senna.Demo.iOS/Base.lproj/Main.storyboard

This file was deleted.

64 changes: 0 additions & 64 deletions Senna.Demo.iOS/Info.plist

This file was deleted.

54 changes: 0 additions & 54 deletions Senna.Demo.iOS/SceneDelegate.swift

This file was deleted.

Loading

0 comments on commit b75f7b3

Please sign in to comment.