Skip to content

Commit

Permalink
docs(no-deprecated-api): Specify that only static properties are supp…
Browse files Browse the repository at this point in the history
…orted
  • Loading branch information
scagood authored May 10, 2024
1 parent 441b9b5 commit e471e89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/no-deprecated-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
Node has many deprecated API.
The community is going to remove those API from Node in future, so we should not use those.

This only supports the static apis, eg `Buffer.from` is supported, but `Buffer#includes` is not.

## 📖 Rule Details

Examples of 👎 **incorrect** code for this rule:
Expand Down

0 comments on commit e471e89

Please sign in to comment.