-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a Makefile and fixing Swiftlint
- Loading branch information
Kyle LeNeau
committed
Oct 30, 2018
1 parent
fc8cc3f
commit 4ac5291
Showing
26 changed files
with
1,600 additions
and
1,619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
disabled_rules: | ||
- trailing_whitespace | ||
- force_cast | ||
- function_body_length | ||
- type_body_length | ||
- file_length | ||
# Allow force-casting (e.g. `x as! UICollectionViewCell`). | ||
# We may want to re-enable and address this rule. | ||
- force_cast | ||
# Allow `TODO` and `FIXME` comments. | ||
- todo | ||
# Allow the use of `let _ = <optional>` | ||
- unused_optional_binding | ||
# Allow the use of parantheses when calling methods with trailing completion closures | ||
- empty_parentheses_with_trailing_closure | ||
# We use enum "namespaces" which leads to nesting violations | ||
- nesting | ||
# Re-evalature to shorten functions up | ||
- function_body_length | ||
# Allow declaring operators without extra whitespace, like so: `func ==(_ lhs, ...)` | ||
- operator_whitespace | ||
|
||
variable_name: | ||
opt_in_rules: | ||
# Prefer checking `isEmpty` over `count > 0` | ||
- empty_count | ||
|
||
file_length: | ||
warning: 600 | ||
error: 1000 | ||
line_length: 150 | ||
trailing_comma: | ||
mandatory_comma: true | ||
identifier_name: | ||
min_length: | ||
warning: 2 | ||
error: 2 | ||
line_length: | ||
warning: 120 | ||
warning: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
language: objective-c | ||
osx_image: xcode10 | ||
after_success: | ||
- bash <(curl -s https://raw.githubusercontent.com/codecov/codecov-bash/04845559fe1caefe990968cc9e3851573012b756/codecov) -J 'AerialApp' | ||
- bash <(curl -s https://raw.githubusercontent.com/codecov/codecov-bash/04845559fe1caefe990968cc9e3851573012b756/codecov) -J 'AerialApp' | ||
before_script: | ||
- make lint | ||
script: | ||
- xcodebuild -scheme 'AerialApp' -enableCodeCoverage YES clean test | ||
- make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.