Skip to content

Commit 37a08a1

Browse files
committed
Update lint rules
1 parent 23049ca commit 37a08a1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.eslintrc.json

+4
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@
1414
"parserOptions": {
1515
"ecmaVersion": 11,
1616
"sourceType": "module"
17+
},
18+
19+
"rules": {
20+
"no-loss-of-precision": "off"
1721
}
1822
}

src/BufferStream.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@ class ReadBufferStream extends BufferStream {
371371
}
372372

373373
writeUint8Repeat(value, count) {
374-
throw new Error(value, "writeUint8Repeat not implemented");
374+
throw new Error(
375+
`writeUint8Repeat not implemented (value: ${value}, count: ${count})`
376+
);
375377
}
376378

377379
writeInt8(value) {

0 commit comments

Comments
 (0)