]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .eslintrc.json
Translated using Weblate (French (France) (fr_FR))
[github/Chocobozzz/PeerTube.git] / .eslintrc.json
index c7597cef3dbe5bc45c3b41f4f2c3889a8d60b8d1..770913bf103e6ead70beca46f52267cf179a9c16 100644 (file)
         }
       }
     ],
+    "quotes": "off",
     "@typescript-eslint/indent": [
       "error",
       2,
       {
         "SwitchCase": 1,
-        "MemberExpression": "off"
+        "MemberExpression": "off",
+        // https://github.com/eslint/eslint/issues/15299
+        "ignoredNodes": ["PropertyDefinition"]
       }
     ],
     "@typescript-eslint/consistent-type-assertions": [
     "@typescript-eslint/dot-notation": "off",
     "@typescript-eslint/method-signature-style": "off",
     "@typescript-eslint/no-base-to-string": "off",
-    "@typescript-eslint/quotes": "off",
+    "@typescript-eslint/quotes": [
+        "error",
+        "single",
+        {
+            "avoidEscape": true,
+            "allowTemplateLiterals": true
+        }
+    ],
     "@typescript-eslint/no-var-requires": "off",
     "@typescript-eslint/explicit-function-return-type": "off",
     "@typescript-eslint/promise-function-async": "off",
     "node_modules/"
   ],
   "parserOptions": {
+    "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true,
     "project": [
       "./tsconfig.json",
       "./shared/tsconfig.json",