Skip to content

feat(plugin-eslint): add setup wizard binding#1269

Merged
hanna-skryl merged 5 commits intomainfrom
eslint-plugin-binding
Mar 17, 2026
Merged

feat(plugin-eslint): add setup wizard binding#1269
hanna-skryl merged 5 commits intomainfrom
eslint-plugin-binding

Conversation

@hanna-skryl
Copy link
Collaborator

Closes #1253

An ESLint plugin binding for the setup wizard has been added. The binding auto-detects ESLint config files (flat and legacy) and package.json dependencies for plugin pre-selection. It prompts for config path, file patterns, and category generation, omitting default plugin options from the generated code for cleaner output. The binding is registered in create-cli and its options are documented in the README.

@nx-cloud
Copy link

nx-cloud bot commented Mar 16, 2026

View your CI Pipeline Execution ↗ for commit 908a091

Command Status Duration Result
nx affected -t int-test --parallel=3 ✅ Succeeded 52s View ↗
nx affected -t unit-test --parallel=3 ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-17 19:14:24 UTC

@nx-cloud
Copy link

nx-cloud bot commented Mar 16, 2026

View your CI Pipeline Execution ↗ for commit 0b4c70b

Command Status Duration Result
nx run ci:code-pushup -- merge-diffs --files=/h... ✅ Succeeded 5s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 1m 33s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 13m 41s View ↗
nx run-many -t unit-test,int-test ✅ Succeeded 59s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-16 21:23:20 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 16, 2026

Open in StackBlitz

@code-pushup/ci

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/ci@1269

@code-pushup/cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/cli@1269

@code-pushup/core

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/core@1269

@code-pushup/create-cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/create-cli@1269

@code-pushup/models

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/models@1269

@code-pushup/nx-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/nx-plugin@1269

@code-pushup/axe-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/axe-plugin@1269

@code-pushup/coverage-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/coverage-plugin@1269

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-plugin@1269

@code-pushup/js-packages-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/js-packages-plugin@1269

@code-pushup/jsdocs-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/jsdocs-plugin@1269

@code-pushup/lighthouse-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/lighthouse-plugin@1269

@code-pushup/typescript-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/typescript-plugin@1269

@code-pushup/utils

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/utils@1269

commit: 908a091

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 19c2334 with previous commit 9c3fe42.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 34 🔴 36 ↑ +2.3
Documentation 🟡 52 🟡 52 ↑ +0.1
Code coverage 🟢 92 🟢 92 ↓ −0.1
Bug prevention 🟡 75 🟡 75 ↓ −0.1
Axe Accessibility 🟡 88 🟡 88 ↓ −0.1
Code style 🟢 100 🟢 100
Security 🔴 0 🔴 0
Updates 🟡 72 🟡 72
Type Safety 🟡 67 🟡 67
Miscellaneous 🟡 67 🟡 67
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟢 92 🟢 92
👍 2 groups improved, 👎 1 group regressed, 👍 7 audits improved, 👎 2 audits regressed, 16 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 34 🔴 36 ↑ +2.3
JSDocs coverage Documentation coverage 🟡 52 🟡 52 ↑ +0.1
Code coverage Code coverage metrics 🟢 92 🟢 92 ↓ −0.1

31 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Speed Index 🟥 6.6 s 🟨 5.6 s ↓ −15.4 %
Lighthouse Total Blocking Time 🟥 3,320 ms 🟥 2,470 ms ↓ −25.4 %
Lighthouse Time to Interactive 🟥 15.0 s 🟥 14.4 s ↓ −4.2 %
Lighthouse First Contentful Paint 🟥 3.1 s 🟥 3.1 s ↓ −1.4 %
Code coverage Line coverage 🟩 92.5 % 🟩 92.2 % ↓ −0.3 %
JSDocs coverage Variables coverage 🟥 286 undocumented variables 🟥 291 undocumented variables ↑ +1.7 %
JSDocs coverage Functions coverage 🟥 633 undocumented functions 🟥 635 undocumented functions ↑ +0.3 %
JSDocs coverage Types coverage 🟥 278 undocumented types 🟥 279 undocumented types ↑ +0.4 %
Code coverage Function coverage 🟩 94 % 🟩 94 % ↑ +0.1 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,433 KiB 🟩 Total size was 2,401 KiB ↓ −1.3 %
Lighthouse Minimizes main-thread work 🟥 14.4 s 🟥 9.0 s ↓ −37.7 %
Lighthouse Metrics 🟩 100% 🟩 100% ↓ −4.2 %
Lighthouse JavaScript execution time 🟥 4.1 s 🟥 3.5 s ↓ −14.3 %
Lighthouse Server Backend Latencies 🟩 730 ms 🟩 290 ms ↓ −60.1 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 31 resources found ↑ +0.1 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 107 KiB 🟥 Potential savings of 110 KiB ↑ +206.7 %
Lighthouse Max Potential First Input Delay 🟥 1,290 ms 🟥 1,130 ms ↓ −12.5 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 111 KiB 🟥 Potential savings of 104 KiB ↑ +32.6 %
Lighthouse Initial server response time was short 🟩 Root document took 420 ms 🟩 Root document took 410 ms ↓ −3.3 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 277 KiB 🟥 Potential savings of 277 KiB ↑ +0.8 %
Lighthouse Network Round Trip Times 🟩 20 ms 🟩 20 ms ↓ −25.4 %
Lighthouse Largest Contentful Paint 🟥 13.2 s 🟥 13.2 s ↓ −0.1 %
Lighthouse Avoids an excessive DOM size 🟥 2,349 elements 🟥 2,350 elements ↑ +0.1 %
Lighthouse Cumulative Layout Shift 🟩 0 🟩 0 ↑ +∞ %
Code coverage Branch coverage 🟨 89.1 % 🟨 89.1 % ↑ +0.1 %

