Add assert as an function that "asserts" to eslint config

This commit is contained in:
MareStare 2025-03-18 23:11:13 +00:00
parent 79c611a6f9
commit e2c491088e

View file

@ -294,7 +294,7 @@ export default tsEslint.config(
'error',
{
// Custom `expectStuff()` functions must also count as assertions.
assertFunctionNames: ['expect*', '*.expect*'],
assertFunctionNames: ['expect*', '*.expect*', 'assert*'],
},
],
},