eslint-community / eslint-plugin-security

ESLint rules for Node Security
Apache License 2.0
2.22k stars 109 forks source link

Bug: no type definitions for eslint flat config #157

Closed TheElegantCoding closed 6 months ago

TheElegantCoding commented 6 months ago

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

Additional comments

No response

nzakas commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

@rhysd Thanks