Setup GraphQL Code Generator (#74)
* chore: add types of schema * Ease codegen use on FE * chore: ignore prettier in generated files * lint: generated files * feature: strongly type filter of query * chore: ignore generated files in prettier * chore: eslint ignore generated files --------- Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -17,7 +17,8 @@ module.exports = {
|
||||
node: true,
|
||||
jest: true,
|
||||
},
|
||||
ignorePatterns: ['.eslintrc.js'],
|
||||
|
||||
ignorePatterns: ['.eslintrc.js', 'codegen.js', '**/generated/*'],
|
||||
rules: {
|
||||
'@typescript-eslint/interface-name-prefix': 'off',
|
||||
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||
|
||||
Reference in New Issue
Block a user