chore: disable eslint on generated types

This commit is contained in:
Derk Nolte
2023-06-18 10:14:21 +02:00
parent 0d8d7f358d
commit 6ca371cb8b

View File

@@ -15,7 +15,7 @@ export async function generateTypes(): Promise<void> {
const jsonSchema = configToJSONSchema(config);
compile(jsonSchema, 'Config', {
bannerComment: '/* tslint:disable */\n/**\n* This file was automatically generated by Payload.\n* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,\n* and re-run `payload generate:types` to regenerate this file.\n*/',
bannerComment: '/* tslint:disable */\n/* eslint-disable */\n/**\n* This file was automatically generated by Payload.\n* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,\n* and re-run `payload generate:types` to regenerate this file.\n*/',
style: {
singleQuote: true,
},