Export types for use in flat configs
Logicer16 opened this issue · comments
Logicer commented
The flat eslint config format imports plugins as modules. This now allows typing to be enforced in these config files.
To help users avoid having issues like ts(7016), type definitions should be included in this plugin or distributed through DefinitelyTyped. Examples can be found in @eslint/js, eslint-plugin-prettier (1) (2), and eslint-plugin-n.