Skip to content

Update to eslint 10#936

Merged
fliiiix merged 4 commits intomainfrom
update/eslint
Apr 10, 2026
Merged

Update to eslint 10#936
fliiiix merged 4 commits intomainfrom
update/eslint

Conversation

@fliiiix
Copy link
Copy Markdown
Member

@fliiiix fliiiix commented Apr 10, 2026

The current plugin we used is a bit bad so lets upgrade to the new thing people use.

jsx-eslint/eslint-plugin-react#3977 (comment)

fliiiix added 4 commits April 10, 2026 13:06
Do not use immediately-invoked function expressions in JSX. IIFEs will not be optimized by React Compiler  @eslint-react/unsupported-syntax
warning  In React 19, you can render '<Context>' as a provider instead of '<Context.Provider>'  @eslint-react/no-context-provider
warning  In React 19, 'use' is preferred over 'useContext' because it is more flexible          @eslint-react/no-use-context
warning  A ref identifier must be named 'ref' or ending in 'Ref'  @eslint-react/naming-convention-ref-name
@fliiiix fliiiix requested a review from randombenj April 10, 2026 11:08
@fliiiix fliiiix merged commit 5a21197 into main Apr 10, 2026
8 checks passed
@fliiiix fliiiix deleted the update/eslint branch April 10, 2026 11:13
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.

1 participant