summaryrefslogtreecommitdiff
path: root/js/form
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-12 22:26:51 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-12 22:27:18 +0000
commitcde120b3d730dfb56fa59759bb9a7369584f551c (patch)
treec1c7ec460b87e0551bdf4fe00ca98bac565601f2 /js/form
parent7211d3468456bc770f227432e98be13bf7d7d42a (diff)
Clean up unnecessary eslint-disable directives (per ESLint).
Diffstat (limited to 'js/form')
-rwxr-xr-xjs/form/ComboButton.js1
-rwxr-xr-xjs/form/DropDownButton.js1
-rwxr-xr-xjs/form/Select.js1
-rw-r--r--js/form/ValidationTextArea.js2
4 files changed, 0 insertions, 5 deletions
diff --git a/js/form/ComboButton.js b/js/form/ComboButton.js
index 4c97809e4..98386eead 100755
--- a/js/form/ComboButton.js
+++ b/js/form/ComboButton.js
@@ -1,4 +1,3 @@
-/* eslint-disable prefer-rest-params */
/* global define */
define(["dojo/_base/declare", "dijit/form/ComboButton"], function (declare) {
return declare("fox.form.ComboButton", dijit.form.ComboButton, {
diff --git a/js/form/DropDownButton.js b/js/form/DropDownButton.js
index 357d5de91..60d8e86ef 100755
--- a/js/form/DropDownButton.js
+++ b/js/form/DropDownButton.js
@@ -1,4 +1,3 @@
-/* eslint-disable prefer-rest-params */
/* global define */
define(["dojo/_base/declare", "dijit/form/DropDownButton"], function (declare) {
return declare("fox.form.DropDownButton", dijit.form.DropDownButton, {
diff --git a/js/form/Select.js b/js/form/Select.js
index 2259fd762..bc352e612 100755
--- a/js/form/Select.js
+++ b/js/form/Select.js
@@ -1,4 +1,3 @@
-/* eslint-disable prefer-rest-params */
/* global define */
// FIXME: there probably is a better, more dojo-like notation for custom data- properties
define(["dojo/_base/declare",
diff --git a/js/form/ValidationTextArea.js b/js/form/ValidationTextArea.js
index c53260f40..ced4f8fe7 100644
--- a/js/form/ValidationTextArea.js
+++ b/js/form/ValidationTextArea.js
@@ -1,5 +1,4 @@
// https://stackoverflow.com/questions/19317258/how-to-use-dijit-textarea-validation-dojo-1-9
-/* eslint-disable no-new */
/* global define */
define(["dojo/_base/declare", "dojo/_base/lang", "dijit/form/SimpleTextarea", "dijit/form/ValidationTextBox"],
@@ -10,7 +9,6 @@ define(["dojo/_base/declare", "dojo/_base/lang", "dijit/form/SimpleTextarea", "d
this.constraints = {};
this.baseClass += ' dijitValidationTextArea';
},
- // eslint-disable-next-line no-template-curly-in-string
templateString: "<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",
validator: function(value, constraints) {
//console.log(this, value, constraints);