diff --git a/eslint.config.mjs b/eslint.config.mjs
index 3c8ee53..64649cb 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,7 +1,10 @@
const browserGlobals = {
+ btoa: "readonly",
crypto: "readonly",
document: "readonly",
fetch: "readonly",
+ localStorage: "readonly",
+ sessionStorage: "readonly",
TextEncoder: "readonly",
URL: "readonly",
URLSearchParams: "readonly",
@@ -11,10 +14,14 @@ const browserGlobals = {
const nodeGlobals = {
Buffer: "readonly",
console: "readonly",
- module: "readonly",
+ fetch: "readonly",
process: "readonly",
- require: "readonly",
- __dirname: "readonly",
+};
+
+const testGlobals = {
+ ...nodeGlobals,
+ Map: "readonly",
+ Set: "readonly",
};
export default [
@@ -22,8 +29,12 @@ export default [
files: ["server.js", "test/**/*.js"],
languageOptions: {
ecmaVersion: 2023,
- sourceType: "commonjs",
- globals: nodeGlobals,
+ sourceType: "module",
+ globals: testGlobals,
+ },
+ rules: {
+ "no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
+ semi: ["error", "always"],
},
},
{
@@ -33,5 +44,9 @@ export default [
sourceType: "module",
globals: browserGlobals,
},
+ rules: {
+ "no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
+ semi: ["error", "always"],
+ },
},
];
diff --git a/index.html b/index.html
index b6b00fb..a32ffba 100644
--- a/index.html
+++ b/index.html
@@ -1,9 +1,31 @@
-
+
TaskForge — open-source task tracker
+
@@ -12,13 +34,23 @@
TaskForge
A tiny task list that lives in your browser.
-
-
![]()
-
- Tasks are stored on this device.
-
-