Menu

#Eslint

19 posts

Feed·
19 of 19 posts
Feed the agent the a11y lint JSON, not a screenshot of red outlines
📰
0Read More

Feed the agent the a11y lint JSON, not a screenshot of red outlines

DEV Community: frontend·Sherotree·8 days ago
#kwrxBAMZ
#devtofrontend#devto#dev#invoice#json

Paste ESLint jsx-a11y or axe JSON into the agent instead of screenshots of red overlays so fixes target rule ids, files, and selectors.

15s
Oxlint JS Plugins: Your Custom ESLint Rules No Longer Keep You on ESLint
📰
0Read More

Oxlint JS Plugins: Your Custom ESLint Rules No Longer Keep You on ESLint

DEV Community: javascript·Danny Holloran·11 days ago
#QfuwHTPo
#devtojavascript#devto#dev#eslint#rules

Oxlint now runs ESLint plugins and your own custom rules, so the last excuse for a slow lint step is gone. Here's how JS plugins work, how to migrate, and where the gaps still are.

15s
My Plugin Has 14 Rules. Two of Them Found 60% of Everything.
📰
0Read More

My Plugin Has 14 Rules. Two of Them Found 60% of Everything.

DEV Community: react·Ofri Peretz·20 days ago
#R1gGWFBL
#devtoreact#devto#dev#eslint#react

I pointed my own React plugin at a public codebase and counted per rule. 308 findings, and two rules produced 184 of them. Six rules produced nothing at all — and the reason that is not a bug is the whole article.

15s
removed 3 vite plugins, my build dropped 4 seconds. heres which
🖼️
0Read More

removed 3 vite plugins, my build dropped 4 seconds. heres which

DEV Community: vite·BaoDev Studio·6 months ago
#iuA0ONqk
#dev#every#vite#plugin#eslint

audited my react starter last week and found 8 vite plugins. three of them were doing more harm than...

15s
What ground truth caught that unit tests missed: 3 real bugs in 9 flagship lint rules
🖼️
0Read More

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

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

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
@ttsc/lint - I made 20x faster TS Lint by building it into typescript-go — one compile catches both
🖼️
0Read More

@ttsc/lint - I made 20x faster TS Lint by building it into typescript-go — one compile catches both

DEV Community·Jeongho Nam·7 months ago
#AmqwOF1S

From Dev Community: @ttsc/lint - I made 20x faster TS Lint by building it into typescript-go — one compile catches both

15s
Angular injection context lint rules: say goodbye to NG0203 error
📰
0Read More

Angular injection context lint rules: say goodbye to NG0203 error

DEV Community·Cyrille Tuzi·7 months ago
#WoZJz9Eg
#angular#eslint#software#coding#development

Angular is changing a lot these days. One of the major changes that most developers are already aware of is how to inject dependencies. // Before @Component() export class ProductPage { constructor(private readonly productsApi: ProductsApi) {} } // Now…

15s
Set Up ESLint and Prettier in a Vue 3 Project for Clean Code
🖼️
0Read More

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

DEV Community·Djamware Tutorial·7 months ago
#jhBp4vtM
#vue#eslint#prettier#cleancode#discuss

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
Stop arguing about formatting in code reviews. Use Husky and lint-staged instead.
🖼️
0Read More

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

DEV Community·Mohamed Idris·7 months ago
#uc5MELWx
#webdev#javascript#git#productivity#beginners

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