Closed user72356 closed 4 months ago
I need to upgrade Putout, but there's some dependency conflicts.
I've also had it where the eslint config is trying to put usememos in my server functions which means I have to eslint disable lines for them
Waiting for https://github.com/coderaiser/putout/issues/211
The newer (> 13) versions of Next.js allow to render components on the server. Client-only components must add "use client"; at the top of the source code file.
This appears to be detected as the following errors:
Unused expression statement (remove-unused-expressions)eslint(putout/putout) Avoid 'use strict' in ESM (strict-mode/remove-useless)eslint(putout/putout)