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/%24%7Bsubmission.url%7D?a=commitdiff_plain;h=91122f4061d7204e2823d7f11b1414e8bf24237e;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 }