diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-16 11:56:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-16 11:56:58 +0100 |
commit | e65ef81cf51746616182a822bd6933bf0d16717a (patch) | |
tree | ff9e715b50eb690b8fbb5263cf1371d9f8103ff1 /.eslintrc.json | |
parent | 5bfe684e76d32a7745671635f8a75f932bd522e4 (diff) | |
download | PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.gz PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.zst PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.zip |
Update server dependencies
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 770913bf1..df9284882 100644 --- a/.eslintrc.json +++ b/.eslintrc.json | |||
@@ -104,7 +104,26 @@ | |||
104 | "@typescript-eslint/require-await": "error", | 104 | "@typescript-eslint/require-await": "error", |
105 | 105 | ||
106 | // bugged but useful | 106 | // bugged but useful |
107 | "@typescript-eslint/restrict-plus-operands": "off" | 107 | "@typescript-eslint/restrict-plus-operands": "off", |
108 | |||
109 | // Requires strictNullChecks | ||
110 | "@typescript-eslint/prefer-nullish-coalescing": "off", | ||
111 | "@typescript-eslint/consistent-type-imports": "off", | ||
112 | "@typescript-eslint/consistent-indexed-object-style": "off", | ||
113 | "@typescript-eslint/no-confusing-void-expression": "off", | ||
114 | "@typescript-eslint/consistent-type-exports": "off", | ||
115 | "@typescript-eslint/key-spacing": "off", | ||
116 | |||
117 | "@typescript-eslint/ban-types": [ | ||
118 | "error", | ||
119 | { | ||
120 | "types": { | ||
121 | "{}": false, | ||
122 | "Function": false | ||
123 | }, | ||
124 | "extendDefaults": true | ||
125 | } | ||
126 | ] | ||
108 | }, | 127 | }, |
109 | "ignorePatterns": [ | 128 | "ignorePatterns": [ |
110 | "node_modules/" | 129 | "node_modules/" |