Skip to content

Links to example eslintrc.cjs files are broken #10739

@daumantas-sat

Description

@daumantas-sat

Hello,

We are in the process of migrating Remix v2 to RR7. We are now enabling all the feature flags.

When linting the project we are receiving a warning:

⚠️ REMIX FUTURE CHANGE: The @remix-run/eslint-config package is deprecated and will not be included in React Router v7. We recommend moving towards a streamlined ESLint config such as the ones included in the Remix templates. See https://github.com/remix-run/remix/blob/main/templates/remix/.eslintrc.cjs.

However, that link provided seems to be broken, as it gives 404.

Additionally, in other places like https://v2.remix.run/docs/start/future-flags/#remix-runeslint-config, the same broken link seems to be used.

I have also tried to run npx create-remix@latest so that I could get the generated template, but I got a message saying:

🔄 Remix v2 is now part of React Router!

Remix v2 has been upstreamed into React Router and is now in maintenance mode.
For new projects, please use React Router instead.

To create a new React Router project, run:

  npx create-react-router@latest

Learn more: https://reactrouter.com

And running the provided command does not create any eslint config file, so I'm a bit lost on how to configure eslint correctly.

Could someone provide me with a correct eslint template for the upgrade, and could these links be looked at?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting releaseThis issue has been fixed and will be released soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions