Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fresh-server-event-handlers warn happens in /islands/routes/ #1386

Open
NyaightHazard opened this issue Jan 12, 2025 · 0 comments
Open

fresh-server-event-handlers warn happens in /islands/routes/ #1386

NyaightHazard opened this issue Jan 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@NyaightHazard
Copy link

NyaightHazard commented Jan 12, 2025

Lint Name

fresh-server-event-handlers

Code Snippet

at /islands/routes/test.ts:

<button onClick={()=>{
    console.log("This is a test message.");
}}>Say something</button>

Expected Result

No lint warning (OR doesn't work on fresh)

Actual Result

Get lint warning but it works on fresh.

Version

Deno 2.1.5
Fresh 1.7.3

@NyaightHazard NyaightHazard added the bug Something isn't working label Jan 12, 2025
@NyaightHazard NyaightHazard changed the title fresh-server-event-handlers warn happens in subfolder of islands fresh-server-event-handlers warn happens in subfolder "routes" of islands Jan 12, 2025
@NyaightHazard NyaightHazard changed the title fresh-server-event-handlers warn happens in subfolder "routes" of islands fresh-server-event-handlers warn happens in /islands/routes/ Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant