Skip to content

Commit

Permalink
Update schemalint to add more best practice support
Browse files Browse the repository at this point in the history
  • Loading branch information
xbgmsharp committed Nov 19, 2023
1 parent dc02dc8 commit 4c6d629
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .schemalintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
};
};

0 comments on commit 4c6d629

Please sign in to comment.