-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest eslint-config-prettier v8.0.0 breaks end.js #13
Comments
@softwarespot - Thanks for reporting this quickly. v8 was released yesterday, and with it, they've changed a few things. One of the changes is the following:
So I need to update my config and the README with that in mind. Additionally, I originally "caught" this with the release of
This failed silently since This change may also mean that it is time for a change in how |
Patch 4.0.1 has been released, I've tested it and it appears to be working on my end, please reply and confirm whether or not it fixes the problem for you. {
"private": true,
"scripts": {
"lint": "eslint",
},
"devDependencies": {
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.0.0",
"eslint-config-prettier-standard": "^4.0.1",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"prettier": "2.2.1",
"prettier-config-standard": "^4.0.0"
},
"eslintConfig": {
"extends": [
"prettier-standard"
]
}
} (README updates will come soon once I have time to dive deeper into documentation for v.8) |
Awesome service. I have verified your solution works and just want to say thanks for quickly fixing and a detailed explanation |
There seems to be an issue with the latest eslint-config-prettier v8.0.0 which is breaking this configuration. The previous version v7.2.0 was OK
Reproducer
npm i
The error I am seeing at least, with the latest version in VSCode and the "Ouput" section is:
Hopefully this gives you some indication of the problem
================================
Node.js
Files
package.json
.eslintrc.json
index.js
The text was updated successfully, but these errors were encountered: