Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kclay
· 4y ago · 0 comments
What linting rule would enforce this?
Comments
[–]
SpikeMeister
4y ago
I've used this one:
https://eslint.org/docs/latest/rules/no-restricted-imports
[–]
kclay
OP
4y ago
Thanks
[–]
underyx
4y ago
I use a custom Semgrep rule for it.