Commit e32c33fc authored by Sebastian Malton's avatar Sebastian Malton
Browse files

Add lint rule

Signed-off-by: default avatarSebastian Malton <sebastian@malton.name>
parent c0e0408c
Showing with 4 additions and 2 deletions
+4 -2
......@@ -118,6 +118,7 @@ module.exports = {
sourceType: "module",
},
rules: {
"no-irregular-whitespace": "error",
"header/header": [2, "./license-header"],
"no-invalid-this": "off",
"@typescript-eslint/no-invalid-this": ["error"],
......@@ -199,6 +200,7 @@ module.exports = {
jsx: true,
},
rules: {
"no-irregular-whitespace": "error",
"header/header": [2, "./license-header"],
"no-invalid-this": "off",
"@typescript-eslint/no-invalid-this": ["error"],
......
......@@ -44,7 +44,7 @@ export class ReadableWebToNodeStream<T extends TypedArray> extends Readable {
/**
*
* @param stream ReadableStream: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream
* @param stream ReadableStream: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream
*/
constructor(stream: ReadableStream<T>) {
super();
......@@ -85,7 +85,7 @@ export class ReadableWebToNodeStream<T extends TypedArray> extends Readable {
}
/**
* If there is no unresolved read call to Web-API ReadableStream immediately returns;
* If there is no unresolved read call to Web-API ReadableStream immediately returns;
* otherwise will wait until the read is resolved.
*/
public async waitForReadToComplete() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment