⛔ How to ban imports with ESLint
Sometimes you don't want to use some modules from a library or other part of your code. Or you want to prevent your colleagues from using them. This post gives you a ready-to-use solution for banning imports with ESLint.
✨ Auto-fixable import sorting rules for ESLint
ESLint config snippet for sorting imports automatically on file save. Works well with Next.js