Skip to content

Commit

Permalink
docs: add TypeScript support section (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed May 17, 2024
1 parent 4dfed2a commit dcf97a7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,15 @@ npm test
| [detect-unsafe-regex](docs/rules/detect-unsafe-regex.md) | Detects potentially unsafe regular expressions, which may take a very long time to run, blocking the event loop. ||

<!-- end auto-generated rules list -->

## TypeScript support

Type definitions for this package are managed by [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped). Use [@types/eslint-plugin-security](https://www.npmjs.com/package/@types/eslint-plugin-security) for type checking.

```sh
npm install --save-dev @types/eslint-plugin-security

# OR

yarn add --dev @types/eslint-plugin-security
```

0 comments on commit dcf97a7

Please sign in to comment.