sindresorhus / grunt-eslint

Validate files with ESLint
MIT License
200 stars 72 forks source link

Use to latest Chalk #151

Closed enure closed 7 years ago

enure commented 7 years ago

Latest eslint (v20) uses chalk@^2.1.0 [1]. This matches PR adjusts package.json to match that version.

Locally, when running the eslint task, I was seeing "chalk#stripColor is not a function".

  1. https://github.com/eslint/eslint/blob/master/package.json#L40
sindresorhus commented 7 years ago

Locally, when running the eslint task, I was seeing "chalk#stripColor is not a function".

That's probably a bug with npm. It should never deduplicate different major versions for this semver range.

sindresorhus commented 7 years ago

But doesn't hurt to upgrade. Just wanted to make it clear this is not a problem with grunt-eslint.