Closed nzakas closed 1 month ago
I prepared a PR to check this in action with eslint-plugin-react
in the eslint.org repo: https://github.com/eslint/eslint.org/pull/561
Also, should we maybe do https://github.com/eslint/rewrite/pull/3#discussion_r1591127857 in this package too?
It's safe to merge. The CI is doing some unneeded work but nothing consequential.
I'm going to go through and update all of the packages at in a separate PR.
This adds a
@eslint/compat
package with the following functions:fixupRule()
- used to wrap rules in a compatibility layerfixupPluginRules()
- used to wrap all rules in a pluginfixupConfigRules()
- used to wrap all rules in all plugins in a config arrayView the README for more details.
closes #4