Closed burtek closed 1 week ago
Thanks for reporting this problem @burtek. I can confirm that the configs
property of the plugin is currently typed as an empty object. I've submitted a pull request that shoul fix the types: #59.
@fasttime btw, same probably needs to be done in eslint/markdown repo (https://github.com/eslint/markdown/blob/main/src/index.js), but I'm not using it so just mentioning it
@burtek yes, we should fix also eslint/markdown and eslint/css. I'll take care of that.
Environment
ESLint version: 9.14.0 @eslint/json version: 0.6.0 Node version: 20.9.0 npm version: 10.1.0 Operating System: LMDE 6, kernel 6.1.0-26-amd64
What problem do you want to solve?
The json plugin typings is wrong as it exports
config
property as{}
This causes errors in IDE:What do you think is the correct solution?
The
configs
property of the plugin should be typed correctly.Participation
Additional comments
No response