Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.21 KB

imports-on-top.md

File metadata and controls

39 lines (30 loc) · 1.21 KB
warning layout title
This is a dynamically generated file. Do not edit manually.
default
imports-on-top | Solhint

imports-on-top

Recommended Badge Category Badge Default Severity Badge warn

The {"extends": "solhint:recommended"} property in a configuration file enables this rule.

Description

Import statements must be on top.

Options

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

Example Config

{
  "rules": {
    "imports-on-top": "warn"
  }
}

Examples

This rule does not have examples.

Version

This rule was introduced in Solhint 1.1.5

Resources