X-Git-Url: http://these/git/?a=blobdiff_plain;f=.eslintrc.json;h=ea26ba3be937482ec04a35f18777ca9bfa6943a7;hb=refs%2Fheads%2Fmain;hp=ad777401f402347ff25f9f9efa80dfee05fa4cd2;hpb=91122f4061d7204e2823d7f11b1414e8bf24237e;p=lemmy-ui.git diff --git a/.eslintrc.json b/.eslintrc.json index ad77740..ea26ba3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -20,10 +20,11 @@ "@typescript-eslint/no-explicit-any": 0, "@typescript-eslint/explicit-module-boundary-types": 0, "@typescript-eslint/no-empty-function": 0, + "@typescript-eslint/no-non-null-assertion": 0, "arrow-body-style": 0, "curly": 0, "eol-last": 0, - "eqeqeq": 0, + "eqeqeq": "error", "func-style": 0, "import/no-duplicates": 0, "max-statements": 0, @@ -39,7 +40,7 @@ "no-useless-constructor": 0, "no-useless-escape": 0, "no-var": 0, - "prefer-const": 1, + "prefer-const": "error", "prefer-rest-params": 0, "prettier/prettier": "error", "quote-props": 0,