Eslint updated their config, deprecated an option we were using for checking function name spacing.
Here is the right config, and there are 2 errors to fix:
theodore@monkey:~/DEV/DRUPAL/drupal$ eslint .
core/misc/dialog/dialog.ajax.js
45:38 error Missing space before function parentheses space-before-function-paren
core/modules/tour/js/tour.js
26:42 error Missing space before function parentheses space-before-function-paren
✖ 2 problems (2 errors, 0 warnings)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2487261-eslint-1.patch | 1.61 KB | alanburke |
| core-js-eslint-function-spaceing.patch | 604 bytes | nod_ |
Comments
Comment #1
alanburke commentedComment #2
nod_Perfect, thanks :)
Comment #4
xjmAlthough it's a coding standards change, I think this change makes sense during the beta since it's keeping our third-party tools future-compatible. Committed and pushed to 8.0.x. Thanks!