From 00018fcbb23261aeda3c2a1a0d435fffcbfebc0e Mon Sep 17 00:00:00 2001
From: DCoded <dcoded@live.com>
Date: Thu, 28 Mar 2019 17:01:43 -0400
Subject: [PATCH] Updated ESlint

---
 .eslintrc.js => .eslintrc.json   | 5 ++---
 src/interaction/main/useGuard.js | 5 +++--
 src/js/descriptionWidgets.js     | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
 rename .eslintrc.js => .eslintrc.json (96%)

diff --git a/.eslintrc.js b/.eslintrc.json
similarity index 96%
rename from .eslintrc.js
rename to .eslintrc.json
index 5ebff4775e5..7daf6f00e69 100644
--- a/.eslintrc.js
+++ b/.eslintrc.json
@@ -1,4 +1,4 @@
-module.exports = {
+{
     "root": true,
     "env": {
         "browser": true,
@@ -32,7 +32,6 @@ module.exports = {
         "semi-style": "warn",
         "eqeqeq": "error",
         "default-case": "error",
-        "no-unused-vars": "off",
         "camelcase": "warn",
         "comma-spacing": "error",
         "comma-style": "error",
@@ -60,4 +59,4 @@ module.exports = {
         }
         ]
     }
-};
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/src/interaction/main/useGuard.js b/src/interaction/main/useGuard.js
index 0d09ceb2786..163dc22b62c 100644
--- a/src/interaction/main/useGuard.js
+++ b/src/interaction/main/useGuard.js
@@ -2,8 +2,8 @@
 /* OPEN USEGUARD */
 App.Interact.UseGuard = function(slave) {
 	"use strict";
-	const V = State.variables;
 	let r = ``;
+	/* eslint-disable */
 	let pronouns = getPronouns(slave);
 	let he = pronouns.pronoun;
 	let him = pronouns.object;
@@ -13,6 +13,7 @@ App.Interact.UseGuard = function(slave) {
 	let boy = pronouns.noun;
 	let He = capFirstChar(he);
 	let His = capFirstChar(his);
+	/* eslint-enable */
 	
 	r = `${slave.slaveName} is standing behind your left shoulder, guarding your person. `;
 	switch (slave.clothes) {
@@ -275,4 +276,4 @@ App.Interact.UseGuard = function(slave) {
 	}
 	return r;
 }
-/* CLOSE USEGUARD */
\ No newline at end of file
+/* CLOSE USEGUARD */
diff --git a/src/js/descriptionWidgets.js b/src/js/descriptionWidgets.js
index d136c799021..22012a6c3b2 100644
--- a/src/js/descriptionWidgets.js
+++ b/src/js/descriptionWidgets.js
@@ -1094,4 +1094,4 @@ App.Desc.waist = /** @param {App.Entity.SlaveState} slave */ function (slave) {
 		}
 	}
 	return r;
-}
\ No newline at end of file
+}
-- 
GitLab