Last week this worked fine, but since 7.0.3 of @splunk/create came out two days ago, linting doesn't work anymore.
npx @splunk/create
New app with component
yarn run setup
That still completes, but setup shows several warnings about things having unmet peer dependencies or incorrect peer dependencies. But yarn run lint now throws an error and doesn't work:
"Error: Failed to load parser '@babel/eslint-parser' declared in '.eslintrc.js >>
@splunk/eslint-config/browser-prettier >> ./browser.js >> ./base.js':
Cannot find module '@babel/eslint-parser'\n"
The release notes simply say this:
But when I compare the package.json from a component created last week to one created today, I see several changes:
There may be other things that changed as well, those are just the ones that jumped out at me.
Anybody know how to fix this? You can still do yarn run start:demo on the component and it runs, but the lint is broken.
Thanks!
If I change all the versions back to what they were, then linting works again. So at least I have a workaround. Is it just me, or is this broken for anyone else?