X-Git-Url: http://these/git/?a=blobdiff_plain;f=.eslintrc.json;h=ad777401f402347ff25f9f9efa80dfee05fa4cd2;hb=a67c70a449cd92d2e2c7d9b7bca33aed5896f8f1;hp=42c7b5863a36d5059b62d3c6594df8cbe4f12068;hpb=c7aa92706b7b7cf99d38f78336f6caa287a107f1;p=lemmy-ui.git diff --git a/.eslintrc.json b/.eslintrc.json index 42c7b58..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", @@ -21,10 +21,6 @@ "@typescript-eslint/explicit-module-boundary-types": 0, "@typescript-eslint/no-empty-function": 0, "arrow-body-style": 0, - "jsx-a11y/anchor-is-valid": 1, - "jsx-a11y/aria-role": 1, - "jsx-a11y/click-events-have-key-events": 1, - "jsx-a11y/no-static-element-interactions": 1, "curly": 0, "eol-last": 0, "eqeqeq": 0, @@ -45,6 +41,7 @@ "no-var": 0, "prefer-const": 1, "prefer-rest-params": 0, + "prettier/prettier": "error", "quote-props": 0, "unicorn/filename-case": 0 }