stylelint / jest-preset-stylelint

Common configuration options for Jest in Stylelint environments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add JSDoc for testRule

hudochenkov opened this issue · comments

For better editor integration (especially VS Code) I would like to add JSDoc to a testRule. This way editor would help working with testRule with useful autocomplete.

After wondering around it a bit, we might need to provide stylelint first-party TypeScript declarations (stylelint/stylelint#4399) and setup TypeScript.

After wondering around it a bit

It's great to see this started.

we might need to provide stylelint first-party TypeScript declarations (stylelint/stylelint#4399)

This seems like an ideal time to do that as we'll be dogfooding in this repository our own exported declarations.

I'll try to look into it coming week.