Skip to content

Commit 5dd1399

Browse files
author
Hyunje Jun
committed
Remove TSLint contents
1 parent 1c35934 commit 5dd1399

File tree

6 files changed

+5
-12
lines changed

6 files changed

+5
-12
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Here are each top-level directory explained:
2525
Also, you may use the following npm scripts for development:
2626

2727
* `npm run test`: Run test suites in `test`.
28-
* `npm run lint`: Lint source code with [TSLint](https://github.com/palantir/tslint)
28+
* `npm run format`: Format source code with [Prettier](https://github.com/prettier/prettier)
29+
* `npm run format:check`: Silently run `format` and report formatting errors
2930
* `npm run build`: Build TypeScript code into JavaScript. The built files will
3031
be placed in `dist/`.
3132
* `npm run docs`: Build GitBook docs and serve a doc server

lib/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
RequestError,
77
} from "./exceptions";
88

9-
const pkg = require("../package.json"); // tslint:disable-line no-var-requires
9+
const pkg = require("../package.json");
1010

1111
function checkJSON(raw: any): any {
1212
if (typeof raw === "object") {

lib/validate-signature.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function safeCompare(a: Buffer, b: Buffer): boolean {
2525
} else {
2626
let result = 0;
2727
for (let i = 0; i < a.length; i++) {
28-
result |= a[i] ^ b[i]; // tslint:disable-line no-bitwise
28+
result |= a[i] ^ b[i];
2929
}
3030
return result === 0;
3131
}

test/http.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { get, post, stream } from "../lib/http";
88
import { getStreamData } from "./helpers/stream";
99
import { close, listen } from "./helpers/test-server";
1010

11-
const pkg = require("../package.json"); // tslint:disable-line no-var-requires
11+
const pkg = require("../package.json");
1212

1313
const TEST_PORT = parseInt(process.env.TEST_PORT, 10);
1414
const TEST_URL = `http://localhost:${TEST_PORT}`;

tslint.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

types/global.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* tslint:disable interface-over-type-literal no-namespace */
21
// Type definitions globally used in source code
32

43
declare namespace Line {

0 commit comments

Comments
 (0)