Explain ESLint config code
Paste an eslint.config.js and Vibe explains which files each block covers, which rules it turns on and which block wins when two of them disagree.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe24 lines selected
Press Explain it for the sample, or paste your own code first.
What this ESLint config sample shows
- a list of blocks
- The file exports a list, and ESLint applies every block that matches a file, in order. On a test project,
npx eslint .reportedsrc/cart.jswith4 problems (2 errors, 2 warnings)and exited with code 1, which is what makes a CI step fail. - files and globals
fileslimits a block to matching paths, andglobalstells ESLint which names exist there.documentpassed in src, becauseglobals.browserhas it, butprocesswas flagged'process' is not defined. The sameprocessinscripts/build.jspassed, because that block usesglobals.node.- rules and severity
- Each rule is
"off","warn"or"error", and some take options after it.no-consolewithallow: ["error"]warned aboutconsole.logand letconsole.errorthrough. Only errors change the exit code: warnings alone would still exit with 0. - later blocks win
js.configs.recommendedsetsno-unused-varsto error, and the src block below it sets warn. Later wins:npx eslint --print-config src/cart.jsshowedno-unused-varsat 1, which is warn, and the unused variable was reported as a warning.
Good to know
- Run with ESLint 9.39.5, @eslint/js 9.39.5 and globals 17.14.0 on a test project with one file in each folder.
- A block with only
ignoresleaves those paths out everywhere. Asked to checkdist/bundle.jsdirectly, ESLint printedFile ignored because of a matching ignore pattern. npx eslint --fixonly changes==where it's safe: it turnedtypeof x == "string"into===but leftitems.length == 0as it was, for you to change.
Watch out: ignores only works for every file when it's alone in its block. Adding rules: { semi: "error" } next to ignores: ["dist/"] made ESLint check dist again, and it failed on the build output with Parsing error: Unexpected token ;. Moving js.configs.recommended to the end of the list has a similar surprise: it turned no-unused-vars back into an error.
Explain ESLint config code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open