X-Git-Url: http://these/git/?a=blobdiff_plain;f=.eslintrc.json;h=ad777401f402347ff25f9f9efa80dfee05fa4cd2;hb=f6cbc896afd120ea6b41c230675267ab319591df;hp=f82e6b0610115d2a2712743bcd633319ee6cee3e;hpb=5ed7352359a4093a11cf2eb7bc7ae9a828381e83;p=lemmy-ui.git diff --git a/.eslintrc.json b/.eslintrc.json index f82e6b0..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,14 +21,6 @@ "@typescript-eslint/explicit-module-boundary-types": 0, "@typescript-eslint/no-empty-function": 0, "arrow-body-style": 0, - "jsx-a11y/alt-text": 1, - "jsx-a11y/anchor-is-valid": 1, - "jsx-a11y/aria-activedescendant-has-tabindex": 1, - "jsx-a11y/aria-role": 1, - "jsx-a11y/click-events-have-key-events": 1, - "jsx-a11y/interactive-supports-focus": 1, - "jsx-a11y/no-static-element-interactions": 1, - "jsx-a11y/role-has-required-aria-props": 1, "curly": 0, "eol-last": 0, "eqeqeq": 0, @@ -49,6 +41,7 @@ "no-var": 0, "prefer-const": 1, "prefer-rest-params": 0, + "prettier/prettier": "error", "quote-props": 0, "unicorn/filename-case": 0 }