Skip to content

Commit ae98251

Browse files
rbeard0330rbeard0330
authored andcommitted
Add comment to suppress eslint in generated TS output
1 parent 97adc3c commit ae98251

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pydantic2ts/cli/script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def generate_typescript_defs(
199199
banner_comment = "\n".join(
200200
[
201201
"/* tslint:disable */",
202+
"/* eslint-disable */",
202203
"/**",
203204
"/* This file was automatically generated from pydantic models by running pydantic2ts.",
204205
"/* Do not modify it by hand - just update the pydantic models and then re-run the script",

0 commit comments

Comments
 (0)