Since Drupal is using eslint to check for javascript coding standards, we need a package.json so contributors can run npm install to install all required tools.
For the moment the last version of eslint cannot be used with the eslintrc file in core.
Comments
Comment #2
nod_I don't have a problem with latest version of eslint.
Comment #3
attiks commentedYou're right was because of contributed modules and themes.
Adding a package.json still makes sense?
Comment #4
nod_Yeah, but people will start asking why our dependencies like jquery and all are not in our package.json file. And I wouldn't have a good answer for that.
Comment #5
attiks commentedTrue, they should be in it, but I'm fine with postponing this.
Comment #6
star-szrHappy to see this issue :)
I'd like to propose that we start with adding a package.json to core for our dev dependencies only.
Comment #7
droplet commentedComment #12
joelpittetThere is currently there is already a package.json in core #2809477: Add ES6 to ES5 build process