Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.51 KB

compiler-version.md

File metadata and controls

45 lines (34 loc) · 1.51 KB
warning layout title
This is a dynamically generated file. Do not edit manually.
default
compiler-version | Solhint

compiler-version

Recommended Badge Category Badge Default Severity Badge error

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

Description

Compiler version must satisfy a semver requirement.

Options

This rule accepts an array of options:

Index Description Default Value
0 Rule severity. Must be one of "error", "warn", "off". error
1 Semver requirement ^0.8.24

Example Config

{
  "rules": {
    "compiler-version": ["error","^0.8.24"]
  }
}

Examples

This rule does not have examples.

Version

This rule was introduced in Solhint 2.1.0

Resources