Skip to content

Commit

Permalink
feat: add rule to use randomUUID() from crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
vladholubiev authored and vladgolubev committed Jan 30, 2023
1 parent fc0267e commit 1077066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules/restricted-packages-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
{
"name": "toc",
"message": "Please use @shelf/table-of-contents instead!"
},
{
"name": "uuid",
"message": "Please use import {randomUUID} from 'crypto' instead!"
}
]
]
Expand Down

0 comments on commit 1077066

Please sign in to comment.