652 other audits are unchanged.

@hanna-skryl hanna-skryl force-pushed the eslint-plugin-binding branch from 4f19d2a to 0b4c70b Compare March 16, 2026 21:05
@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 19c2334 with previous commit 9c3fe42.

💼 Project models

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 94 🟢 94 ↓ −0.7
Documentation 🟡 66 🟡 67 ↑ +0.5

2 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 1 audit improved, 👎 2 audits regressed

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 94 🟢 94 ↓ −0.7
JSDocs coverage Documentation coverage 🟡 66 🟡 67 ↑ +0.5

10 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDocs coverage Types coverage 🟥 57 undocumented types 🟥 64 undocumented types ↑ +12.3 %
Code coverage Line coverage 🟩 99.4 % 🟩 95 % ↓ −4.4 %
Code coverage Branch coverage 🟩 94.1 % 🟩 93.2 % ↓ −1 %

433 other audits are unchanged.

💼 Project plugin-eslint

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 94 🟢 95 ↑ +0.2
Documentation 🟡 67 🟡 67 ↑ +0.1

4 other categories are unchanged.

👍 2 groups improved, 👍 4 audits improved, 👎 1 audit regressed

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 94 🟢 95 ↑ +0.2
JSDocs coverage Documentation coverage 🟡 67 🟡 67 ↑ +0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDocs coverage Variables coverage 🟥 13 undocumented variables 🟥 18 undocumented variables ↑ +38.5 %
JSDocs coverage Functions coverage 🟥 48 undocumented functions 🟥 50 undocumented functions ↑ +4.2 %
Code coverage Branch coverage 🟨 86.8 % 🟨 87.1 % ↑ +0.4 %
Code coverage Line coverage 🟩 95.3 % 🟩 95.5 % ↑ +0.2 %
Code coverage Function coverage 🟩 98.2 % 🟩 98.4 % ↑ +0.2 %

438 other audits are unchanged.

💼 Project create-cli

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Documentation 🔴 23 🔴 24 ↑ +0.2
Code coverage 🟢 90 🟢 90 ↓ −0.1

4 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 2 audits improved, 👎 1 audit regressed

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
JSDocs coverage Documentation coverage 🔴 23 🔴 24 ↑ +0.2
Code coverage Code coverage metrics 🟢 90 🟢 90 ↓ −0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDocs coverage Types coverage 🟥 14 undocumented types 🟥 8 undocumented types ↓ −42.9 %
Code coverage Line coverage 🟩 91.5 % 🟩 91.2 % ↓ −0.3 %
Code coverage Branch coverage 🟩 90.8 % 🟩 90.8 % ↑ +0.1 %

439 other audits are unchanged.

💼 Project plugin-lighthouse

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

All of 6 categories are unchanged.

1 audit changed without impacting score

🗃️ Groups

All of 15 groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 98.8 % 🟩 98.8 % ↓ −0.1 %

442 other audits are unchanged.


10 other projects are unchanged.

@hanna-skryl hanna-skryl marked this pull request as ready for review March 16, 2026 21:24
@hanna-skryl hanna-skryl requested a review from matejchalk as a code owner March 16, 2026 21:24
Copy link
Collaborator

@matejchalk matejchalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🎉

@hanna-skryl hanna-skryl merged commit b6103bc into main Mar 17, 2026
34 of 36 checks passed
@hanna-skryl hanna-skryl deleted the eslint-plugin-binding branch March 17, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESLint plugin setup wizard

2 participants