Lint about console calls in rustdoc JS
This commit is contained in:
parent
0cbc076438
commit
2bbc974bed
2 changed files with 2 additions and 0 deletions
|
|
@ -91,5 +91,6 @@ module.exports = {
|
|||
"no-script-url": "error",
|
||||
"no-sequences": "error",
|
||||
"no-div-regex": "error",
|
||||
"no-console": "error",
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1133,6 +1133,7 @@ class RoaringBitmap {
|
|||
}
|
||||
for (let j = 0; j < size; ++j) {
|
||||
if (offsets && offsets[j] !== i) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(this.containers);
|
||||
throw new Error(`corrupt bitmap ${j}: ${i} / ${offsets[j]}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue