Cleanup of eslint warnings

This commit is contained in:
PMKuipers 2024-06-05 22:22:19 +02:00
parent 5c1f21cee0
commit 46f8575291
6 changed files with 1242 additions and 1154 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

View File

@ -2,6 +2,7 @@
/* eslint no-console: "off"*/
/* eslint no-unused-vars: warn */
/* eslint max-len: ["error", { "code": 160 }] */
/* eslint max-depth: ["error", 6] */
/* eslint-disable no-trailing-spaces */
/* eslint-env es6*/
// Put this file in path/to/plugin/amd/src
@ -18,7 +19,7 @@ import Debugger from './util/debugger';
import Config from 'core/config';
import {processStudyplan, processStudyplanPage, objCopy} from './studyplan-processor';
import TSComponents from './treestudyplan-components';
/*import {eventTypes as editSwEventTypes} from 'core/edit_switch';*/
/* import {eventTypes as editSwEventTypes} from 'core/edit_switch'; */
import { premiumenabled, premiumstatus } from "./util/premium";
import FitTextVue from './util/fittext-vue';

File diff suppressed because it is too large Load Diff

View File

@ -25,8 +25,6 @@ require_once("../../config.php");
require_once($CFG->libdir.'/weblib.php');
require_once($CFG->dirroot.'/grade/querylib.php');
use local_treestudyplan;
$invitedurl = "/local/treestudyplan/invited.php";
$systemcontext = context_system::instance();