X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=.eslintrc.json;h=770913bf103e6ead70beca46f52267cf179a9c16;hb=7ad9c13e59c6c209d408b798df9437fdc2b252d6;hp=c2dd2fc446c9c7483d6b26af20dc40af2e711c4b;hpb=ba2684ceddf9b76312635b9cddc6bf6975ce436a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.eslintrc.json b/.eslintrc.json index c2dd2fc44..770913bf1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -38,6 +38,7 @@ } } ], + "quotes": "off", "@typescript-eslint/indent": [ "error", 2, @@ -78,7 +79,14 @@ "@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",