Skip to content

Commit

Permalink
Remove mark-callable-contracts from recommended ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio committed May 1, 2020
1 parent 7d5aea8 commit fc7048b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
warning: "This is a dynamically generated file. Do not edit manually."
layout: "default"
title: "Rule Index of Solhint"
date: "Thu, 23 Apr 2020 20:59:54 GMT"
date: "Fri, 01 May 2020 22:04:11 GMT"
author: "Franco Victorio <[email protected]>"
---

Expand Down Expand Up @@ -53,7 +53,7 @@ author: "Franco Victorio <[email protected]>"
| [check-send-result](./rules/security/check-send-result.md) | Check result of "send" call. | ✔️ |
| [compiler-version](./rules/security/compiler-version.md) | Compiler version must satisfy a semver requirement. | ✔️ |
| [func-visibility](./rules/security/func-visibility.md) | Explicitly mark visibility in function. | ✔️ |
| [mark-callable-contracts](./rules/security/mark-callable-contracts.md) | Explicitly mark all external contracts as trusted or untrusted. | ✔️ |
| [mark-callable-contracts](./rules/security/mark-callable-contracts.md) | Explicitly mark all external contracts as trusted or untrusted. | |
| [multiple-sends](./rules/security/multiple-sends.md) | Avoid multiple calls of "send" method in single transaction. | ✔️ |
| [no-complex-fallback](./rules/security/no-complex-fallback.md) | Fallback function must be simple. | ✔️ |
| [no-inline-assembly](./rules/security/no-inline-assembly.md) | Avoid to use inline assembly. It is acceptable only in rare cases. | ✔️ |
Expand Down
5 changes: 1 addition & 4 deletions docs/rules/security/mark-callable-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
warning: "This is a dynamically generated file. Do not edit manually."
layout: "default"
title: "mark-callable-contracts | Solhint"
date: "Thu, 23 Apr 2020 20:59:52 GMT"
date: "Fri, 01 May 2020 22:04:10 GMT"
author: "Franco Victorio <[email protected]>"
---

# mark-callable-contracts
![Recommended Badge](https://img.shields.io/badge/-Recommended-brightgreen)
![Category Badge](https://img.shields.io/badge/-Security%20Rules-informational)
![Default Severity Badge warn](https://img.shields.io/badge/Default%20Severity-warn-yellow)
> The {"extends": "solhint:recommended"} property in a configuration file enables this rule.

## Description
Explicitly mark all external contracts as trusted or untrusted.
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/security/mark-callable-contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const meta = {
},

isDefault: false,
recommended: true,
recommended: false,
defaultSetup: 'warn',

schema: null
Expand Down

0 comments on commit fc7048b

Please sign in to comment.