Cleanup of eslint warnings
This commit is contained in:
parent
5c1f21cee0
commit
46f8575291
File diff suppressed because one or more lines are too long
2
amd/build/studyplan-editor-components.min.js
vendored
2
amd/build/studyplan-editor-components.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user