javascript: Getting an Error with "prefer-arrow-callback"
Error: /Users/framerate/code/project/server/node_modules/eslint-config-airbnb-base/rules/es6.js: Configuration for rule "prefer-arrow-callback" is invalid: Value "2,[object Object]" has more items than allowed.
Are you guys seeing this, as well?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18
@ljharb Yeah… You’re right. I just looked at how long it’s been, my team and I are way behind in terms of ESLint version.
1.x
really is that far behind. I will hopefully be able to use this as a stimulus in the direction of upgrading. We rely extremely heavily on the work that you Airbnb guys do on this config, like so many others, and I appreciate it 😃launcher is an internally written unit testing framework. I’ve actually realized that the dependency its pulling for eslint is 1.10.3
So looks like my problem.
@ljharb thanks man. There’s a bunch of little things like that I always felt weren’t clear as I “grew up” with node/npm 😃