aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-19 07:30:17 -0500
committerGitHub <noreply@github.com>2024-02-19 12:30:17 +0000
commit2da866f982930c76d2317a3be426410683ecf5a2 (patch)
treee77ce545177ba398068cb63037096a56dea04e2c /.eslintrc.json
parent65fa65fc7765bc9a6557d3ce6f8bdcef5b5e0cf7 (diff)
Update eslint rules (#710)
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 8147659f..d3509d85 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -74,8 +74,8 @@
"no-implied-eval": "error",
"no-new": "error",
"no-new-native-nonconstructor": "error",
- "no-octal": "off",
- "no-octal-escape": "off",
+ "no-octal": "error",
+ "no-octal-escape": "error",
"no-param-reassign": "off",
"no-promise-executor-return": "error",
"no-prototype-builtins": "error",
@@ -394,9 +394,9 @@
"plugin:@typescript-eslint/recommended-type-checked"
],
"rules": {
- "@typescript-eslint/no-floating-promises": "off",
+ "@typescript-eslint/no-floating-promises": ["error", {"ignoreIIFE": true}],
"@typescript-eslint/no-misused-promises": "off",
- "@typescript-eslint/no-redundant-type-constituents": "off",
+ "@typescript-eslint/no-redundant-type-constituents": "error",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",