From 48da2389205ca5fbd0d1f40ad52d9c0b8685a076 Mon Sep 17 00:00:00 2001 From: OptoCloud <26223094+OptoCloud@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:48:16 +0200 Subject: [PATCH] Make eslint less pedantic (#8012) * Disable eslint spam * Generate TS example files --- grpc/examples/ts/greeter/src/greeter.ts | 2 ++ grpc/examples/ts/greeter/src/models.ts | 2 ++ grpc/examples/ts/greeter/src/models/hello-reply.ts | 2 ++ grpc/examples/ts/greeter/src/models/hello-request.ts | 2 ++ src/idl_gen_ts.cpp | 7 +++++-- tests/ts/monster_test.ts | 2 ++ tests/ts/my-game.ts | 2 ++ tests/ts/my-game/example.ts | 2 ++ tests/ts/my-game/example/ability.ts | 2 ++ tests/ts/my-game/example/any-ambiguous-aliases.ts | 2 ++ tests/ts/my-game/example/any-unique-aliases.ts | 2 ++ tests/ts/my-game/example/any.ts | 2 ++ tests/ts/my-game/example/color.ts | 2 ++ tests/ts/my-game/example/long-enum.ts | 2 ++ tests/ts/my-game/example/monster.ts | 2 ++ tests/ts/my-game/example/race.ts | 2 ++ tests/ts/my-game/example/referrable.ts | 2 ++ tests/ts/my-game/example/stat.ts | 2 ++ tests/ts/my-game/example/struct-of-structs-of-structs.ts | 2 ++ tests/ts/my-game/example/struct-of-structs.ts | 2 ++ tests/ts/my-game/example/test-simple-table-with-enum.ts | 2 ++ tests/ts/my-game/example/test.ts | 2 ++ tests/ts/my-game/example/type-aliases.ts | 2 ++ tests/ts/my-game/example/vec3.ts | 2 ++ tests/ts/my-game/example2.ts | 2 ++ tests/ts/my-game/example2/monster.ts | 2 ++ tests/ts/my-game/in-parent-namespace.ts | 2 ++ tests/ts/my-game/other-name-space.ts | 2 ++ tests/ts/optional-scalars.ts | 2 ++ tests/ts/optional-scalars/optional-byte.ts | 2 ++ tests/ts/optional-scalars/scalar-stuff.ts | 2 ++ tests/ts/optional_scalars.ts | 2 ++ tests/ts/union_vector/attacker.ts | 2 ++ tests/ts/union_vector/book-reader.ts | 2 ++ tests/ts/union_vector/character.ts | 2 ++ tests/ts/union_vector/falling-tub.ts | 2 ++ tests/ts/union_vector/gadget.ts | 2 ++ tests/ts/union_vector/hand-fan.ts | 2 ++ tests/ts/union_vector/movie.ts | 2 ++ tests/ts/union_vector/rapunzel.ts | 2 ++ tests/ts/union_vector/union_vector.ts | 2 ++ 41 files changed, 85 insertions(+), 2 deletions(-) diff --git a/grpc/examples/ts/greeter/src/greeter.ts b/grpc/examples/ts/greeter/src/greeter.ts index 56620ccb5..b6acab01f 100644 --- a/grpc/examples/ts/greeter/src/greeter.ts +++ b/grpc/examples/ts/greeter/src/greeter.ts @@ -1,3 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export * as models from './models.js'; diff --git a/grpc/examples/ts/greeter/src/models.ts b/grpc/examples/ts/greeter/src/models.ts index c48afe538..61d4731e3 100644 --- a/grpc/examples/ts/greeter/src/models.ts +++ b/grpc/examples/ts/greeter/src/models.ts @@ -1,4 +1,6 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { HelloReply } from './models/hello-reply.js'; export { HelloRequest } from './models/hello-request.js'; diff --git a/grpc/examples/ts/greeter/src/models/hello-reply.ts b/grpc/examples/ts/greeter/src/models/hello-reply.ts index b041a7ec3..c9dd72c2c 100644 --- a/grpc/examples/ts/greeter/src/models/hello-reply.ts +++ b/grpc/examples/ts/greeter/src/models/hello-reply.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/grpc/examples/ts/greeter/src/models/hello-request.ts b/grpc/examples/ts/greeter/src/models/hello-request.ts index d943e45cb..fb5239938 100644 --- a/grpc/examples/ts/greeter/src/models/hello-request.ts +++ b/grpc/examples/ts/greeter/src/models/hello-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/src/idl_gen_ts.cpp b/src/idl_gen_ts.cpp index acd2a4feb..e06dc1181 100644 --- a/src/idl_gen_ts.cpp +++ b/src/idl_gen_ts.cpp @@ -149,7 +149,8 @@ class TsGenerator : public BaseGenerator { std::string code; - code += "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n"; + code += "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n" + + "/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */\n\n"; for (auto it = bare_imports.begin(); it != bare_imports.end(); it++) { code += it->second.import_statement + "\n"; @@ -254,7 +255,9 @@ class TsGenerator : public BaseGenerator { } for (const auto &it : ns_defs_) { - code = "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n"; + code = "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n" + + "/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */\n\n"; + // export all definitions in ns entry point module int export_counter = 0; for (const auto &def : it.second.definitions) { diff --git a/tests/ts/monster_test.ts b/tests/ts/monster_test.ts index 7aebadfe5..02e6f14a1 100644 --- a/tests/ts/monster_test.ts +++ b/tests/ts/monster_test.ts @@ -1,4 +1,6 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { TableA, TableAT } from './table-a.js'; export * as MyGame from './my-game.js'; diff --git a/tests/ts/my-game.ts b/tests/ts/my-game.ts index 8981f325d..1ea9de7fc 100644 --- a/tests/ts/my-game.ts +++ b/tests/ts/my-game.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { InParentNamespace, InParentNamespaceT } from './my-game/in-parent-namespace.js'; export * as Example from './my-game/example.js'; export * as Example2 from './my-game/example2.js'; diff --git a/tests/ts/my-game/example.ts b/tests/ts/my-game/example.ts index 80ddc487e..c12c27951 100644 --- a/tests/ts/my-game/example.ts +++ b/tests/ts/my-game/example.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { Ability, AbilityT } from './example/ability.js'; export { Any } from './example/any.js'; export { AnyAmbiguousAliases } from './example/any-ambiguous-aliases.js'; diff --git a/tests/ts/my-game/example/ability.ts b/tests/ts/my-game/example/ability.ts index 86604ad11..e2dadc977 100644 --- a/tests/ts/my-game/example/ability.ts +++ b/tests/ts/my-game/example/ability.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/my-game/example/any-ambiguous-aliases.ts b/tests/ts/my-game/example/any-ambiguous-aliases.ts index a7a63b721..8e7a3a3b6 100644 --- a/tests/ts/my-game/example/any-ambiguous-aliases.ts +++ b/tests/ts/my-game/example/any-ambiguous-aliases.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { Monster, MonsterT } from '../../my-game/example/monster.js'; diff --git a/tests/ts/my-game/example/any-unique-aliases.ts b/tests/ts/my-game/example/any-unique-aliases.ts index 16aa378c3..ae85ea00b 100644 --- a/tests/ts/my-game/example/any-unique-aliases.ts +++ b/tests/ts/my-game/example/any-unique-aliases.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { Monster as MyGame_Example2_Monster, MonsterT as MyGame_Example2_MonsterT } from '../../my-game/example2/monster.js'; import { Monster, MonsterT } from '../../my-game/example/monster.js'; import { TestSimpleTableWithEnum, TestSimpleTableWithEnumT } from '../../my-game/example/test-simple-table-with-enum.js'; diff --git a/tests/ts/my-game/example/any.ts b/tests/ts/my-game/example/any.ts index de1cbfd96..5e484fa0a 100644 --- a/tests/ts/my-game/example/any.ts +++ b/tests/ts/my-game/example/any.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { Monster as MyGame_Example2_Monster, MonsterT as MyGame_Example2_MonsterT } from '../../my-game/example2/monster.js'; import { Monster, MonsterT } from '../../my-game/example/monster.js'; import { TestSimpleTableWithEnum, TestSimpleTableWithEnumT } from '../../my-game/example/test-simple-table-with-enum.js'; diff --git a/tests/ts/my-game/example/color.ts b/tests/ts/my-game/example/color.ts index 8ce58da67..a494515d5 100644 --- a/tests/ts/my-game/example/color.ts +++ b/tests/ts/my-game/example/color.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + /** * Composite components of Monster color. */ diff --git a/tests/ts/my-game/example/long-enum.ts b/tests/ts/my-game/example/long-enum.ts index 31ea18805..07b1369e3 100644 --- a/tests/ts/my-game/example/long-enum.ts +++ b/tests/ts/my-game/example/long-enum.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum LongEnum { LongOne = '2', LongTwo = '4', diff --git a/tests/ts/my-game/example/monster.ts b/tests/ts/my-game/example/monster.ts index 78590c668..c94e30614 100644 --- a/tests/ts/my-game/example/monster.ts +++ b/tests/ts/my-game/example/monster.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Monster as MyGame_Example2_Monster, MonsterT as MyGame_Example2_MonsterT } from '../../my-game/example2/monster.js'; diff --git a/tests/ts/my-game/example/race.ts b/tests/ts/my-game/example/race.ts index 8cb9654ae..ef009e549 100644 --- a/tests/ts/my-game/example/race.ts +++ b/tests/ts/my-game/example/race.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum Race { None = -1, Human = 0, diff --git a/tests/ts/my-game/example/referrable.ts b/tests/ts/my-game/example/referrable.ts index 8e199bb62..02d8cb1b5 100644 --- a/tests/ts/my-game/example/referrable.ts +++ b/tests/ts/my-game/example/referrable.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/my-game/example/stat.ts b/tests/ts/my-game/example/stat.ts index b5d87ff3e..00b8845f6 100644 --- a/tests/ts/my-game/example/stat.ts +++ b/tests/ts/my-game/example/stat.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/my-game/example/struct-of-structs-of-structs.ts b/tests/ts/my-game/example/struct-of-structs-of-structs.ts index 2464e56f9..05bc63d52 100644 --- a/tests/ts/my-game/example/struct-of-structs-of-structs.ts +++ b/tests/ts/my-game/example/struct-of-structs-of-structs.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { StructOfStructs, StructOfStructsT } from '../../my-game/example/struct-of-structs.js'; diff --git a/tests/ts/my-game/example/struct-of-structs.ts b/tests/ts/my-game/example/struct-of-structs.ts index f1e3146fb..e1fd746c0 100644 --- a/tests/ts/my-game/example/struct-of-structs.ts +++ b/tests/ts/my-game/example/struct-of-structs.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Ability, AbilityT } from '../../my-game/example/ability.js'; diff --git a/tests/ts/my-game/example/test-simple-table-with-enum.ts b/tests/ts/my-game/example/test-simple-table-with-enum.ts index e28c80f01..ef6fa5d83 100644 --- a/tests/ts/my-game/example/test-simple-table-with-enum.ts +++ b/tests/ts/my-game/example/test-simple-table-with-enum.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Color } from '../../my-game/example/color.js'; diff --git a/tests/ts/my-game/example/test.ts b/tests/ts/my-game/example/test.ts index 0bad68292..db9263cfe 100644 --- a/tests/ts/my-game/example/test.ts +++ b/tests/ts/my-game/example/test.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/my-game/example/type-aliases.ts b/tests/ts/my-game/example/type-aliases.ts index 3c727356c..9f0ed0b26 100644 --- a/tests/ts/my-game/example/type-aliases.ts +++ b/tests/ts/my-game/example/type-aliases.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/my-game/example/vec3.ts b/tests/ts/my-game/example/vec3.ts index 9e31323b6..88c0dbf72 100644 --- a/tests/ts/my-game/example/vec3.ts +++ b/tests/ts/my-game/example/vec3.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Color } from '../../my-game/example/color.js'; diff --git a/tests/ts/my-game/example2.ts b/tests/ts/my-game/example2.ts index bc48a5cb8..5028bba20 100644 --- a/tests/ts/my-game/example2.ts +++ b/tests/ts/my-game/example2.ts @@ -1,3 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { Monster, MonsterT } from './example2/monster.js'; diff --git a/tests/ts/my-game/example2/monster.ts b/tests/ts/my-game/example2/monster.ts index 66c555dde..39bf68d9e 100644 --- a/tests/ts/my-game/example2/monster.ts +++ b/tests/ts/my-game/example2/monster.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/my-game/in-parent-namespace.ts b/tests/ts/my-game/in-parent-namespace.ts index 4c0e4163d..02f18e1ae 100644 --- a/tests/ts/my-game/in-parent-namespace.ts +++ b/tests/ts/my-game/in-parent-namespace.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/my-game/other-name-space.ts b/tests/ts/my-game/other-name-space.ts index eb3679fba..b8ddf7531 100644 --- a/tests/ts/my-game/other-name-space.ts +++ b/tests/ts/my-game/other-name-space.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { FromInclude } from './other-name-space/from-include.js'; export { TableB, TableBT } from './other-name-space/table-b.js'; export { Unused, UnusedT } from './other-name-space/unused.js'; diff --git a/tests/ts/optional-scalars.ts b/tests/ts/optional-scalars.ts index ebd33509f..5ee90df78 100644 --- a/tests/ts/optional-scalars.ts +++ b/tests/ts/optional-scalars.ts @@ -1,4 +1,6 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { OptionalByte } from './optional-scalars/optional-byte.js'; export { ScalarStuff } from './optional-scalars/scalar-stuff.js'; diff --git a/tests/ts/optional-scalars/optional-byte.ts b/tests/ts/optional-scalars/optional-byte.ts index f4db265e2..9bb66a9bc 100644 --- a/tests/ts/optional-scalars/optional-byte.ts +++ b/tests/ts/optional-scalars/optional-byte.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum OptionalByte { None = 0, One = 1, diff --git a/tests/ts/optional-scalars/scalar-stuff.ts b/tests/ts/optional-scalars/scalar-stuff.ts index fe74b2cb4..2260b4583 100644 --- a/tests/ts/optional-scalars/scalar-stuff.ts +++ b/tests/ts/optional-scalars/scalar-stuff.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { OptionalByte } from '../optional-scalars/optional-byte.js'; diff --git a/tests/ts/optional_scalars.ts b/tests/ts/optional_scalars.ts index 18ded6e4f..3805ab68c 100644 --- a/tests/ts/optional_scalars.ts +++ b/tests/ts/optional_scalars.ts @@ -1,3 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export * as optional_scalars from './optional-scalars.js'; diff --git a/tests/ts/union_vector/attacker.ts b/tests/ts/union_vector/attacker.ts index 0d3ca4be6..32675bcd5 100644 --- a/tests/ts/union_vector/attacker.ts +++ b/tests/ts/union_vector/attacker.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/union_vector/book-reader.ts b/tests/ts/union_vector/book-reader.ts index 29a9b5017..2052fdcb2 100644 --- a/tests/ts/union_vector/book-reader.ts +++ b/tests/ts/union_vector/book-reader.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/union_vector/character.ts b/tests/ts/union_vector/character.ts index ddad8758a..6bb0ffd00 100644 --- a/tests/ts/union_vector/character.ts +++ b/tests/ts/union_vector/character.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { Attacker, AttackerT } from './attacker.js'; import { BookReader, BookReaderT } from './book-reader.js'; import { Rapunzel, RapunzelT } from './rapunzel.js'; diff --git a/tests/ts/union_vector/falling-tub.ts b/tests/ts/union_vector/falling-tub.ts index eeb9f721b..32fb9fa4a 100644 --- a/tests/ts/union_vector/falling-tub.ts +++ b/tests/ts/union_vector/falling-tub.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/union_vector/gadget.ts b/tests/ts/union_vector/gadget.ts index b6e117bcc..bff970278 100644 --- a/tests/ts/union_vector/gadget.ts +++ b/tests/ts/union_vector/gadget.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { FallingTub, FallingTubT } from './falling-tub.js'; import { HandFan, HandFanT } from './hand-fan.js'; diff --git a/tests/ts/union_vector/hand-fan.ts b/tests/ts/union_vector/hand-fan.ts index dd687baa3..03b809d3d 100644 --- a/tests/ts/union_vector/hand-fan.ts +++ b/tests/ts/union_vector/hand-fan.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/union_vector/movie.ts b/tests/ts/union_vector/movie.ts index a9f7553a4..0e2370a89 100644 --- a/tests/ts/union_vector/movie.ts +++ b/tests/ts/union_vector/movie.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Attacker, AttackerT } from './attacker.js'; diff --git a/tests/ts/union_vector/rapunzel.ts b/tests/ts/union_vector/rapunzel.ts index 20ca49715..433106a65 100644 --- a/tests/ts/union_vector/rapunzel.ts +++ b/tests/ts/union_vector/rapunzel.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/tests/ts/union_vector/union_vector.ts b/tests/ts/union_vector/union_vector.ts index 79401d2bc..d6e0b608e 100644 --- a/tests/ts/union_vector/union_vector.ts +++ b/tests/ts/union_vector/union_vector.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export { Attacker, AttackerT } from './attacker.js'; export { BookReader, BookReaderT } from './book-reader.js'; export { Character } from './character.js';