Update schemalint to add more best practice support

This commit is contained in:
xbgmsharp
2023-11-19 21:40:58 +01:00
parent dc02dc886d
commit 4c6d6290f0

View File

@@ -8,15 +8,15 @@ module.exports = {
},
rules: {
//"name-casing": ["error", "snake"],
"name-casing": ["error", "snake"],
"prefer-jsonb-to-json": ["error"],
"prefer-text-to-varchar": ["error"],
//"prefer-timestamptz-to-timestamp": ["error"],
//"prefer-identity-to-serial": ["error"],
"prefer-timestamptz-to-timestamp": ["error"],
"prefer-identity-to-serial": ["error"],
//"name-inflection": ["error", "singular"],
},
schemas: [{ name: "public" }, { name: "api" }],
schemas: [{ name: "public" }, { name: "api" },{ name: "auth" }],
ignores: [],
};
};