diff --git a/README.md b/README.md index 5ea6d64f..57617c4e 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ See [server demo](example) and [browser demo](https://github.com/bcherny/json-sc | key | type | default | description | |-|-|-|-| | additionalProperties | boolean | `true` | Default value for `additionalProperties`, when it is not explicitly set | -| 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 | `"/* 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..010194f3 100644 --- a/example/person.d.ts +++ b/example/person.d.ts @@ -1,4 +1,4 @@ -/* 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 326bd452..0ee1be1c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -81,7 +81,7 @@ export interface Options { export const DEFAULT_OPTIONS: Options = { $refOptions: {}, additionalProperties: true, // TODO: default to empty schema (as per spec) instead - bannerComment: `/* tslint:disable */ + bannerComment: `/* 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/test/__snapshots__/test/test.ts.md b/test/__snapshots__/test/test.ts.md index 7d33c708..89ac8097 100644 --- a/test/__snapshots__/test/test.ts.md +++ b/test/__snapshots__/test/test.ts.md @@ -8,7 +8,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: JSONSchema.js - `/* 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,␊ @@ -82,7 +82,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: WithComment.js - `/* 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,␊ @@ -108,7 +108,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: additionalProperties.1.js - `/* 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,␊ @@ -125,7 +125,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: additionalProperties.2.js - `/* 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,␊ @@ -150,7 +150,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: additionalProperties.3.js - `/* 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,␊ @@ -180,7 +180,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: allOf.js - `/* 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,␊ @@ -203,7 +203,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: anyOf.js - `/* 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,␊ @@ -232,7 +232,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: anyOfRoot.js - `/* 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,␊ @@ -259,7 +259,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: arrayAdditionalItems.js - `/* 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,␊ @@ -422,7 +422,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: arrayMaxMinItems.js - `/* 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,␊ @@ -568,7 +568,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: arrayOfEnum.js - `/* 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,␊ @@ -596,7 +596,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: arrayOfSchema.2.js - `/* 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,␊ @@ -628,7 +628,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: arrayOfSchema.js - `/* 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,␊ @@ -669,7 +669,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: arrayOfType.js - `/* 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,␊ @@ -689,7 +689,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: basics.js - `/* 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,␊ @@ -717,7 +717,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: customType.js - `/* 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,␊ @@ -743,7 +743,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: deep.js - `/* 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,␊ @@ -777,7 +777,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: disjointType.js - `/* 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,␊ @@ -804,7 +804,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: emptyDefinition.js - `/* 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,␊ @@ -822,7 +822,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: emptyProperties.js - `/* 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,␊ @@ -842,7 +842,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: emptySchema.js - `/* 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,␊ @@ -858,7 +858,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: enum.2.js - `/* 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,␊ @@ -895,7 +895,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: enum.3.js - `/* 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,␊ @@ -918,7 +918,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: enum.js - `/* 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,␊ @@ -973,7 +973,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: extends.1a.js - `/* 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,␊ @@ -993,7 +993,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: extends.1b.js - `/* 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,␊ @@ -1009,7 +1009,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: extends.2a.js - `/* 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,␊ @@ -1032,7 +1032,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: extends.2b.js - `/* 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,␊ @@ -1048,7 +1048,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: extends.3.js - `/* 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,␊ @@ -1088,7 +1088,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: intersection.1.js - `/* 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,␊ @@ -1118,7 +1118,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: intersection.2.js - `/* 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,␊ @@ -1149,7 +1149,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: intersection.3.js - `/* 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,␊ @@ -1729,7 +1729,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: namedProperty.js - `/* 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,␊ @@ -1754,7 +1754,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: notExtensible.js - `/* 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,␊ @@ -1775,7 +1775,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: oneOf.js - `/* 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,␊ @@ -1803,7 +1803,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: oneOfWithDupes.js - `/* 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,␊ @@ -1836,7 +1836,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: optimize.2.js - `/* 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,␊ @@ -1868,7 +1868,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: optimize.js - `/* 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,␊ @@ -1887,7 +1887,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: options.arrayIgnoreMaxMinItems.js - `/* 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,␊ @@ -2004,7 +2004,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: options.enableConstEnums.js - `/* 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,␊ @@ -2085,7 +2085,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: options.format.js - `/* 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,␊ @@ -2105,7 +2105,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: options.strictIndexSignatures.js - `/* 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,␊ @@ -2122,7 +2122,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: options.style.js - `/* 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,␊ @@ -2142,7 +2142,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: options.unreachableDefinitions.js - `/* 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,␊ @@ -2173,7 +2173,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: patternProperties.1.js - `/* 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,␊ @@ -2197,7 +2197,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: patternProperties.2.js - `/* 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,␊ @@ -2223,7 +2223,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: patternProperties.3.js - `/* 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,␊ @@ -2247,7 +2247,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: patternProperties.4.js - `/* 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,␊ @@ -2272,7 +2272,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: patternProperties.5.js - `/* 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,␊ @@ -2299,7 +2299,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: patternProperties.6.js - `/* 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,␊ @@ -2321,7 +2321,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.awsQuicksight.js - `/* 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,␊ @@ -3100,7 +3100,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.fhir.js - `/* 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,␊ @@ -131304,7 +131304,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.heroku.js - `/* 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,␊ @@ -134741,7 +134741,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.jsonStat.js - `/* 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,␊ @@ -134948,7 +134948,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.jsonschema.js - `/* 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,␊ @@ -135093,7 +135093,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.openapi.js - `/* 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,␊ @@ -135673,7 +135673,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.payloadCMS.js - `/* 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,␊ @@ -138551,7 +138551,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.schemaStore.1.js - `/* 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,␊ @@ -139025,7 +139025,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: realWorld.swagger.2.js - `/* 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,␊ @@ -139046,7 +139046,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: ref.1a.js - `/* 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,␊ @@ -139074,7 +139074,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: ref.1b.js - `/* 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,␊ @@ -139090,7 +139090,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: ref.2.js - `/* 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,␊ @@ -139151,7 +139151,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: ref.4.js - `/* 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,␊ @@ -139179,7 +139179,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: ref.5.js - `/* 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,␊ @@ -139211,7 +139211,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: ref.6a.js - `/* 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,␊ @@ -139229,7 +139229,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: ref.6b.js - `/* 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,␊ @@ -139245,7 +139245,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: refWithCycle.1.js - `/* 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,␊ @@ -139263,7 +139263,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: refWithCycle.2.js - `/* 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,␊ @@ -139288,7 +139288,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: refWithCycle.4.js - `/* 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,␊ @@ -139306,7 +139306,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: refWithCycle.5.js - `/* 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,␊ @@ -139327,7 +139327,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: referencesShouldBeNormalized.js - `/* 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,␊ @@ -139357,7 +139357,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: required.js - `/* 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,␊ @@ -139382,7 +139382,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: reservedWords.1.js - `/* 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,␊ @@ -139401,7 +139401,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: reservedWords.2.js - `/* 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,␊ @@ -139422,7 +139422,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: safeTypeNames.js - `/* 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,␊ @@ -139664,7 +139664,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: schemaTitleAsTypeName.js - `/* 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,␊ @@ -139692,7 +139692,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: specialCharacters.js - `/* 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,␊ @@ -139713,7 +139713,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: subSchema.js - `/* 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,␊ @@ -139746,7 +139746,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: topLevelUnion.js - `/* 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,␊ @@ -139760,7 +139760,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: tupleItemsWithTitles.js - `/* 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,␊ @@ -139783,7 +139783,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: tupleRef.js - `/* 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,␊ @@ -139802,7 +139802,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: typedArray.1.js - `/* 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,␊ @@ -139823,7 +139823,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: typedArray.2.js - `/* 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,␊ @@ -139845,7 +139845,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: unicode.js - `/* 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,␊ @@ -139864,7 +139864,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: union.2.js - `/* 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,␊ @@ -139885,7 +139885,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: union.3.js - `/* 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,␊ @@ -139901,7 +139901,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: union.4.js - `/* 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,␊ @@ -139915,7 +139915,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: union.js - `/* 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,␊ @@ -139942,7 +139942,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: unionWithProperties.js - `/* 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,␊ @@ -139975,7 +139975,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: unnamedSchema.js - `/* 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,␊ @@ -139991,7 +139991,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: withDescription.js - `/* 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,␊ @@ -140016,7 +140016,7 @@ Generated by [AVA](https://avajs.dev). > Expected output to match snapshot for e2e test: withDescriptionNewlines.js - `/* 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,␊ @@ -140045,7 +140045,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140073,7 +140073,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140098,7 +140098,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140123,7 +140123,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140148,7 +140148,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140173,7 +140173,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140198,7 +140198,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140222,7 +140222,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140239,7 +140239,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140264,7 +140264,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140289,7 +140289,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140314,7 +140314,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140339,7 +140339,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140364,7 +140364,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140389,7 +140389,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140418,7 +140418,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 2 - `/* 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,␊ @@ -140437,7 +140437,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 4 - `/* 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,␊ @@ -140455,7 +140455,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 1 - `/* 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,␊ @@ -140466,7 +140466,7 @@ Generated by [AVA](https://avajs.dev). f: string;␊ g?: number;␊ }␊ - /* 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,␊ @@ -140488,7 +140488,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 2 - `/* 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,␊ @@ -140507,7 +140507,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 4 - `/* 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,␊ @@ -140529,7 +140529,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 2 - `/* 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,␊ @@ -140549,7 +140549,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 4 - `/* 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,␊ @@ -140565,7 +140565,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 6 - `/* 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,␊ @@ -140584,7 +140584,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 8 - `/* 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,␊ @@ -140603,7 +140603,7 @@ Generated by [AVA](https://avajs.dev). > Snapshot 10 - `/* 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/test/__snapshots__/test/test.ts.snap b/test/__snapshots__/test/test.ts.snap index b41dc463..9dddbfc0 100644 Binary files a/test/__snapshots__/test/test.ts.snap and b/test/__snapshots__/test/test.ts.snap differ