aboutsummaryrefslogtreecommitdiffhomepage
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json7
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",