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/%22%7Burl%7D/static/%7B%7D/readmes/%24%7Bargs.pageFn.jump%20n%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 }