You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/core/tests/*.test.ts are not linted at all. src/core/eslint.config.js lists tests/ in its ignore patterns, because the tsconfig it passes as parserOptions.project (tsconfig.browser.json) excludes tests, and linting a file outside that project fails with "The file was not found in any of the provided project(s)".
The ignore keeps the pre-commit hook passing but leaves the core tests unchecked.
Fix
Do what src/app and src/diagram already do: add a tsconfig.tests.json that extends the package tsconfig, includes tests/, and sets noEmit; pass both tsconfigs as project, and remove tests/ from the ignore list.
Alternative: if #892 decides to drop parserOptions.project, removing tests/ from the ignore list is enough.
Activity
[-]core: tsconfig.json excludes test files, breaking eslint[/-][+]core: test files are excluded from lint[/+]