Get this in VSCode: [Warn - 9:39:59 PM] Linting file file:///home/den/work/convex-test1/convex/db/users.ts took 7439ms. Please check the ESLint rules for performance issues.
Output of eslint with --debug:
...
eslint:eslint Lint /home/den/work/convex-test1/convex/db/users.ts +3ms
eslint:linter Linting code for /home/den/work/convex-test1/convex/db/users.ts (pass 1) +0ms
eslint:linter Verify +0ms
eslint:linter With flat config: /home/den/work/convex-test1/convex/db/users.ts +0ms
eslint:languages:js Parsing: /home/den/work/convex-test1/convex/db/users.ts +0ms
eslint:languages:js Parsing successful: /home/den/work/convex-test1/convex/db/users.ts +2s (!!!!)
eslint:languages:js Scope analysis: /home/den/work/convex-test1/convex/db/users.ts +1ms
eslint:languages:js Scope analysis successful: /home/den/work/convex-test1/convex/db/users.ts +0ms
eslint:linter Generating fixed text for /home/den/work/convex-test1/convex/db/users.ts (pass 1) +4s (!!!!)
eslint:source-code-fixer Applying fixes +0ms
eslint:source-code-fixer shouldFix parameter was false, not attempting fixes +1ms
...
Is it possible to improve linting speed for convex TS files?
Code: https://playcode.io/2379520
Try this online TypeScript Playground playground with instant live preview and console. Easy & Fast. Experiment yourself.