-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
sgr-ksmt
committed
Sep 29, 2019
1 parent
58d1713
commit b63bca9
Showing
3 changed files
with
49 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,9 @@ | ||
|
||
# exclude files | ||
--exclude Carthage,Pods | ||
|
||
# change rules | ||
--stripunusedargs closure-only | ||
|
||
# disable rules | ||
--disable strongOutlets,numberFormatting,emptyBraces,andOperator |
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,35 @@ | ||
disabled_rules: | ||
- colon | ||
- comma | ||
- control_statement | ||
- identifier_name | ||
- type_name | ||
- trailing_comma | ||
|
||
opt_in_rules: | ||
- empty_count | ||
|
||
excluded: | ||
- Carthage | ||
- Pods | ||
- vendor/bundle | ||
|
||
force_cast: error | ||
|
||
force_try: | ||
severity: error | ||
|
||
type_body_length: | ||
- 300 | ||
- 400 | ||
|
||
function_body_length: | ||
- 200 | ||
- 300 | ||
|
||
file_length: | ||
warning: 500 | ||
error: 1000 | ||
|
||
type_name: | ||
min_length: 4 |
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 @@ | ||
#!/bin/sh | ||
cd `dirname $0` | ||
cd ../ | ||
|
||
./Pods/SwiftFormat/CommandLineTool/swiftformat FireTodo --config '.swiftformat' |