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

Bug: no type definitions for eslint flat config #157

Closed
1 task
TheElegantCoding opened this issue May 4, 2024 · 3 comments · Fixed by #159
Closed
1 task

Bug: no type definitions for eslint flat config #157

TheElegantCoding opened this issue May 4, 2024 · 3 comments · Fixed by #159
Labels

Comments

@TheElegantCoding
Copy link

What version of eslint-plugin-security are you using?

3.0.0

ESLint Environment

Node version:
npm version:
Local ESLint version:
Global ESLint version:
Operating System:

What parser are you using?

@typescript-eslint/parser

What did you do?

image

What did you expect to happen?

plugin should have an export type

What actually happened?

give error of declaration export type and return any

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

@nzakas
Copy link
Contributor

nzakas commented May 6, 2024

Not a bug, we've never had type definitions exported. Very low priority at the moment, so if you'd like to submit a pull request to add type checking, please feel free.

@rhysd
Copy link
Contributor

rhysd commented May 16, 2024

Hey, I submitted @types/eslint-plugin-security yesterday so you can use it for type checking.

https://www.npmjs.com/package/@types/eslint-plugin-security

@TheElegantCoding
Copy link
Author

@rhysd Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants