no-shape-in-names
WarningWarningWarningWarningDo not use shape in declared names.
struct UserShape { name: String,}fn run() { let response_shape = load();}struct UserInput { name: String,}fn run() { let fields = schema.shape();}interface UserShape { id: string;}const responseShape = z.object({});type ShapeOfUser = { id: string };interface User { id: string;}const fields = schema.shape;class UserShape {}void run() { final shape = load();}class User {}class UserShape {}class User { String getResponseShape() { return ""; }}class UserInput {}How to fix
Use a specific name such as User or UserInput. The rule skips members owned by a library, such as Zod's schema.shape.
How to fix
Use a specific name such as User or UserInput. The rule skips members owned by a library, such as Zod's schema.shape.
How to fix
Use a specific name such as User or UserInput. The rule skips members owned by a library, such as Zod's schema.shape.
How to fix
Use a specific name such as User or UserInput.