-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8cdb55a
Showing
25 changed files
with
1,320 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Example/Pods | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--exclude Example/Pods | ||
--commas always | ||
--comments ignore | ||
--self init-only | ||
--disable unusedArguments,andOperator,blankLinesAtStartOfScope,emptyBraces |
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
excluded: | ||
- Example/Pods | ||
disabled_rules: | ||
- unused_closure_parameter | ||
- large_tuple | ||
- multiple_closures_with_trailing_closure | ||
- trailing_comma | ||
opt_in_rules: | ||
- force_unwrapping | ||
- explicit_init | ||
- overridden_super_call | ||
- redundant_nil_coalescing | ||
- nimble_operator | ||
- operator_usage_whitespace | ||
- closure_end_indentation | ||
- first_where | ||
- prohibited_super_call | ||
- fatal_error_message | ||
- vertical_parameter_alignment_on_call | ||
- unneeded_parentheses_in_closure_argument | ||
- literal_expression_end_indentation | ||
- joined_default_parameter | ||
- contains_over_first_not_nil | ||
- override_in_extension | ||
- single_test_class | ||
- sorted_first_last | ||
- convenience_type | ||
- empty_count | ||
- empty_string | ||
- toggle_bool | ||
- unused_private_declaration | ||
- identical_operands | ||
- array_init | ||
- implicit_return | ||
- implicitly_unwrapped_optional | ||
- vertical_whitespace_closing_braces | ||
- last_where | ||
- redundant_type_annotation | ||
- strict_fileprivate | ||
|
||
empty_count: warning | ||
force_cast: warning | ||
|
||
line_length: | ||
ignores_function_declarations: true | ||
|
||
custom_rules: | ||
already_true: | ||
regex: "== true" | ||
message: "Don't compare to true, just use the bool value." | ||
already_bool: | ||
regex: "== false" | ||
message: "Don't compare to false, just use !value." | ||
numbers_smell: | ||
regex: '(return |case |\w\(|: |\?\? |\, |== |<=? |>=? |\+= |\-= |\/= |\*= |%= |\w\.\w+ = )\(*\d{2,}' | ||
message: "Numbers smell; define a constant instead." | ||
auto_generated_leftovers: | ||
regex: 'func [^\n]*\{\n(\s*super\.[^\n]*\n(\s*\/\/[^\n]*\n)*|(\s*\/\/[^\n]*\n)+)\s*\}' | ||
message: "Delete auto-generated functions that you don't use" |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## [1.0.0] - 2019-02-03 | ||
|
||
### Added | ||
- initial release. |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
platform :ios, '9.0' | ||
|
||
use_frameworks! | ||
pod 'RadioGroup', :path => '..' | ||
|
||
# code quality scripts | ||
def scripts | ||
script_phase :name => 'SwiftFormat', :execution_position => :before_compile, :script => 'if [ "Debug" = "${CONFIGURATION}" ]; then cd "${SRCROOT}/.."; swiftformat; fi' | ||
script_phase :name => 'SwiftLintAutocorrect', :execution_position => :before_compile, :script => 'if [ "Debug" = "${CONFIGURATION}" ]; then cd "${SRCROOT}/.."; swiftlint autocorrect; fi' | ||
script_phase :name => 'SwiftLint', :execution_position => :after_compile, :script => 'if [ "Debug" = "${CONFIGURATION}" ]; then cd "${SRCROOT}/.."; swiftlint; fi' | ||
end | ||
|
||
target 'RadioGroupDemo' do | ||
scripts | ||
end | ||
|
||
#target 'RadioGroupDemoUITests' do | ||
#end |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
PODS: | ||
- MiniLayout (1.4.0) | ||
- RadioGroup (1.0.1): | ||
- MiniLayout | ||
- RadioGroup/Resources (= 1.0.1) | ||
- RadioGroup/Resources (1.0.1): | ||
- MiniLayout | ||
|
||
DEPENDENCIES: | ||
- RadioGroup (from `..`) | ||
|
||
SPEC REPOS: | ||
https://github.com/cocoapods/specs.git: | ||
- MiniLayout | ||
|
||
EXTERNAL SOURCES: | ||
RadioGroup: | ||
:path: ".." | ||
|
||
SPEC CHECKSUMS: | ||
MiniLayout: e35331ce9ab50a4111c3f91deca158834f86d9e7 | ||
RadioGroup: 3a0554fe9ce1fbf3c01c14f71e2ff6a6037ee698 | ||
|
||
PODFILE CHECKSUM: b6318aa40de86b0e333d36e4f9924f62c738379c | ||
|
||
COCOAPODS: 1.6.0.beta.2 |
Oops, something went wrong.