Skip to content

invalid-index-name (NM001)#

Automatic fix is not available.

What it does#

Checks that the name of the index to be created is valid according to naming convention.

Why not?#

Naming conventions are crucial in database design as they offer consistency, clarity, and structure to the organization and accessibility of data within a database.

A good naming convention makes your code easier to read and understand.

When should you?#

Never.

Use instead:#

Name your index according to the set name convention.

Configuration#

regex-index: Regex matching the naming convention for indexes.