eslint-plugin-unicorn icon indicating copy to clipboard operation
eslint-plugin-unicorn copied to clipboard

Export types for use in flat configs

Open Logicer16 opened this issue 7 months ago • 0 comments

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.

Logicer16 avatar Dec 29 '23 05:12 Logicer16