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%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/hacktivis.me/%7BinboxRss%7D?a=commitdiff_plain;h=dce70e37d61af08e4173f224b29fd0f17aba7669;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 }