prettier-eslint-cli: Unable to find config

I followed the example of installing prettier-eslint-cli as a dev dependency, adding a format script in package.json, and I have a .eslintrc.json file in the root directory of my project, but when I run npm run format I get this:

> prettier-eslint "src/**/*.js"

prettier-eslint [ERROR]: Unable to find config
prettier-eslint [ERROR]: Unable to find config
failure formatting 2 files with prettier-eslint

I must be missing a step.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 28 (18 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks Kent, works great now!