[pve-devel] [PATCH manager 0/6] eslint fixes

Dominic Jäger d.jaeger at proxmox.com
Tue May 18 14:12:12 CEST 2021


Reduce eslint problems in qemu/lxc/storage to 3 Errors and 2 Warnings.
Those are a little trickier, I'll fix them tomorrow.

I clicked through a couple of wizards to test, but not yet every single
possible window.

Dominic Jäger (6):
  Fix usage of 'me'
  No unused or duplicate variables
  Functions may not be completely empty
  Remove useless escapes
  State equalities more precisely
  Miscellaneous eslint fixes

 www/manager6/lxc/CreateWizard.js      |  1 -
 www/manager6/lxc/DNS.js               |  7 ++--
 www/manager6/lxc/FeaturesEdit.js      |  2 +-
 www/manager6/lxc/MPEdit.js            |  6 ++--
 www/manager6/lxc/MPResize.js          |  5 ---
 www/manager6/lxc/Options.js           |  5 ++-
 www/manager6/lxc/Resources.js         |  4 +--
 www/manager6/qemu/AgentIPView.js      |  9 +++---
 www/manager6/qemu/BootOrderEdit.js    |  4 +--
 www/manager6/qemu/CloudInit.js        | 46 +++++++++++++--------------
 www/manager6/qemu/DisplayEdit.js      |  4 +--
 www/manager6/qemu/HDEdit.js           |  1 -
 www/manager6/qemu/HDMove.js           |  2 --
 www/manager6/qemu/HDResize.js         |  4 ---
 www/manager6/qemu/OSDefaults.js       |  2 +-
 www/manager6/qemu/OSTypeEdit.js       |  2 +-
 www/manager6/qemu/Options.js          |  4 +--
 www/manager6/qemu/RNGEdit.js          |  2 +-
 www/manager6/qemu/SSHKey.js           |  4 +--
 www/manager6/qemu/SerialEdit.js       |  4 +--
 www/manager6/qemu/Smbios1Edit.js      |  1 -
 www/manager6/qemu/USBEdit.js          |  4 +--
 www/manager6/storage/Base.js          | 10 +++---
 www/manager6/storage/GlusterFsEdit.js |  1 +
 www/manager6/storage/IScsiEdit.js     |  1 +
 www/manager6/storage/ImageView.js     |  7 ++--
 www/manager6/storage/LvmThinEdit.js   |  1 +
 www/manager6/storage/NFSEdit.js       |  2 +-
 www/manager6/storage/StatusView.js    |  2 +-
 www/manager6/storage/TemplateView.js  |  2 --
 www/manager6/storage/ZFSEdit.js       |  2 +-
 31 files changed, 66 insertions(+), 85 deletions(-)

-- 
2.20.1






More information about the pve-devel mailing list