Exclude no-undef for certain files to make linter happy
Dieser Commit ist enthalten in:
Ursprung
b7464a3598
Commit
47b5f96ce1
3 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
|
@ -1,3 +1,4 @@
|
||||||
|
/* eslint no-undef: 0 */
|
||||||
/*global Mousetrap:true */
|
/*global Mousetrap:true */
|
||||||
import { default as computed, on, observes } from 'ember-addons/ember-computed-decorators';
|
import { default as computed, on, observes } from 'ember-addons/ember-computed-decorators';
|
||||||
import { cookAsync } from '../lib/text-lite';
|
import { cookAsync } from '../lib/text-lite';
|
||||||
|
@ -38,7 +39,7 @@ const isInside = (text, regex) => {
|
||||||
|
|
||||||
class Toolbar {
|
class Toolbar {
|
||||||
|
|
||||||
constructor(site) {
|
constructor() {
|
||||||
this.shortcuts = {};
|
this.shortcuts = {};
|
||||||
|
|
||||||
this.groups = [
|
this.groups = [
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint no-undef: 0 */
|
||||||
|
|
||||||
import computed from "ember-addons/ember-computed-decorators";
|
import computed from "ember-addons/ember-computed-decorators";
|
||||||
import { siteDir, isRTL, isLTR } from "discourse/lib/text-direction";
|
import { siteDir, isRTL, isLTR } from "discourse/lib/text-direction";
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint no-undef: 0 */
|
||||||
|
|
||||||
import { findCustomWizard } from '../models/custom';
|
import { findCustomWizard } from '../models/custom';
|
||||||
import { ajax } from 'wizard/lib/ajax';
|
import { ajax } from 'wizard/lib/ajax';
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren