diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-22 16:07:04 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-05-04 16:21:39 +0200 |
commit | 7fed637506043e4432cbebe041ada0625171cceb (patch) | |
tree | 07f174e17c4b4a0b3d43a0fa6944865c06234338 /.eslintrc.json | |
parent | 8d4197637868d5cde49434e937186b57e40f4b2b (diff) | |
download | PeerTube-7fed637506043e4432cbebe041ada0625171cceb.tar.gz PeerTube-7fed637506043e4432cbebe041ada0625171cceb.tar.zst PeerTube-7fed637506043e4432cbebe041ada0625171cceb.zip |
Begin auth plugin support
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 8160753bd..9b578b186 100644 --- a/.eslintrc.json +++ b/.eslintrc.json | |||
@@ -63,6 +63,13 @@ | |||
63 | "allowNumber": "true" | 63 | "allowNumber": "true" |
64 | } | 64 | } |
65 | ], | 65 | ], |
66 | "@typescript-eslint/no-this-alias": [ | ||
67 | "error", | ||
68 | { | ||
69 | "allowDestructuring": true, // Allow `const { props, state } = this`; false by default | ||
70 | "allowedNames": ["self"] // Allow `const self = this`; `[]` by default | ||
71 | } | ||
72 | ], | ||
66 | 73 | ||
67 | "@typescript-eslint/return-await": "off", | 74 | "@typescript-eslint/return-await": "off", |
68 | "@typescript-eslint/no-base-to-string": "off", | 75 | "@typescript-eslint/no-base-to-string": "off", |