From: Jay Sitter Date: Mon, 26 Jun 2023 14:37:21 +0000 (-0400) Subject: chore(DX): Add prettier to eslint config for use with editors X-Git-Url: http://these/git/%7B%60https:/%7BpictrsAvatarThumbnail%28user.avatar%29%7D?a=commitdiff_plain;h=17710d492cc849ea7faa8ca8e34994ae7229cbaa;p=lemmy-ui.git chore(DX): Add prettier to eslint config for use with editors --- diff --git a/.eslintrc.json b/.eslintrc.json index 81257cb..ad77740 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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 }