liferay-frontend-projects icon indicating copy to clipboard operation
liferay-frontend-projects copied to clipboard

Add an ESLint rule to disallow usage of `Liferay.Util.sub`

Open kresimir-coko opened this issue 2 years ago • 0 comments

With the massive changes coming as part of https://github.com/liferay-frontend/liferay-portal/pull/2762 (and previous PRs) we must make a rule that will not allow devs to use Liferay.Util.sub as a habit. We can call it something like avoid-global-util and add other commonly used global utils to a white/blacklist.

kresimir-coko avatar Oct 03 '22 07:10 kresimir-coko