prettier-eslint-cli
prettier-eslint-cli copied to clipboard
`--list-different` from script fails
prettier-eslint-cliversion: 5.0.1prettierversion: 2.3.2eslintversion: 7.30.0
Relevant code/config.
extends: ['eslint:recommended'],
parserOptions: {
ecmaVersion: 6
},
env: {
node: true
},
settings: {
jest: {
version: 26
}
},
rules: {
quotes: [
'error',
'single',
{
avoidEscape: true
}
],
semi: [
2,
'never'
]
}
npm script
"scripts": {
"lint": "prettier-eslint --list-different **/*.js"
}
What you did: npm run lint
What happened:
Fails with error Cannot read property 'match' of undefined

Problem description:
prettier-eslint --list-different fails with error Cannot read property 'match' of undefined