fix (linter): canary linter

This commit is contained in:
MickaelK
2024-12-06 18:32:58 +11:00
parent 799ba868c3
commit 60b83e36a9
4 changed files with 7 additions and 3 deletions

View File

@ -362,7 +362,7 @@ function workerImplFile({ progress, speed }) {
const numberOfChunks = Math.ceil(file.size / chunkSize);
const headersNoCache = {
"Cache-Control": "no-store",
"Pragma": "no-cache"
"Pragma": "no-cache",
};
// Case1: basic upload

View File

@ -104,7 +104,7 @@ window.CodeMirror.registerGlobalHelper("fold", "drawer", function(mode) {
window.CodeMirror.registerHelper("orgmode", "init", (editor) => {
editor.setOption("extraKeys", {
Tab: (cm) => org_cycle(cm),
"Tab": (cm) => org_cycle(cm),
"Shift-Tab": (cm) => org_shifttab(cm),
"Alt-Left": (cm) => org_metaleft(cm),
"Alt-Right": (cm) => org_metaright(cm),

View File

@ -148,7 +148,7 @@ function readOnlyForm(formSpec) {
formSpec["readonly"] = true;
return formSpec;
}
for (let key in formSpec) {
for (const key in formSpec) {
formSpec[key] = readOnlyForm(formSpec[key]);
}
return formSpec;

View File

@ -67,6 +67,10 @@
"allowTemplateLiterals": true
}
],
"quote-props": [
"error",
"consistent"
],
"indent": [
"error",
4