Skip to content

Conversation

@dynst
Copy link
Contributor

@dynst dynst commented Jul 9, 2025

This deletes the tsconfig.eslint.json files from #788. JavaScript files shouldn't be in a tsconfig.json and typescript-eslint v8 will pretend they aren't there (leading to errors).

.js files should use the default "espree" parser instead. Since it's not a TypeScript parser, a modern ecmaVersion is needed to enable parsing this syntax.

const interactiveTimeout = 120_000;

And remove references to these:

https://typescript-eslint.io/rules/no-dupe-class-members
https://typescript-eslint.io/rules/ban-types/

dynst added 4 commits July 9, 2025 22:16
@typescript-eslint/ban-types is deprecated in v8.

no-dupe-class-members isn't recommended, it's redundant with
the typescript compiler.

letting naming-convention lint run on this file doesn't produce any
errors.
including JS files in a tsconfig was a strange hack that won't
even work anymore, it looks like @typescript-eslint/parser v8
refuses to acknowledge the .js files.

move tsconfig.workers.json and let autodetection magic work.
@dynst dynst force-pushed the eslint-ts8-prep branch 2 times, most recently from 8f399ec to 4bfb975 Compare July 10, 2025 12:22
@webmaster128 webmaster128 merged commit 10e1b1a into cosmos:main Jul 16, 2025
16 checks passed
@dynst dynst mentioned this pull request Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants