diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-03-10 04:30:38 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-09 12:30:38 -0500 |
commit | 034e2cc02829c9244b32232074c7a48af827a2fb (patch) | |
tree | bade01606a1ee076c1f753ce99c97ddb1e4edf30 /js/flatbuffers.ts | |
parent | 8c7a12d1b258f0ef5ab27f49c424331d43e8d97f (diff) |
Migrate from tslint to eslint for linting (#1905)
Diffstat (limited to 'js/flatbuffers.ts')
-rw-r--r-- | js/flatbuffers.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/flatbuffers.ts b/js/flatbuffers.ts index 74eaf40ff..73f3ceb82 100644 --- a/js/flatbuffers.ts +++ b/js/flatbuffers.ts @@ -2,6 +2,8 @@ import { flatbuffers } from "flatbuffers"; import * as util from "./util"; +/* eslint-disable @typescript-eslint/camelcase */ + // Re-export some types. export type Offset = flatbuffers.Offset; export class ByteBuffer extends flatbuffers.ByteBuffer {} @@ -17,7 +19,7 @@ globalBuilder.inUse = false; // We can do this because the "control" messages sent to the privileged // side are guaranteed to be used during the call to libdeno.send(). export function createBuilder(): Builder { - // tslint:disable-next-line:no-any + // eslint-disable-next-line @typescript-eslint/no-explicit-any const gb = globalBuilder as any; util.assert(!gb.inUse); |