Closed whyisjake closed 4 years ago
Looking good, this is what I'm seeing:
> wp-scripts lint-js
/Users/netweb/Code/WordPress/wp-autoupdates/js/wp-autoupdates.js
37:5 error 'data' is never reassigned. Use 'const' instead prefer-const
45:13 error 'ajaxurl' is not defined no-undef
117:23 error 'response' is defined but never used no-unused-vars
143:8 error 'plugin' is never reassigned. Use 'const' instead prefer-const
152:6 error 'jQuery' is not defined no-undef
✖ 5 problems (5 errors, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
@ntwb, added a few updates, coming back clean now.
Thanks @whyisjake 👍
Ready for review @ntwb / @pbiron / @audrasjb
This is a fork of the work that @ntwb did in #111. I extended a few things and then brought the changes over from master.