From 2da866f982930c76d2317a3be426410683ecf5a2 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 19 Feb 2024 07:30:17 -0500 Subject: Update eslint rules (#710) --- .eslintrc.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.eslintrc.json') 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", -- cgit v1.2.3