[gjs: 3/43] installed-tests: Disable eslint for tests using legacy Lang
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 3/43] installed-tests: Disable eslint for tests using legacy Lang
- Date: Wed, 14 Aug 2019 17:27:19 +0000 (UTC)
commit 607e2534adf98b0fe931e731090117a6ebcb55cb
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Fri Jun 7 23:09:46 2019 +0200
installed-tests: Disable eslint for tests using legacy Lang
installed-tests/js/testLang.js | 1 +
installed-tests/js/testLegacyClass.js | 1 +
installed-tests/js/testLegacyGObject.js | 2 ++
installed-tests/js/testLegacyGtk.js | 2 ++
installed-tests/js/testSignals.js | 2 ++
5 files changed, 8 insertions(+)
---
diff --git a/installed-tests/js/testLang.js b/installed-tests/js/testLang.js
index 13735e65..ebef53ba 100644
--- a/installed-tests/js/testLang.js
+++ b/installed-tests/js/testLang.js
@@ -1,3 +1,4 @@
+/* eslint-disable no-restricted-properties */
// tests for imports.lang module
// except for Lang.Class and Lang.Interface, which are tested in testLegacyClass
diff --git a/installed-tests/js/testLegacyClass.js b/installed-tests/js/testLegacyClass.js
index e691abb6..3268ce6f 100644
--- a/installed-tests/js/testLegacyClass.js
+++ b/installed-tests/js/testLegacyClass.js
@@ -1,4 +1,5 @@
// -*- mode: js; indent-tabs-mode: nil -*-
+/* eslint-disable no-restricted-properties */
const Lang = imports.lang;
diff --git a/installed-tests/js/testLegacyGObject.js b/installed-tests/js/testLegacyGObject.js
index 87ef31a5..1d92887b 100644
--- a/installed-tests/js/testLegacyGObject.js
+++ b/installed-tests/js/testLegacyGObject.js
@@ -1,4 +1,6 @@
// -*- mode: js; indent-tabs-mode: nil -*-
+/* eslint-disable no-restricted-properties */
+
imports.gi.versions.Gtk = '3.0';
const Gio = imports.gi.Gio;
diff --git a/installed-tests/js/testLegacyGtk.js b/installed-tests/js/testLegacyGtk.js
index b812d297..1a138ef2 100644
--- a/installed-tests/js/testLegacyGtk.js
+++ b/installed-tests/js/testLegacyGtk.js
@@ -1,4 +1,6 @@
// -*- mode: js; indent-tabs-mode: nil -*-
+/* eslint-disable no-restricted-properties */
+
imports.gi.versions.Gtk = '3.0';
const ByteArray = imports.byteArray;
diff --git a/installed-tests/js/testSignals.js b/installed-tests/js/testSignals.js
index 8a031b33..bdb449c6 100644
--- a/installed-tests/js/testSignals.js
+++ b/installed-tests/js/testSignals.js
@@ -1,3 +1,5 @@
+/* eslint-disable no-restricted-properties */
+
const GLib = imports.gi.GLib;
const Lang = imports.lang;
const Signals = imports.signals;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]