aith
PPrisma
•Created by aith on 6/11/2024 in #help-and-questions
Setting up SafeQL for Prisma
But I get the errors when I run the
npx eslint .
command:
7 replies
PPrisma
•Created by aith on 6/11/2024 in #help-and-questions
Setting up SafeQL for Prisma
Okay I got this to work. The error is showing up as well. However, is there a way to have it be that I get the errors displayed as I type (like how it is done in the example video of SafeQL)? Right now, I have to type the query and then run the command for it to show me the error.
7 replies
PPrisma
•Created by aith on 6/11/2024 in #help-and-questions
Setting up SafeQL for Prisma
Nevermind, I just realised what I was doing lol. I didn't put
@ts-safeql/check-sql
under the rules
.7 replies
PPrisma
•Created by aith on 6/11/2024 in #help-and-questions
Setting up SafeQL for Prisma
Hi. Yes, I have that installed. I also downgraded ESLint from v9 to v8 cause v9 was causing a lot of problems.
And this is my
eslintrc.js
When I run npx eslint .
I get this:
7 replies