]> Untitled Git - lemmy-ui.git/commitdiff
chore(DX): Add prettier to eslint config for use with editors
authorJay Sitter <jay@jaysitter.com>
Mon, 26 Jun 2023 14:37:21 +0000 (10:37 -0400)
committerJay Sitter <jay@jaysitter.com>
Mon, 26 Jun 2023 22:30:31 +0000 (18:30 -0400)
.eslintrc.json

index 81257cb39f26a2d5bb480ef04f2ac8deedb85a66..ad777401f402347ff25f9f9efa80dfee05fa4cd2 100644 (file)
@@ -3,7 +3,7 @@
   "env": {
     "browser": true
   },
-  "plugins": ["@typescript-eslint", "jsx-a11y"],
+  "plugins": ["@typescript-eslint", "jsx-a11y", "prettier"],
   "extends": [
     "eslint:recommended",
     "plugin:@typescript-eslint/recommended",
@@ -41,6 +41,7 @@
     "no-var": 0,
     "prefer-const": 1,
     "prefer-rest-params": 0,
+    "prettier/prettier": "error",
     "quote-props": 0,
     "unicorn/filename-case": 0
   }