diff --git a/README.md b/README.md index 51f857da..e7be7f9f 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ See [server demo](example) and [browser demo](https://github.com/bcherny/json-sc | key | type | default | description | |-|-|-|-| -| bannerComment | string | `"/* tslint:disable */\n/**\n* This file was automatically generated by json-schema-to-typescript.\n* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,\n* and run json-schema-to-typescript to regenerate this file.\n*/"` | Disclaimer comment prepended to the top of each generated file | +| bannerComment | string | `"/* tslint:disable */\n/* eslint-disable */\n/**\n* This file was automatically generated by json-schema-to-typescript.\n* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,\n* and run json-schema-to-typescript to regenerate this file.\n*/"` | Disclaimer comment prepended to the top of each generated file | | cwd | string | `process.cwd()` | Root directory for resolving [`$ref`](https://tools.ietf.org/id/draft-pbryan-zyp-json-ref-03.html)s | | declareExternallyReferenced | boolean | `true` | Declare external schemas referenced via `$ref`? | | enableConstEnums | boolean | `true` | Prepend enums with [`const`](https://www.typescriptlang.org/docs/handbook/enums.html#computed-and-constant-members)? | diff --git a/example/person.d.ts b/example/person.d.ts index 4adc849f..3cb8ee56 100644 --- a/example/person.d.ts +++ b/example/person.d.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, diff --git a/src/index.ts b/src/index.ts index cacc4118..ef74c5bb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -69,6 +69,7 @@ export interface Options { export const DEFAULT_OPTIONS: Options = { $refOptions: {}, bannerComment: `/* tslint:disable */ +/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,