Skip to content

Commit

Permalink
Remove unnecessary tslint annotations.
Browse files Browse the repository at this point in the history
The (deprecated) `tslint` package hasn't been used in quite some time within
this repository.
  • Loading branch information
abernix committed Aug 31, 2019
1 parent 6ea59e7 commit 1abf851
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions packages/apollo-engine-reporting/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ export interface AddTraceArgs {

const serviceHeaderDefaults = {
hostname: os.hostname(),
// tslint:disable-next-line no-var-requires
agentVersion: `apollo-engine-reporting@${require('../package.json').version}`,
runtimeVersion: `node ${process.version}`,
// XXX not actually uname, but what node has easily.
Expand Down Expand Up @@ -354,7 +353,6 @@ export class EngineReportingAgent<TContext = any> {
await Promise.resolve();

if (this.options.debugPrintReports) {
// tslint:disable-next-line no-console
console.log(`Engine sending report: ${JSON.stringify(report.toJSON())}`);
}

Expand Down Expand Up @@ -432,7 +430,6 @@ export class EngineReportingAgent<TContext = any> {
);
}
if (this.options.debugPrintReports) {
// tslint:disable-next-line no-console
console.log(`Engine report: status ${response.status}`);
}
}
Expand Down
1 change: 0 additions & 1 deletion packages/apollo-server-core/src/__tests__/errors.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* tslint:disable:no-unused-expression */
import { GraphQLError } from 'graphql';

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* tslint:disable:no-unused-expression */
import MockReq = require('mock-req');

import { GraphQLSchema, GraphQLObjectType, GraphQLString } from 'graphql';
Expand Down
1 change: 0 additions & 1 deletion packages/apollo-server-core/src/__tests__/runQuery.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* tslint:disable:no-unused-expression */
import MockReq = require('mock-req');

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* tslint:disable:no-unused-expression */
import http from 'http';
import { sha256 } from 'js-sha256';
import { URL } from 'url';
Expand Down

0 comments on commit 1abf851

Please sign in to comment.