Open tsujigiri opened 5 years ago
Thanks for the issue. There is a bug right now where standard
doesn't work when installed globally. Looking into it now.
This should be fixed in standard
13.0.2.
Unfortunately, I still get the same error, on CI and locally. 😬
ESLint 6 changed the way that parsers and plugins are resolved. They must now be installed locally in your project, even if standard
is installed globally. It's an unfortunate change.
This may be fixed if we adopt the babel-eslint
parser by default as I proposed in https://github.com/standard/standard/issues/1356
What version of standard? 13.0.1 What operating system, Node.js, and npm version? Arch Linux (locally) and Docker image
circleci/ruby:2.5.3-node-browsers
. Node: 11.15.0 npm: 6.10.0 babel-eslint: 10.0.2 What did you expect to happen?npm install -g standard babel-eslint
to install compatible versions of both. What actually happened? Runningstandard --parser babel-eslint [files]
throws an error:Workaround Installing
standard
version<13
works fine.Edit: Added the name of the Docker image we use in our CI.