diff --git a/.eslintrc.js b/.eslintrc.json similarity index 96% rename from .eslintrc.js rename to .eslintrc.json index 5ebff4775e525bc98809f5fce68c094dac623345..7daf6f00e69f86e53b5fd8bffe4c0e3191a0f01e 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 0d09ceb2786632ae8b6170829da604ad0241a31a..163dc22b62c767ae656f9cfd4903c35ec96d88c3 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 d136c7990218b02821f81925cfea7b4182030152..22012a6c3b2ad809839bff434aaa2e0fb2a11937 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 +}