forked from kodecocodes/swift-algorithm-club
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added basic SwiftLint config file. Fixing all linting errors.
- Loading branch information
Chris Pilcher
committed
Jun 8, 2016
1 parent
3df07d4
commit e164943
Showing
154 changed files
with
1,240 additions
and
1,232 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,25 @@ | ||
cyclomatic_complexity: 12 | ||
file_length: 550 | ||
function_body_length: 80 | ||
function_parameter_count: 8 | ||
line_length: 150 | ||
type_body_length: 300 | ||
variable_name: | ||
min_length: | ||
error: 1 | ||
warning: 1 | ||
excluded: | ||
- N | ||
|
||
disabled_rules: | ||
- valid_docs | ||
|
||
custom_rules: | ||
smiley_face: | ||
name: "Smiley Face" | ||
regex: "(\:\))" | ||
match_kinds: | ||
- comment | ||
- string | ||
message: "A closing parenthesis smiley :) creates a half-hearted smile, and thus is not preferred. Use :]" | ||
severity: warning |
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 |
---|---|---|
|
@@ -24,4 +24,4 @@ tree.delete(5) | |
tree.delete(2) | ||
tree.delete(1) | ||
tree.delete(4) | ||
tree.delete(3) | ||
tree.delete(3) |
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
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.