Skip to content

Add an ESLint rule to disallow usage of Liferay.Util.subΒ #1017

Open
@kresimir-coko

Description

@kresimir-coko

With the massive changes coming as part of liferay-frontend/liferay-portal#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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions