Y
Hacker News
new
|
ask
|
show
|
jobs
by
kclay
1421 days ago
What linting rule would enforce this?
2 comments
SpikeMeister
1421 days ago
I've used this one:
https://eslint.org/docs/latest/rules/no-restricted-imports
link
kclay
1420 days ago
Thanks
link
underyx
1421 days ago
I use a custom Semgrep rule for it.
link