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
- feat(errors): propogate error logs better **What**: This will log errors throw by `prettier-eslint` using a new advanced logger for the project. **Why**: Makes it easier to debug issues. Closes #29 ... — committed to prettier/prettier-eslint-cli by deleted user 7 years ago
- feat(errors): propogate error logs better (#31) **What**: This will log errors throw by `prettier-eslint` using a new advanced logger for the project. **Why**: Makes it easier to debug issues. Cl... — committed to prettier/prettier-eslint-cli by deleted user 7 years ago
Thanks Kent, works great now!