Skip to content

chore: consolidate eslint rules#8155

Open
shivanee-p wants to merge 6 commits intomainfrom
shivaneep-consolidate-eslint-rules
Open

chore: consolidate eslint rules#8155
shivanee-p wants to merge 6 commits intomainfrom
shivaneep-consolidate-eslint-rules

Conversation

@shivanee-p
Copy link
Copy Markdown
Contributor

This PR is another step to implement a CI ESLint check. This PR centralizes the generated libraries' directories ESLint configurations, replacing local, duplicative configurations (.eslintrc.json and .eslintignore) with unified workspace directives inside the packages/ root directory.

Key Changes:

  • Created packages/.eslintrc.json extending monorepo GTS guidelines relative to the parent (../node_modules/gts).
  • Created packages/.eslintignore ignoring legacy distributions repository-wide (build/, docs/, samples/generated/).
  • Refactored cleanup: deleted legacy local .eslintrc.json and .eslintignore files across 200+ generated packages (packages/*/).

Note: the handwritten libraries is out of scope for this PR. They will be handled in a subsequent PR.

@shivanee-p shivanee-p requested a review from a team as a code owner May 1, 2026 23:54
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds Prettier as a runtime dependency to the GAPIC generator for TypeScript and updates numerous baseline files to reflect the new formatting standards. The changes primarily involve consistent spacing in imports and exports, multi-line formatting for long parameter lists, and the addition of trailing commas. I have no feedback to provide.

@shivanee-p shivanee-p force-pushed the shivaneep-consolidate-eslint-rules branch 3 times, most recently from 31498f4 to bd02443 Compare May 5, 2026 19:45
@shivanee-p shivanee-p force-pushed the shivaneep-consolidate-eslint-rules branch from 63ba276 to 8a2b207 Compare May 5, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant