aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eslint.config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 0000000..356b47b
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,11 @@
+// eslint.config.js
+const { defineConfig } = require("eslint/config");
+
+module.exports = defineConfig([
+ {
+ rules: {
+ semi: "error",
+ "prefer-const": "error",
+ },
+ },
+]);