diff options
author | Florent <florent.git@zeteo.me> | 2022-08-06 15:20:43 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-08-08 08:25:36 +0200 |
commit | 7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 (patch) | |
tree | a44a68f32dafb3ff3b4a6b1a88f7718423d676b9 /.eslintrc.json | |
parent | 2c9c6e653e896b9815b360bd566a657999fffb31 (diff) | |
download | PeerTube-7e0f50d6e0c7dc583d40e196c283eb20dc386ae6.tar.gz PeerTube-7e0f50d6e0c7dc583d40e196c283eb20dc386ae6.tar.zst PeerTube-7e0f50d6e0c7dc583d40e196c283eb20dc386ae6.zip |
Use single quotes in server/ and update eslint rules
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index c2dd2fc44..770913bf1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json | |||
@@ -38,6 +38,7 @@ | |||
38 | } | 38 | } |
39 | } | 39 | } |
40 | ], | 40 | ], |
41 | "quotes": "off", | ||
41 | "@typescript-eslint/indent": [ | 42 | "@typescript-eslint/indent": [ |
42 | "error", | 43 | "error", |
43 | 2, | 44 | 2, |
@@ -78,7 +79,14 @@ | |||
78 | "@typescript-eslint/dot-notation": "off", | 79 | "@typescript-eslint/dot-notation": "off", |
79 | "@typescript-eslint/method-signature-style": "off", | 80 | "@typescript-eslint/method-signature-style": "off", |
80 | "@typescript-eslint/no-base-to-string": "off", | 81 | "@typescript-eslint/no-base-to-string": "off", |
81 | "@typescript-eslint/quotes": "off", | 82 | "@typescript-eslint/quotes": [ |
83 | "error", | ||
84 | "single", | ||
85 | { | ||
86 | "avoidEscape": true, | ||
87 | "allowTemplateLiterals": true | ||
88 | } | ||
89 | ], | ||
82 | "@typescript-eslint/no-var-requires": "off", | 90 | "@typescript-eslint/no-var-requires": "off", |
83 | "@typescript-eslint/explicit-function-return-type": "off", | 91 | "@typescript-eslint/explicit-function-return-type": "off", |
84 | "@typescript-eslint/promise-function-async": "off", | 92 | "@typescript-eslint/promise-function-async": "off", |