6 ms·
That's what a linter is for!
by richthegeek 4y ago
That's what a linter is for!
- kclay 4y agoWhat linting rule would enforce this?
- SpikeMeister 4y agoI've used this one: https://eslint.org/docs/latest/rules/no-restricted-imports https://eslint.org/docs/latest/rules/no-restricted-imports
- kclay 4y agoThanks
- underyx 4y agoI use a custom Semgrep rule for it.