From e2c491088e7e0074a1fe17703564fe6643ae3d38 Mon Sep 17 00:00:00 2001 From: MareStare Date: Tue, 18 Mar 2025 23:11:13 +0000 Subject: [PATCH] Add `assert` as an function that "asserts" to eslint config --- assets/eslint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/eslint.config.js b/assets/eslint.config.js index aaae607d..51715805 100644 --- a/assets/eslint.config.js +++ b/assets/eslint.config.js @@ -294,7 +294,7 @@ export default tsEslint.config( 'error', { // Custom `expectStuff()` functions must also count as assertions. - assertFunctionNames: ['expect*', '*.expect*'], + assertFunctionNames: ['expect*', '*.expect*', 'assert*'], }, ], },