Skip to content

Commit ad32a77

Browse files
committed
Enable two new swiftlint rules
1 parent 27b63d1 commit ad32a77

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.swiftlint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ opt_in_rules:
44
- conditional_returns_on_newline
55
- contains_over_first_not_nil
66
- discouraged_direct_init
7+
- discouraged_object_literal
78
- explicit_init
89
- fatal_error_message
910
- first_where
@@ -19,4 +20,5 @@ opt_in_rules:
1920
- sorted_first_last
2021
- strict_fileprivate
2122
- switch_case_on_newline
22-
- trailing_closure
23+
- trailing_closure
24+
- yoda_condition

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ More details you can find in [Swift Package Manager's Documentation](https://git
3737

3838
### CocoaPods
3939

40-
Add `pod 'BitByteData', '~> 1.0'` and `use_frameworks!` lines to your Podfile.
40+
Add `pod 'BitByteData', '~> 1.0'` and `use_frameworks!` to your Podfile.
4141

4242
To complete installation, run `pod install`.
4343

0 commit comments

Comments
 (0)