-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
e33f81d
commit 56ab02e
Showing
10 changed files
with
142 additions
and
30 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,68 @@ | ||
disabled_rules: # rule identifiers to exclude from running | ||
- todo | ||
- file_header | ||
opt_in_rules: # list of the rules that are disabled by default BUT enabled by our team | ||
- closing_brace | ||
- opening_brace | ||
- return_arrow_whitespace | ||
- trailing_semicolon | ||
- statement_position | ||
- explicit_init | ||
- shorthand_operator | ||
- deployment_target | ||
- duplicate_imports | ||
- empty_string | ||
- overridden_super_call | ||
- prohibited_super_call | ||
- protocol_property_accessors_order | ||
- redundant_objc_attribute | ||
- redundant_type_annotation | ||
- empty_count | ||
- array_init | ||
- function_body_length | ||
- cyclomatic_complexity | ||
# Find all the available rules by running: | ||
# swiftlint rules | ||
analyzer_rules: | ||
- unused_import | ||
included: # paths to include during linting. `--path` is ignored if present. | ||
excluded: # paths to ignore during linting. Takes precedence over `included`. | ||
- ${SRCROOT}/fastlane/swift | ||
- ${SRCROOT}/TippyTalker/fastlane/swift | ||
- ${SRCROOT}/BuildOutput | ||
- ${SRCROOT}/BuildDerivedData/SourcePackages | ||
|
||
|
||
# configurable rules can be customized from this configuration file | ||
# binary rules can set their severity level | ||
trailing_semicolon: error | ||
closing_brace: error | ||
opening_brace: | ||
severity: error | ||
return_arrow_whitespace: error | ||
statement_position: | ||
severity: error | ||
colon: | ||
severity: error | ||
comma: error | ||
force_try: error | ||
force_cast: error | ||
|
||
line_length: 1000 | ||
type_name: | ||
max_length: | ||
warning: 100 | ||
error: 150 | ||
|
||
function_body_length: | ||
warning: 50 | ||
error: 100 | ||
|
||
cyclomatic_complexity: | ||
ignores_case_statements: true | ||
|
||
identifier_name: | ||
allowed_symbols: [_] | ||
|
||
trailing_whitespace: | ||
ignores_empty_lines: true |
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,6 @@ | ||
{ | ||
"recommendations": [ | ||
"vknabel.vscode-swiftlint", | ||
"sswg.swift-lang" | ||
] | ||
} |
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,52 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": [ | ||
"swift" | ||
], | ||
"args": [], | ||
"cwd": "${workspaceFolder:RHVoice-spm}", | ||
"name": "Debug PackDataExecutable", | ||
"program": "${workspaceFolder:RHVoice-spm}/.build/debug/PackDataExecutable", | ||
"preLaunchTask": "swift: Build Debug PackDataExecutable" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": [ | ||
"swift" | ||
], | ||
"args": [], | ||
"cwd": "${workspaceFolder:RHVoice-spm}", | ||
"name": "Release PackDataExecutable", | ||
"program": "${workspaceFolder:RHVoice-spm}/.build/release/PackDataExecutable", | ||
"preLaunchTask": "swift: Build Release PackDataExecutable" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": [ | ||
"swift" | ||
], | ||
"args": [], | ||
"cwd": "${workspaceFolder:RHVoice-spm}", | ||
"name": "Debug RHVoiceSwiftSample", | ||
"program": "${workspaceFolder:RHVoice-spm}/.build/debug/RHVoiceSwiftSample", | ||
"preLaunchTask": "swift: Build Debug RHVoiceSwiftSample" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": [ | ||
"swift" | ||
], | ||
"args": [], | ||
"cwd": "${workspaceFolder:RHVoice-spm}", | ||
"name": "Release RHVoiceSwiftSample", | ||
"program": "${workspaceFolder:RHVoice-spm}/.build/release/RHVoiceSwiftSample", | ||
"preLaunchTask": "swift: Build Release RHVoiceSwiftSample" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
Sources/RHVoiceSwift/Extensions/FileManager+TemporaryFolder.swift
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,6 @@ | ||
// | ||
// FileManager+TemporaryFolder.swift.swift | ||
// | ||
// | ||
// | ||
// Created by Ihor Shevchuk on 27.03.2024. | ||
// | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// | ||
// RHSpeechSynthesizer.swift | ||
// | ||
// | ||
// | ||
// Created by Ihor Shevchuk on 09.03.2024. | ||
// | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// | ||
// RHVersionInfo.swift | ||
// | ||
// | ||
// | ||
// Created by Ihor Shevchuk on 10.03.2024. | ||
// | ||
|