railsware / js-routes

Brings Rails named routes to javascript
http://railsware.github.io/js-routes/
MIT License
1.61k stars 151 forks source link

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

Closed anksingh-mdsol closed 1 year ago

anksingh-mdsol commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Yup, this resolved it!

bogdan commented 1 year ago

Released 2.2.5