diff --git a/commitlint.config.js b/commitlint.config.js
index 118df64..8f04e00 100644
--- a/commitlint.config.js
+++ b/commitlint.config.js
@@ -1,3 +1,5 @@
+"use strict";
+
module.exports = {
extends: ["@commitlint/config-conventional"]
};
diff --git a/index.d.ts b/index.d.ts
index 84a1be9..2b00f24 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,3 +1,5 @@
+///
+
declare namespace IHM {
interface i18n {
format: string;
diff --git a/index.js b/index.js
index 34cbaeb..19da671 100644
--- a/index.js
+++ b/index.js
@@ -1,3 +1,5 @@
+"use strict";
+
// Required Third-Party Dependencies
const Addon = require("@slimio/addon");
diff --git a/public/components/searchbar.js b/public/components/searchbar.js
index 26bdfb3..547d9c4 100644
--- a/public/components/searchbar.js
+++ b/public/components/searchbar.js
@@ -1,10 +1,13 @@
+"use strict";
+/* eslint-disable jsdoc/require-jsdoc */
+
/**
* @class SearchBar
- * @extneds HTMLElement
+ * @augments HTMLElement
*/
class SearchBar extends HTMLElement {
/**
- * @constructor
+ * @class SearchBar
*/
constructor() {
super();
diff --git a/public/components/widget.js b/public/components/widget.js
index ce883aa..95a2af2 100644
--- a/public/components/widget.js
+++ b/public/components/widget.js
@@ -1,10 +1,13 @@
+"use strict";
+/* eslint-disable jsdoc/require-jsdoc */
+
/**
* @class Widget
- * @extneds HTMLElement
+ * @augments HTMLElement
*/
class Widget extends HTMLElement {
/**
- * @constructor
+ * @class Widget
*/
constructor() {
super();
diff --git a/public/js/master.js b/public/js/master.js
index 16064c7..23a7670 100644
--- a/public/js/master.js
+++ b/public/js/master.js
@@ -1,3 +1,6 @@
+"use strict";
+/* eslint-disable jsdoc/require-jsdoc */
+
// TODO: Remove executors... (they are not good for flexibility).
// Keep it simple
diff --git a/public/js/utils.js b/public/js/utils.js
index 41d0057..45b29f7 100644
--- a/public/js/utils.js
+++ b/public/js/utils.js
@@ -1,3 +1,6 @@
+"use strict";
+/* eslint-disable jsdoc/require-jsdoc */
+
function formatDate(date = new Date(), local = "en-GB") {
// eslint-disable-next-line
return Intl.DateTimeFormat(local, {
diff --git a/src/bodyParser.js b/src/bodyParser.js
index bef87f3..bb4bea9 100644
--- a/src/bodyParser.js
+++ b/src/bodyParser.js
@@ -1,3 +1,5 @@
+"use strict";
+
// Require Node.js Dependencies
const queryString = require("querystring");
diff --git a/src/httpServer.js b/src/httpServer.js
index 63474c6..ca4c329 100644
--- a/src/httpServer.js
+++ b/src/httpServer.js
@@ -1,3 +1,5 @@
+"use strict";
+
// Require Node.js dependencies
const { join } = require("path");
const { readFile } = require("fs").promises;
@@ -16,6 +18,12 @@ const i18n = require("../i18n/english.json");
const PUBLIC_DIR = join(__dirname, "..", "public");
const VIEWS_DIR = join(__dirname, "..", "views");
+/**
+ * @async
+ * @function getActivityOverview
+ * @param {Addon} ihm ihm addon
+ * @returns {Promise}
+ */
async function getActivityOverview(ihm) {
const [entity, desc, summary] = await Promise.all([
ihm.sendOne("events.get_entity_by_id", [1]),
diff --git a/test/test.js b/test/test.js
index 1f80526..78f6c7f 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,3 +1,5 @@
+"use strict";
+
// Require Third-party Dependencies
const avaTest = require("ava");