Unknown option "config" with value "undefined" was found.
See original GitHub issueprettier-eslint-cli
version: 8.8.1prettier
version: 1.10.2eslint
version: 4.17.0
What you did:
prettier-eslint --write "src/**/*.js"
What happened:
Validation Warning:
Unknown option "config" with value "undefined" was found.
This is probably a typing mistake. Fixing it will remove this message.
P.S. It outputs this warning for every file. It seems that prettier-eslint-cli
sends unnecessary option config
in prettierOptions
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Why am i getting Unknown option "extensionsToTreatAsEsm ...
Unknown option "extensionsToTreatAsEsm" with value [".js", ".mjs"] was found. This is probably a typing mistake. Fixing it will remove this message. I am ......
Read more >Configuring Jest
Configuring Jest. Jest's configuration can be defined in the package.json file of your project, or through a jest.config.js ...
Read more >Configuring Jest compiled - w3resource
In this tutorial we will focus on configuring Jest. Jest's configuration can be defined inside the package.json file of your project, ...
Read more >Options - Babel.js
A babelrc value passed in the programmatic options will override one set within a configuration file. Note: .babelrc.json files are only loaded if...
Read more >strictNullChecks - TSConfig Option - TypeScript
When strictNullChecks is true , null and undefined have their own distinct types and you'll get a type error if you try to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you run prettier-eslint-cli with
-l debug
you’ll see:So there is unnecessary
config
option in prettierOptions.I’ll accept a PR for this, otherwise I hope I have time to fix this over the weekend.