Skip to content

Set up strict linting - #32

Merged
bezbac merged 187 commits into
mainfrom
cursor/setup-plugin-linting-33bc
Aug 20, 2026
Merged

bezbac merged 187 commits into
mainfrom
cursor/setup-plugin-linting-33bc

Conversation

@bezbac

@bezbac bezbac commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • enable core ESLint recommended rules and the requested strict type-aware rules
  • restrict unambiguous truthiness coercion through Boolean(...), while allowing legitimate String(...) and Number(...) conversions
  • restrict negated inequality comparisons in favor of direct inverse operators
  • keep rule enablement isolated and fix each occurrence in its own atomic commit
  • leave no ESLint disable directives in the final tree
  • add strict Knip checks in a standalone commit and keep CI enforcement last

Verification

  • pnpm run format
  • pnpm run build
  • pnpm run lint
  • pnpm run knip
  • pnpm run test:integration (16 tests passed)

Linear Issue: LFE-15365

Open in Web Open in Cursor 

Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/setup-plugin-linting-33bc branch from b59dc98 to 5592947 Compare August 20, 2026 10:39
cursoragent and others added 28 commits August 20, 2026 10:47
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
cursoragent and others added 7 commits August 20, 2026 11:27
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/setup-plugin-linting-33bc branch 2 times, most recently from 4dfe7f8 to 494870f Compare August 20, 2026 11:43
cursoragent and others added 17 commits August 20, 2026 11:49
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
Co-authored-by: Ben Bachem <bezbac@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/setup-plugin-linting-33bc branch from 494870f to 47fd32c Compare August 20, 2026 11:50
@bezbac bezbac changed the title chore: set up strict linting for opencode plugin Set up strict linting Aug 20, 2026
@bezbac
bezbac marked this pull request as ready for review August 20, 2026 11:53
@bezbac
bezbac merged commit 3412306 into main Aug 20, 2026
4 checks passed
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