salesforce / eslint-config-lwc

Opinionated ESLint configurations for LWC projects
MIT License
112 stars 36 forks source link

ESLINT version conflict with salesforce-app package #38

Closed wwwmonkey closed 3 years ago

wwwmonkey commented 3 years ago

Hi, it appears this package's eslint version is incompatible with latest (7.80.0) sfdx package.json.

  1. force:project:create -n MyProject --template standard
  2. npm i

Results:

npm ERR! While resolving: salesforce-app@1.0.0
npm ERR! Found: eslint@7.13.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^7.6.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^6.0.0" from @salesforce/eslint-config-lwc@0.7.0
npm ERR! node_modules/@salesforce/eslint-config-lwc
npm ERR!   dev @salesforce/eslint-config-lwc@"^0.7.0" from the root project