Open daeteck opened 1 week ago
Hi team,
It would be helpful to have a linting rule for index names, such as enforcing the use of snake_case for index names. For example, the following should throw an error: @@index([createdAt], map: "ticket_createdAt_idx").
Perhaps a rule: index-name-mapping-snake-case
Yes, that makes sense. Likely we won't get to it in the near term, but PRs welcome!
Hi team,
It would be helpful to have a linting rule for index names, such as enforcing the use of snake_case for index names. For example, the following should throw an error: @@index([createdAt], map: "ticket_createdAt_idx").
Perhaps a rule: index-name-mapping-snake-case