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
Currently with ESLint 9, using eslint-plugin-upleveled results in the following error:
ESLint: 9.3.0
TypeError: context.getScope is not a function
Occurred while linting ...
Rule: "upleveled/no-submit-handler-without-preventDefault"
Seems like eslint-plugin-react merged and released a PR adding compatibility for the new Flat Config format here, which could prove to be a helpful guide how we can implement here too:
Once we have support in this plugin, then we can also switch to the new Flat Config in @upleveled/eslint-config-upleveled: upleveled/eslint-config-upleveled#160
The text was updated successfully, but these errors were encountered:
ESLint 8 has a new "flat" configuration format:
https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new
Currently with ESLint 9, using
eslint-plugin-upleveled
results in the following error:Seems like
eslint-plugin-react
merged and released a PR adding compatibility for the new Flat Config format here, which could prove to be a helpful guide how we can implement here too:Once we have support in this plugin, then we can also switch to the new Flat Config in
@upleveled/eslint-config-upleveled
: upleveled/eslint-config-upleveled#160The text was updated successfully, but these errors were encountered: