Cleanup of eslint warnings

This commit is contained in:
PMKuipers 2024-06-05 23:27:00 +02:00
parent b60e5065f0
commit 6b9826934f
6 changed files with 817 additions and 774 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -2,11 +2,9 @@
/* eslint no-console: "off"*/
/* eslint no-unused-vars: warn */
/* eslint max-len: ["error", { "code": 160 }] */
/* eslint-disable no-trailing-spaces */
/* eslint no-trailing-spaces: warn */
/* eslint max-depth: ["error", 6] */
/* eslint-env es6*/
// Put this file in path/to/plugin/amd/src
import {SimpleLine} from "./simpleline/simpleline";
import {call} from 'core/ajax';
@ -4033,7 +4031,6 @@ export default {
} else {
url = `/admin/tool/lp/competencies.php?competencyframeworkid=${p.id}&pagecontextid=${p.contextid}`;
}
s += `<a href="${url}">${p.title}</a>`;
}
return s;