provide type support for .eslintrc.js #2488
Labels
package: utils
Issues related to the @typescript-eslint/utils package
triage
Waiting for maintainers to take a look
I really appreciate my IDE's suggestions and intellisense, and it always bugged me that the
eslintrc
had no support.Today I found that the basic structure of the
eslintrc
format is present inLinter.ts
so today I added this to my.eslintrc.js
for my personal repo:This internal type doesn't contain any rule information but I think an official version of this would be desirable:
generate-configs.ts
(code that produces above message)
As well with namespace merging it should be possible to provide an easy way for other packages to define a
.d.ts
file to define their own rule options, something like this would be useful:I think there might be a way to allow this without polluting the global namespace but it'd require some investigation.
In any case I do think this is worth some consideration and I am more than happy to implement It.
The text was updated successfully, but these errors were encountered: