2022

⛔ 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.

2021

✨ Auto-fixable import sorting rules for ESLint
1169 views

ESLint config snippet for sorting imports automatically on file save. Works well with Next.js