diff --git a/.prettierignore b/.prettierignore index c01534b0..2119df94 100644 --- a/.prettierignore +++ b/.prettierignore @@ -21,5 +21,6 @@ yarn.lock .editorconfig .eslintignore .gitattributes +.browserslistrc *.css diff --git a/client/components/MessageTypes/topic.vue b/client/components/MessageTypes/topic.vue index 18c066d4..7ec96e95 100644 --- a/client/components/MessageTypes/topic.vue +++ b/client/components/MessageTypes/topic.vue @@ -3,9 +3,7 @@ - + diff --git a/client/js/socket-events/quit.js b/client/js/socket-events/quit.js index 2ee34bdd..6dea3d45 100644 --- a/client/js/socket-events/quit.js +++ b/client/js/socket-events/quit.js @@ -6,7 +6,10 @@ const sidebar = $("#sidebar"); const {vueApp} = require("../vue"); socket.on("quit", function(data) { - vueApp.networks.splice(vueApp.networks.findIndex((n) => n.uuid === data.network), 1); + vueApp.networks.splice( + vueApp.networks.findIndex((n) => n.uuid === data.network), + 1 + ); vueApp.$nextTick(() => { const chan = sidebar.find(".chan"); diff --git a/test/client/js/libs/handlebars/ircmessageparser/fill.js b/test/client/js/libs/handlebars/ircmessageparser/fill.js index a046a452..10edb5aa 100644 --- a/test/client/js/libs/handlebars/ircmessageparser/fill.js +++ b/test/client/js/libs/handlebars/ircmessageparser/fill.js @@ -7,7 +7,10 @@ describe("fill", () => { const text = "01234567890123456789"; it("should return an entry for the unmatched end of string", () => { - const existingEntries = [{start: 0, end: 10}, {start: 5, end: 15}]; + const existingEntries = [ + {start: 0, end: 10}, + {start: 5, end: 15}, + ]; const expected = [{start: 15, end: 20}]; @@ -17,9 +20,15 @@ describe("fill", () => { }); it("should return an entry per unmatched areas of the text", () => { - const existingEntries = [{start: 0, end: 5}, {start: 10, end: 15}]; + const existingEntries = [ + {start: 0, end: 5}, + {start: 10, end: 15}, + ]; - const expected = [{start: 5, end: 10}, {start: 15, end: 20}]; + const expected = [ + {start: 5, end: 10}, + {start: 15, end: 20}, + ]; const actual = fill(existingEntries, text); @@ -27,7 +36,10 @@ describe("fill", () => { }); it("should not return anything when entries match all text", () => { - const existingEntries = [{start: 0, end: 10}, {start: 10, end: 20}]; + const existingEntries = [ + {start: 0, end: 10}, + {start: 10, end: 20}, + ]; const actual = fill(existingEntries, text); diff --git a/test/src/command-line/utilsTest.js b/test/src/command-line/utilsTest.js index 47f9aace..bd6b97ce 100644 --- a/test/src/command-line/utilsTest.js +++ b/test/src/command-line/utilsTest.js @@ -117,9 +117,9 @@ describe("Utils", function() { }); it("should maintain existing properties of a nested object", function() { - expect(Utils.parseConfigOptions("foo.bar=true", {foo: {baz: false}})).to.deep.equal( - {foo: {bar: true, baz: false}} - ); + expect( + Utils.parseConfigOptions("foo.bar=true", {foo: {baz: false}}) + ).to.deep.equal({foo: {bar: true, baz: false}}); }); it("should maintain existing entries of an array", function() {