This PR makes sure the `migrateImport` codemod is properly registered so that it runs as part of the upgrade process. ## Test plan This PR adds a new `v3` playground with an `upgrade` script that you can use to run the upgrade from the local package. When you add a non-prefixed `@import` to the v3 example, the paths are now properly updated with no errors logged: https://github.com/user-attachments/assets/85949bbb-756b-4ee2-8ac0-234fe1b2ca39 --------- Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com> Co-authored-by: Philipp Spiess <hello@philippspiess.com>
7 lines
144 B
JSON
7 lines
144 B
JSON
{
|
|
"extends": "next/core-web-vitals",
|
|
"rules": {
|
|
"react/no-unescaped-entities": "off",
|
|
"react/jsx-no-comment-textnodes": "off"
|
|
}
|
|
}
|