You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Major Changes
3826b97e5e9dea4284a12a06145b2b022d9840fa#4790 Thanks @kubk! - Support only ESLint 9.10+ and 10, with flat config only. The eslint peer dependency is now ^9.10.0 || ^10.0.0, and @types/eslint is no longer a dependency, since ESLint ships its own types. configs.recommended is now the flat config, and the eslintrc config and flatConfigs are removed: replace pluginMobx.flatConfigs.recommended with pluginMobx.configs.recommended. The missing-observer rule is removed: wrap components in observer yourself, or use mobx-react-plugin to wrap them all at build time. The deprecated no-anonymous-observer rule is removed too; use react/display-name with componentWrapperFunctions: ["observer"] instead. Projects on ESLint 8 or older, or on eslintrc, should stay on eslint-plugin-mobx 0.2.x.