eslintIntegration. Cannot read property 'sync' of undefined
See original GitHub issueIt’s the first time I’m trying to set it up, so I might have skipped something obvious, but can’t figure it out.
After CMD + Shift + P -> Format Document , it shows in the Output tab:
Cannot read property ‘sync’ of undefined

I just installed the extension today, version 0.24 Settings of the plugin: { “prettier.eslintIntegration”: true }
prettier 1.6.1 eslint 4.8.0 . (installed globally)
.eslintrc content is:
{
"extends": [
"plugin:react/recommended"
],
"plugins": [ "react" ],
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
}
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:23 (10 by maintainers)
Top Results From Across the Web
Cannot read property 'sync' of undefined - Stack Overflow
I have got it working by moving my index.js file to the models folder. This file has the necessairy scripts that dispatches sequelise...
Read more >Developers - Cannot read property 'sync' of undefined -
My VSCode settings.json: "editor.snippetSuggestions": "top", "prettier.eslintIntegration": true, "editor.formatOnSave": true. My .eslintrc.json:
Read more >TypeError: Cannot read property 'sync' of undefined | Medium
In this post am going to share the possibility of the “TypeError: Cannot read property 'sync' of undefined”. The error above can be...
Read more >Basic Features: ESLint - Next.js
Next.js provides an integrated ESLint experience by default. These conformance rules help you use Next.js in the optimal way.
Read more >cyrus-imapd bug fix and enhancement update
Annocheck: Fix test for AArch64 property notes. ... environment in order to be able to set the boot order on ppc64le LPARs -...
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 Free
Top 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

ctrl+shift+p->Reload WindowThis should work
Try adding this to workspace settings.
{ "prettier.eslintIntegration": false}This worked for me