Skip to content

Remove naming-convention comments from packages/database#1061

Merged
mdroidian merged 5 commits into
mainfrom
cursor/remove-naming-convention-comments-database-d186
May 21, 2026
Merged

Remove naming-convention comments from packages/database#1061
mdroidian merged 5 commits into
mainfrom
cursor/remove-naming-convention-comments-database-d186

Conversation

@mdroidian

Copy link
Copy Markdown
Member

Description

Removes all /* eslint-disable @typescript-eslint/naming-convention */ comments from packages/database.

This is a follow-up to the relaxed base ESLint naming-convention rules, which now allow:

  • Leading underscores for various selectors
  • Flexibility for naming conventions in object properties, destructured variables, and class properties
  • PascalCase for function declarations used as React components
  • Additional formats for constants and enum members

Changes

Removed eslint-disable comments from the following files:

  • packages/database/scripts/createEnv.mts
  • packages/database/features/step-definitions/stepdefs.ts
  • packages/database/src/dbDotEnv.mjs
  • packages/database/src/lib/contextFunctions.ts
  • packages/database/src/lib/queries.ts
  • packages/database/src/lib/files.ts
  • packages/database/supabase/functions/create-group/index.ts

Testing

✅ Ran pnpm run lint in packages/database - no new warnings introduced
✅ All previously suppressed code now passes with the relaxed rules

Impact

  • No functional changes to the code
  • Cleaner codebase with fewer lint suppressions
  • Confirms the relaxed naming-convention rules are working as intended

Linear Issue: ENG-1782

Open in Web Open in Cursor 

- Removed all @typescript-eslint/naming-convention disable comments
- Updated files: createEnv.mts, stepdefs.ts, dbDotEnv.mjs, contextFunctions.ts, queries.ts, files.ts, create-group/index.ts
- Verified no new lint warnings were introduced
- Related to ENG-1782
@supabase

supabase Bot commented May 21, 2026

Copy link
Copy Markdown

Updates to Preview Branch (cursor/remove-naming-convention-comments-database-d186) ↗︎

Deployments Status Updated
Database Thu, 21 May 2026 07:08:11 UTC
Services Thu, 21 May 2026 07:08:11 UTC
APIs Thu, 21 May 2026 07:08:11 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations Thu, 21 May 2026 07:08:11 UTC
Migrations Thu, 21 May 2026 07:08:12 UTC
Seeding Thu, 21 May 2026 07:08:12 UTC
Edge Functions Thu, 21 May 2026 07:08:14 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

cursoragent and others added 3 commits May 21, 2026 06:56
- Line 132 in stepdefs.ts had a no-unsafe-assignment comment, not naming-convention
- Only naming-convention comments should be removed per ENG-1782
- Restored @typescript-eslint/no-explicit-any in files.ts
- Restored @typescript-eslint/no-unsafe-member-access comments in contextFunctions.ts
- Only naming-convention comments should be removed per ENG-1782
@mdroidian mdroidian marked this pull request as ready for review May 21, 2026 07:07
@mdroidian mdroidian merged commit 56a53fb into main May 21, 2026
10 checks passed
@mdroidian mdroidian deleted the cursor/remove-naming-convention-comments-database-d186 branch May 21, 2026 07:14
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.

2 participants