Closed pauliesnug closed 3 months ago
The distributed files still include the jsdoc style comments in the dist/index.d.ts
file, no? That's what my editor is using to provide intellisense for the @antfu/eslint-config
package when I hover or autocomplete when I start typing.
Are you seeing something different? I'm on v2.20.0
.
The distributed files still include the jsdoc style comments in the
dist/index.d.ts
file, no? That's what my editor is using to provide intellisense for the@antfu/eslint-config
package when I hover or autocomplete when I start typing.Are you seeing something different? I'm on
v2.20.0
.
Hmm... I also see them in the dist/index.d.ts
, but for some reason VSCode isn't adding inlay hints from them.
Describe the bug
When the package is built, all comments including descriptions of features and rules, as well as documentation/jsdoc of the
antfu
factory are stripped. This impacts the ability to configure the config, but also reduces package size. Is this intentional?Reproduction
Install
@antfu/eslint-config
and look at the typings in hover menu.System Info
Used Package Manager
n/a
Validations
Contributions