Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.4 KB

interface-starts-with-i.md

File metadata and controls

50 lines (37 loc) · 1.4 KB
warning layout title
This is a dynamically generated file. Do not edit manually.
default
interface-starts-with-i | Solhint

interface-starts-with-i

Category Badge Default Severity Badge warn

Description

Solidity Interfaces names should start with an I

Options

This rule accepts a string option of rule severity. Must be one of "error", "warn", "off". Default to warn.

Example Config

{
  "rules": {
    "interface-starts-with-i": "warn"
  }
}

Examples

👍 Examples of correct code for this rule

Interface name starts with I

interface IFoo { function foo () external; }

👎 Examples of incorrect code for this rule

Interface name doesnt start with I

interface Foo { function foo () external; }

Version

This rule was introduced in Solhint 4.5.0

Resources