Add lint rule

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-12-15 08:41:28 -05:00
1 parent c0e0408c9b
commit e32c33fc18
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -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"],
+2 -2
View File
@@ -44,7 +44,7 @@ export class ReadableWebToNodeStream<T extends TypedArray> extends Readable {
/**
*
* @param stream Readable​Stream: 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 Readable​Stream 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() {