You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[one-contract-per-file](./rules/best-practices/one-contract-per-file.md)| Enforces the use of ONE Contract per file see [here](https://docs.soliditylang.org/en/v0.8.21/style-guide.html#contract-and-library-names)| $~~~~~~~~$✔️ ||
22
22
|[payable-fallback](./rules/best-practices/payable-fallback.md)| When fallback is not payable and there is no receive function you will not be able to receive currency. | $~~~~~~~~$✔️ ||
23
23
|[reason-string](./rules/best-practices/reason-string.md)| Require or revert statement must have a reason string and check that each reason string is at most N characters long. | $~~~~~~~~$✔️ ||
24
+
|[constructor-syntax](./rules/best-practices/constructor-syntax.md)| Constructors should use the new constructor keyword. |||
24
25
25
26
26
27
## Style Guide Rules
@@ -48,13 +49,6 @@ title: "Rule Index of Solhint"
48
49
|[visibility-modifier-order](./rules/order/visibility-modifier-order.md)| Visibility modifier must be first in list of modifiers. | $~~~~~~~~$✔️ ||
|[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. |||
73
+
|[import-path-check](./rules/miscellaneous/import-path-check.md)| Check if an import file exits in target path | $~~~~~~~~$✔️ ||
79
74
|[quotes](./rules/miscellaneous/quotes.md)| Enforces the use of double or simple quotes as configured for string literals. Values must be 'single' or 'double'. | $~~~~~~~~$✔️ ||
0 commit comments