Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
prisma1
Discontinued 💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]
Now, the problem was that I want the pre-commit config to check the format of **.prisma file(s). Luckily, someone made a prettier plugin for us.
- repo: https://github.com/pre-commit/mirrors-prettier rev: v2.3.2 # Use the sha or tag you want to point at hooks: - id: prettier additional_dependencies: - [email protected] - '[email protected]' - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: trailing-whitespace - id: check-merge-conflict - id: check-yaml - id: end-of-file-fixer - id: no-commit-to-branch args: [-b, main, -b, production, -b, staging]
Cover photo by Anton Ivanov on Unsplash If you're not familiar with prisma.io, it's an awesome ORM for Node.js. And in case if you don't know what an ORM (aka object-relational mapping) is, check out this stackoverflow thread for a comprehensive answer 😉.
Related posts
- Any Python ORMs worthy of production?
- Python: Just Write SQL
- Im writing a telegram bot that simulates the Uber apps. I would have to store the orders that receives so I can fulfill them. What’s the best way to store them so I can process them?
- Ask HN: ORM or Native SQL?
- MongoDB ORMs, ODMs, and Libraries