Skip to content

Commit 7f8c1e4

Browse files
Merge pull request #727 from protofire/fix-typos-minors
Fix typos and minor issues
2 parents f71273c + f980af0 commit 7f8c1e4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ title: "Rule Index of Solhint"
7373
| ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ---------- |
7474
| [comprehensive-interface](./rules/miscellaneous/comprehensive-interface.md) | Check that all public or external functions are overridden. This is useful to make sure that the whole API is extracted in an interface. | | |
7575
| [foundry-no-block-time-number](./rules/miscellaneous/foundry-no-block-time-number.md) | Warn on the use of block.timestamp / block.number inside Foundry test files; recommend vm.getBlockTimestamp() / vm.getBlockNumber(). | | |
76-
| [import-path-check](./rules/miscellaneous/import-path-check.md) | Check if an import file exits in target path | $~~~~~~~~$✔️ | |
76+
| [import-path-check](./rules/miscellaneous/import-path-check.md) | Check if an import file exists in target path | $~~~~~~~~$✔️ | |
7777
| [quotes](./rules/miscellaneous/quotes.md) | Enforces the use of double or simple quotes as configured for string literals. Values must be 'single' or 'double'. | $~~~~~~~~$✔️ | |
7878
7979

docs/rules/miscellaneous/import-path-check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ title: "import-path-check | Solhint"
1212
1313

1414
## Description
15-
Check if an import file exits in target path
15+
Check if an import file exists in target path
1616

1717
## Options
1818
This rule accepts an array of options:

lib/rules/miscellaneous/import-path-check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const meta = {
3535
type: 'miscellaneous',
3636

3737
docs: {
38-
description: `Check if an import file exits in target path`,
38+
description: `Check if an import file exists in target path`,
3939
category: 'Miscellaneous',
4040
options: [
4141
{

solhint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function init() {
3939
.option('--noPrompt', 'do not suggest to backup files when any `fix` option is selected')
4040
.option('--init', 'create configuration file for solhint')
4141
.option('--disc', 'do not check for solhint updates')
42-
.option('--save', 'save report to file on current folder')
42+
.option('--save', 'save report to file in current folder')
4343
.option('--noPoster', 'remove discord poster')
4444
.description('Linter for Solidity programming language')
4545
.action(execMainAction)

0 commit comments

Comments
 (0)