chore: disallow `console.log`
parent
2f74c15553
commit
3877f2e7af
|
@ -21,6 +21,7 @@ module.exports = {
|
|||
"warn",
|
||||
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
||||
],
|
||||
"no-console": ["error", { allow: ["debug", "warn", "error"] }],
|
||||
},
|
||||
settings: {
|
||||
"svelte3/typescript": true, // load TypeScript as peer dependency
|
||||
|
|
|
@ -210,7 +210,6 @@
|
|||
} catch (e) {
|
||||
console.warn(`Failed to load peaks: ${e}`);
|
||||
const entity = await fetchEntity(address);
|
||||
console.log(entity.get("FILE_SIZE"));
|
||||
if (
|
||||
(entity.get("FILE_SIZE") || 0) < 20_000_000 ||
|
||||
confirm(
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
let imageEl: HTMLImageElement;
|
||||
|
||||
$: svg = Boolean($entity?.get("FILE_MIME")?.toString().includes("svg+xml"));
|
||||
$: console.log({svg});
|
||||
|
||||
interface Annotorious {
|
||||
addAnnotation: (a: W3cAnnotation) => void;
|
||||
|
|
|
@ -56,8 +56,6 @@
|
|||
);
|
||||
}
|
||||
|
||||
$: console.log({ exactHits });
|
||||
|
||||
async function create() {
|
||||
const createdAddress = await createLabelled(query);
|
||||
navigate(`/browse/${createdAddress}`);
|
||||
|
|
Loading…
Reference in New Issue