Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
The ESLint plugin will display any violations of the rules of React in your editor. When it does this, it means that the compiler has skipped over optimizing that component or hook. This is perfectly okay, and the compiler can recover and continue optimizing other components in your codebase.
This PR also enables strict: true. Thanks to @GermanJablo for doing most of the work by enabling noImplicitAny and strictNullChecks in previous PRs
This PR fixes all eslint errors in the richtext-lexical package. This includes all eslint errors of the react compiler.
Since the react compiler skips files that have react compiler eslint errors, this PR will make it run on files it previously ignored.
Source: https://react.dev/learn/react-compiler#installing-eslint-plugin-react-compiler
This PR also enables strict: true. Thanks to @GermanJablo for doing most of the work by enabling
noImplicitAny
andstrictNullChecks
in previous PRs