Partant d'un projet vide, rien, nada, que chib, on ajoute #eslint pour valider du code #javascript et #css, on se retrouve direct avec 10 Mo de dépendances !
Yolo !
Partant d'un projet vide, rien, nada, que chib, on ajoute #eslint pour valider du code #javascript et #css, on se retrouve direct avec 10 Mo de dépendances !
Yolo !
Avant, avec #eslint < 9, je pouvais installer le trucs globalement et appliquer les même règles pour les dizaines de projets sur lesquels je travaille.
Aujourd'hui, j'ai essayé de migrer le code source de mon site web sous ESLint 9.
Je me retrouve avec 40 MEGA OCTETS de dépendances dans node_modules !!!!!
Le truc est 100 FOIS plus lourd que mon code source
Et imaginez ça multiplier par 10 ou 20 !
Le progrès qu'on vous dis
step away for 5 minutes and eslint, a successful ~10yo open source project decides to not only break all of their plugin configurations and have the migrate script generate configs that don't typecheck, but also make it impossible to configure some combinations of plugins because every library has a different way of telling you to integrate their config? why?? #eslint
#Oxlint has been released in version 1.0!
https://voidzero.dev/posts/announcing-oxlint-1-stable
Oxlint is a linter for #JavaScript and #TypeScript, written in #Rust, that can be up to 50~100x faster than #ESLint.
ESLint v9.0.0: A Retrospective, by @nzakas (@eslint):
https://eslint.org/blog/2025/05/eslint-v9.0.0-retrospective/
Yay, my tiny change made it into ESLint 9.27.0: https://eslint.org/blog/2025/05/eslint-v9.27.0-released/#sorted-eslint-suppressions.json
#ESLint plugin to catch unnecessary #React useEffect hooks to make your code easier to follow, faster to run, and less error-prone.
https://github.com/NickvanDyke/eslint-plugin-react-you-might-not-need-an-effect
#Development #Launches
ESLint can now lint HTML · The code linter delivers a new language plugin https://ilo.im/163v4b
_____
#ESLint #OpenSource #Coding #Linter #Parser #HTML #Npm #WebDev #Frontend
"One of the biggest reasons #ESLint users haven’t upgraded to ESLint v9.x is migrating a configuration file seems difficult and complicated. Some plugins support flat config and the ESLint v9.x rule APIs and some don’t. Sometimes you need to use FlatCompat and sometimes you need to use the compatibility utilities."
https://eslint.org/blog/2024/05/eslint-configuration-migrator/
---
That's simple
c:\>npx @eslint/migrate-config .eslintrc.json
Migrating a JavaScript Project From Prettier and ESLint to BiomeJS, by @appsignal.com:
Migrating a JavaScript Project from Prettier and ESLint to BiomeJS
Sandi Barr is 'Automating Accessibility Assurance' July 24th at Nebraska.Code().
I'm reading into #ESLint + #Prettier
I search the internet and find this - only to see the question is deleted #webdev #StackOverflow
Introducing Bulk Suppressions, by @eslint:
https://eslint.org/blog/2025/04/introducing-bulk-suppressions/
Resolving Invalid Custom Tailwind Classname ESLint Warning, by @aman.bsky.social:
https://amanhimself.dev/blog/resolving-custom-tailwind-classname-eslint-warning/
Does anyone have a eslint/ similar setup for reporting throw anything other than an Error/ Exception?
#typescript #eslint
Its stupid that its legal in C++, but I understand why its there. TS!==C++