Menu

#Eslint

12 posts

Feed·
12 of 12 posts
What ground truth caught that unit tests missed: 3 real bugs in 9 flagship lint rules
🖼️
0

What ground truth caught that unit tests missed: 3 real bugs in 9 flagship lint rules

DEV Community·Ofri Peretz·4 months ago
#FWr8wz6y
#bug#staticanalysis#eslint#testing#node#type

A 5KB ground-truth corpus failed three flagship ESLint rules at F1=1.00 the moment we ran it. Months of green unit tests missed every bug. Three diagnostics, three fixes.

15s
Read More
📰
0

Set Up ESLint and Prettier in a Vue 3 Project for Clean Code

DEV Community: vue·Djamware Tutorial·5 months ago
#jhBp4vtM
#dev#code#eslint#prettier#project#clean

This tutorial covers how to use ESLint and Prettier together in a Vue 3 + Vite project to keep your code clean, readable, and team-friendly. Topics covered: Vue 3 project setup ESLint flat config Prettier integration VS Code auto-format on save Team best…

15s
Read More
Stop arguing about formatting in code reviews. Use Husky and lint-staged instead.
🖼️
0

Stop arguing about formatting in code reviews. Use Husky and lint-staged instead.

DEV Community·Mohamed Idris·5 months ago
#uc5MELWx

If your team has ever left a comment like "missing semicolon" or "wrong quote style" on a pull request, this post is for you. Formatting is not a code review topic. It should be handled automatically before the code even reaches a PR.…

15s
Read More