aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2025-08-16 06:46:45 +0200
committerache <ache@ache.one>2025-08-16 06:46:45 +0200
commitabcbc90c67244e990033ad2aac4cc66eedbe76d8 (patch)
treead2a2766bea3a8b905c6e1b1f6ecd7096c0ec612
parentUpdate plugin version (diff)
Add linter rules🪵
-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",
+ },
+ },
+]);