Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support typescript for node object #360

Open
ofir-rifo opened this issue Aug 18, 2024 · 1 comment
Open

Support typescript for node object #360

ofir-rifo opened this issue Aug 18, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@ofir-rifo
Copy link

Thanks for awesome library 😁
I created a custom eslint rule using this package to lint json files.

I have similar code to what you have in this file lib/rules/key-name-casing.ts
return { JSONProperty(node) {

But my code doesn't recognize the node type and I need to use any.
Can you please add types ?

@ota-meshi
Copy link
Owner

I'm not sure what needs to be exposed to get it to type check properly.
Would you consider opening a PR?

@ota-meshi ota-meshi added the help wanted Extra attention is needed label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants