mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-16 18:57:48 +00:00
Update schemalint to add more best practice support
This commit is contained in:
@@ -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: [],
|
||||
};
|
Reference in New Issue
Block a user