Skip to content

refactor: improve code quality and consistency (clipboard.ts, init.ts)#204

Open
ManishhDev wants to merge 2 commits intoneutralinojs:mainfrom
ManishhDev:improve-code-quality
Open

refactor: improve code quality and consistency (clipboard.ts, init.ts)#204
ManishhDev wants to merge 2 commits intoneutralinojs:mainfrom
ManishhDev:improve-code-quality

Conversation

@ManishhDev
Copy link
Copy Markdown

Description

Improved code quality and consistency across clipboard.ts and init.ts files.

Changes

  • ✅ Replaced loose equality (==) with strict equality (===) - 3 instances
  • ✅ Fixed indentation inconsistencies (tabs to spaces)
  • ✅ Removed unnecessary 'any' type annotation
  • ✅ Added consistent spacing in conditionals and destructuring

Benefits

  • Prevents type coercion bugs
  • Improves code consistency
  • Better TypeScript type safety
  • Follows ESLint best practices

shalithasuranga and others added 2 commits February 26, 2026 20:26
- Replace == with === for strict equality checks
- Fix indentation inconsistencies (tabs to spaces)
- Remove unnecessary 'any' type annotation
- Add consistent spacing in conditionals and destructuring
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