Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.11 KB

constructor-syntax.md

File metadata and controls

36 lines (28 loc) · 1.11 KB
warning layout title
This is a dynamically generated file. Do not edit manually.
default
constructor-syntax | Solhint

constructor-syntax

Category Badge Default Severity Badge warn

Description

Constructors should use the new constructor keyword.

Options

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

Example Config

{
  "rules": {
    "constructor-syntax": "warn"
  }
}

Examples

This rule does not have examples.

Version

This rule was introduced in Solhint 1.2.0

Resources