videojs / videojs-errors

A video.js plugin that displays error messages to video viewers.
Other
86 stars 28 forks source link

fix: prevent lint-staged git add warning and mergeOptions warning on Video.js@8 #235

Closed brandonocasey closed 1 year ago

brandonocasey commented 1 year ago

Description

Prevents the following warning: VIDEOJS: WARN: videojs.mergeOptions is deprecated and will be removed in 9.0; please use videojs.obj.merge instead.

Also prevents a warning from lint-staged regarding git add (which was introduced in lint-staged v10) ⚠ Some of your tasks use 'git add' command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.

I can move the second change into another pull request if we want.