Skip to content

Commit

Permalink
docs: swiftlint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mooyoung2309 committed Jul 18, 2022
1 parent fda2c55 commit 44c2709
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ empty_count:

# path
included:
- JYP-iOS
- JYP-iOS/JYP-iOS
excluded:
- Tuist
- Frameworks
Expand Down
4 changes: 0 additions & 4 deletions JYP-iOS/JYP-iOS/Sources/Base/BaseCollectionViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ class BaseCollectionViewCell: UICollectionViewCell, BaseViewProtocol {
super.init(frame: frame)

setupProperty()


//safasfassfasfkjnasnkjasn fjknsa

setupHierarchy()
setupLayout()
setupBind()
Expand Down
2 changes: 1 addition & 1 deletion JYP-iOS/JYP-iOS/Sources/Base/BaseView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class BaseView: UIView, BaseViewProtocol {
let disposeBag = DisposeBag()

required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
fatalError("init(coder:) has not been implemented")
}

override init(frame: CGRect) {
Expand Down
5 changes: 3 additions & 2 deletions Scripts/SwiftLintRunScript.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export PATH="$PATH:/opt/homebrew/bin"
if which swiftlint >/dev/null; then
swiftlint
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
echo "warning: SwiftLint not installed, download form https://github.com/realm/SwiftLint"
fi
5 changes: 0 additions & 5 deletions swiftlint.sh

This file was deleted.

0 comments on commit 44c2709

Please sign in to comment.