Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot read config file: while running yarn lint #304

Closed
anksingh-mdsol opened this issue Mar 8, 2023 · 3 comments
Closed

Error: Cannot read config file: while running yarn lint #304

anksingh-mdsol opened this issue Mar 8, 2023 · 3 comments

Comments

@anksingh-mdsol
Copy link

Facing below issue while running yarn lint:

yarn lint

Oops! Something went wrong! :(

ESLint: 8.26.0

Error: Cannot read config file:.../node_modules/eslint-config-prettier/@typescript-eslint.js
Error: "prettier/@typescript-eslint" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
bundle info js-routes
  * js-routes (2.2.4)
        Summary: Brings Rails named routes to javascript
        Homepage: http://github.com/railsware/js-routes
@bogdan
Copy link
Collaborator

bogdan commented Mar 8, 2023

I've updated prettier and eslink within the package. Hope it helps. Can you please check if the error is reproducable from master now?

@anksingh-mdsol
Copy link
Author

Yup, this resolved it!

@bogdan
Copy link
Collaborator

bogdan commented Mar 8, 2023

Released 2.2.5

@bogdan bogdan closed this as completed Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants