Skip to content

Lint against inline imports, nested classes and console in lib - #93

Merged
proxymesh merged 1 commit into
mainfrom
cursor/lint-lib-eslint-rules-df56
Nov 15, 2026
Merged

proxymesh merged 1 commit into
mainfrom
cursor/lint-lib-eslint-rules-df56

Conversation

@proxymeshai

@proxymeshai proxymeshai commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

This adds an ESLint override for lib/ that enables no-console and a no-restricted-syntax rule blocking require() and dynamic import() inside functions and nested classes. Existing optional peer-dependency lazy loads are left in place and annotated with eslint-disable-next-line no-restricted-syntax comments explaining why.

Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
@proxymesh
proxymesh merged commit 891159d into main Nov 15, 2026
3 checks passed
@proxymesh
proxymesh deleted the cursor/lint-lib-eslint-rules-df56 branch November 15, 2026 22:35
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.

3 participants