Skip to content

Commit be1bd6d

Browse files
Merge branch 'develop' into fix-misc-issues
2 parents 196a615 + 548c4d4 commit be1bd6d

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ It is now deprecated since version 5.1.0
119119
### Multiple Configs
120120
Multiple configs files can be used at once. All config files should be named `.solhint.json`.
121121
If not done like this, multiple hierarchy configuration will not work.
122-
Solhint will go though all config files automatically.
122+
Solhint will go through all config files automatically.
123123

124124
Given this structure:
125125
```

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Developers of new rules need to have a basic understanding about the concepts an
4141

4242
### How to Add a Plugin
4343

44-
You can write your own plugins to add new rules to Solhint. A plugin is just an npm packages that exports an array of new rules. The name of the package has to follow the naming convention of `solhint-plugin-<plugin-name>`.
44+
You can write your own plugins to add new rules to Solhint. A plugin is just an npm package that exports an array of new rules. The name of the package has to follow the naming convention of `solhint-plugin-<plugin-name>`.
4545

4646
Read [this document](https://github.com/protofire/solhint/blob/master/docs/writing-plugins.md) to learn more about writing plugins.
4747

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ format:
2828
"const-name-snakecase": "off",
2929
"avoid-suicide": "error",
3030
"avoid-sha3": "warn",
31-
"avoid-tx-origin:": "warn",
31+
"avoid-tx-origin": "warn",
3232
"not-rely-on-time": "warn",
3333
"not-rely-on-block-hash": "warn"
3434
}

lib/rules/best-practices/use-natspec.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,6 @@ class UseNatspecChecker extends BaseChecker {
279279
const startOffset = node.range[0]
280280
const comments = getLeadingNatSpecComments(startOffset, this.tokens)
281281

282-
console.log('isPublicLike :>> ', isPublicLike)
283-
console.log('comments.length :>> ', comments.length)
284-
console.log('type :>> ', type)
285-
286282
// check the function is not publicLike and has no tags, avoid checking
287283
// if it is internal or private and has natspec comments, check them
288284
if (!isPublicLike && comments.length === 0 && type === 'function') return

0 commit comments

Comments
 (0)