PrismaP
Prisma10mo ago
6 replies
Markigno

Eslint errors

After adding the
generator client {
provider = "prisma-client-js"
output = "./prismaGenerated/client"
}
i was force to update my esling config file to exclude lot of checks because i received more than 15K errors:
'object-curly-spacing': 0,
'no-undef': 0,
'@typescript-eslint/no-unused-expressions': 0,
'no-constant-binary-expression': 0,
'no-empty': 0,
'@typescript-eslint/no-this-alias': 0,
'no-redeclare': 0,
'no-prototype-builtins': 0,
'no-cond-assign': 0,
'no-useless-escape': 0,
'getter-return': 0,
'no-extra-boolean-cast': 0,
'@typescript-eslint/no-unnecessary-type-constraint': 0,
'@typescript-eslint/no-unsafe-function-type': 0,
'@typescript-eslint/no-wrapper-object-types': 0,

should be new generated files added to github repository or should them be excluded?
Was this page helpful?