Inspectopedia Help

Unconventional use alias name

Reports use aliases with names that are either too short, too long, or don't match the specified regular expression pattern.

Use the Pattern field to specify a regular expression for validating type alias names.

Use the Min length and Max length fields to specify the minimum and maximum length of a name respectively.

Inspection options

Option

Type

Default

Pattern

String

[A-Z]\w*

Min length

Number

3

Max length

Number

30

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3

Plugin:

Ruby, 233.SNAPSHOT

Last modified: 13 July 2023