Skip to content

Conversation

@Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Dec 2, 2025

The rule @typescript-eslint/naming-convention has been updated to no longer enforce a naming convention for object literal properties. This too often needs to be disabled because of the naming conventions of 3rd party libraries/services that we don't control, which can require object-literal parameters.

Closes #323


Note

Stops enforcing naming conventions for objectLiteralProperty in the TypeScript ESLint config; updates snapshot and changelog accordingly.

  • TypeScript ESLint config (packages/typescript/src/index.mjs):
    • Loosen @typescript-eslint/naming-convention by setting objectLiteralProperty format: null (with comment explaining third-party params).
  • Rules snapshot (packages/typescript/rules-snapshot.json):
    • Reflect the objectLiteralProperty change to format: null.
  • Changelog (packages/typescript/CHANGELOG.md):
    • Add entry noting the loosened naming convention for object literal properties.

Written by Cursor Bugbot for commit 2e72fb7. This will update automatically on new commits. Configure here.

…l properties

The rule `@typescript-eslint/naming-convention` has been updated to no
longer enforce a naming convention for object literal properties. This
too often needs to be disabled because of the naming conventions of 3rd
party libraries/services that we don't control, which can require
object-literal parameters.

Closes #323
@Gudahtt Gudahtt marked this pull request as ready for review December 2, 2025 19:24
@Gudahtt Gudahtt requested a review from a team as a code owner December 2, 2025 19:24
Copy link
Contributor

@cryptodev-2s cryptodev-2s left a comment

Choose a reason for hiding this comment

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

LGTM!

@Gudahtt Gudahtt merged commit 7837174 into main Dec 2, 2025
26 checks passed
@Gudahtt Gudahtt deleted the loosen-object-literal-property-naming-conventions branch December 2, 2025 22:45
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.

Allow use of __esModule as an identifier

3 participants