diff options
| author | A.J. Shulman <Shulman.aj@gmail.com> | 2024-09-05 11:40:24 -0400 |
|---|---|---|
| committer | A.J. Shulman <Shulman.aj@gmail.com> | 2024-09-05 11:40:24 -0400 |
| commit | c1053475810a1b1b3a9963c3f1ef0b1a9509d222 (patch) | |
| tree | 41da9f26592ba7f189f8d00536435182e38272da /.eslintrc.json | |
| parent | 785e55141cab178a761080f5c99384bb19855969 (diff) | |
| parent | 9014cc474a039f0daef6cc0ee2011329da7703ac (diff) | |
merged with master
Diffstat (limited to '.eslintrc.json')
| -rw-r--r-- | .eslintrc.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 2e4da56b8..aba260657 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -39,7 +39,8 @@ "node/no-unsupported-features/es-syntax": ["error", { "ignores": ["modules"] }], "react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }], "import/prefer-default-export": "off", - "no-unused-expressions": "off", + "no-unused-expressions": "warn", + "@typescript-eslint/no-unused-expressions": "warn", "prefer-template": "off", "no-inner-declarations": "off", "no-plusplus": "off", @@ -47,7 +48,7 @@ "no-underscore-dangle": "off", "no-nested-ternary": "off", "lines-between-class-members": "off", - "no-explicit-any": "off", + "no-explicit-any": "on", // Note: you must disable the base rule as it can report incorrect errors "no-shadow": "off", "@typescript-eslint/no-shadow": "warn", |
