Skip to content

Commit 717c778

Browse files
chore: merged with develop
2 parents 5edaeda + bce743e commit 717c778

File tree

11 files changed

+164
-325
lines changed

11 files changed

+164
-325
lines changed

.pre-commit-config.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v3.2.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- id: check-case-conflict
10+
- id: check-json
11+
- id: mixed-line-ending
12+
- id: no-commit-to-branch
13+
args: [--branch, staging, --branch, main, --branch, master, --branch, develop-4.0, --branch, develop-upstream]
14+
- repo: https://github.com/codespell-project/codespell
15+
rev: v2.2.2
16+
hooks:
17+
- id: codespell
18+
args: ["--count --ignore-words-list=ans,deriver,inout,packag --skip=\"*.js,*WordLists.swift,.git,Carthage,.build,build\""]
19+
# SwiftLint is commented out until we fix all SwiftLint warnings and errors.
20+
# https://github.com/web3swift-team/web3swift/pull/756
21+
#- repo: https://github.com/realm/SwiftLint
22+
# rev: 0.50.3
23+
# hooks:
24+
# - id: swiftlint
25+
# args: [--fix, Sources, Tests]

.swiftlint.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
excluded:
2-
- Carthage
3-
- Pods
42
- .build
53
- Build
4+
- Carthage
65
- DerivedData
6+
- Pods
77

88
disabled_rules:
9-
- type_name
9+
- function_parameter_count
1010
- identifier_name
1111
- line_length
1212
- multiple_closures_with_trailing_closure
13-
- todo
14-
- function_parameter_count
1513
- nesting
14+
- todo
15+
- type_name
1616

1717
opt_in_rules:
18-
- weak_delegate
19-
- unused_import
20-
- unneeded_parentheses_in_closure_argument
21-
- trailing_closure
22-
- static_operator
23-
- redundant_nil_coalescing
24-
- override_in_extension
25-
- legacy_objc_type
26-
- implicitly_unwrapped_optional
27-
- force_unwrapping
28-
- empty_string
29-
- closure_body_length
30-
- fallthrough
31-
- indentation_width
18+
- closure_body_length
19+
- empty_string
20+
- fallthrough
21+
- force_unwrapping
22+
- implicitly_unwrapped_optional
23+
- indentation_width
24+
- legacy_objc_type
25+
- override_in_extension
26+
- redundant_nil_coalescing
27+
- static_operator
28+
- trailing_closure
29+
- unneeded_parentheses_in_closure_argument
30+
- unused_import
31+
- weak_delegate
3232

3333
# force warnings
3434
force_cast: error

Example/myWeb3Wallet/Podfile

Lines changed: 0 additions & 30 deletions
This file was deleted.

Example/myWeb3Wallet/Podfile.lock

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)