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