feat(eslint-config): use @eslintplugin/* packages#1649
Conversation
👷 Deploy request for cedarjs pending review.Visit the deploys page to approve it
|
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run-many -t build:pack --exclude create-ceda... |
✅ Succeeded | 1s | View ↗ |
nx run-many -t build |
✅ Succeeded | 4m 53s | View ↗ |
nx run-many -t test --minWorkers=1 --maxWorkers=4 |
✅ Succeeded | 4m 14s | View ↗ |
nx run-many -t test:types |
✅ Succeeded | 10s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-05-06 20:00:57 UTC
@eslintplugin/* packages@eslintplugin/* packages
@eslintplugin/* packages@eslintplugin/* packages
Greptile SummaryThis PR swaps
Confidence Score: 3/5Merging risks breaking the ESLint setup for all downstream Cedar projects if the replacement packages do not implement the The existing ESLint config actively calls
Important Files Changed
Reviews (4): Last reviewed commit: "feat: use `@eslintplugin/*` packages" | Re-trigger Greptile |
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
| "eslint-plugin-jsx-a11y": "npm:@eslintplugin/eslint-plugin-jsx-a11y@0.0.3", | ||
| "eslint-plugin-prettier": "5.5.5", | ||
| "eslint-plugin-react": "7.37.5", | ||
| "eslint-plugin-react": "npm:@eslintplugin/eslint-plugin-react@0.0.1", |
There was a problem hiding this comment.
Plugin API compatibility not verified
The existing ESLint config files make specific API calls that must be present in the replacement packages:
shared.jsextendsplugin:react/recommended— this requires@eslintplugin/eslint-plugin-react@0.0.1to export arecommendedconfig object under itsconfigsproperty.index.jsextendsplugin:jsx-a11y/recommended(whenconfig.web.a11yis enabled) and directly references the rule namejsx-a11y/aria-role.
If either 0.0.x package does not export these config presets or rule names, every downstream Cedar project that runs ESLint will get a hard failure (Definition for rule 'jsx-a11y/aria-role' was not found or Cannot read properties of undefined (reading 'recommended')). The PR doesn't include any test output or CI evidence confirming that eslint --print-config resolves cleanly with these replacements in place.

Switching to more modern, smaller, alternative eslint plugins.
Also see https://github.com/eslint-plugin/eslint-plugins/blob/main/README.md