about summary refs log tree commit diff
path: root/users/Profpatsch/declib/.eslintrc.json
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-02-11T16·31+0100
committerProfpatsch <mail@profpatsch.de>2024-02-11T16·38+0000
commit80c683c9ecf0129b5468028856a1443d87c6c64a (patch)
tree1e83ff04313ed98c6ae60edcc38a525ec63f065f /users/Profpatsch/declib/.eslintrc.json
parentd2e3f8cd7bd4599f5d7e57b0887eff922d5e4a44 (diff)
feat(declib): initial mastodon bot experiment r/7499
No default.nix yet, just for development.

Change-Id: Ib8bd0057d697fecd083d5961e635c770b7638e08
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10803
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/declib/.eslintrc.json')
-rw-r--r--users/Profpatsch/declib/.eslintrc.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/users/Profpatsch/declib/.eslintrc.json b/users/Profpatsch/declib/.eslintrc.json
new file mode 100644
index 000000000000..9cffc711dbd1
--- /dev/null
+++ b/users/Profpatsch/declib/.eslintrc.json
@@ -0,0 +1,14 @@
+{
+  "extends": ["eslint:recommended", "plugin:@typescript-eslint/strict-type-checked"],
+  "parser": "@typescript-eslint/parser",
+  "plugins": ["@typescript-eslint"],
+  "parserOptions": {
+    "project": true
+  },
+  "root": true,
+  "rules": {
+    "no-unused-vars": "warn",
+    "prefer-const": "warn",
+    "@typescript-eslint/no-unused-vars": "warn"
+  }
+}