DEV Community

Alireza Razinejad
Alireza Razinejad

Posted on

Custom Angular Components Suffix in ESLint

When creating some cool app we may end up creating so many different custom components.

One of the best practices to keep our app clean is to categorize our components, for example, we can have components that are suffixed with dialog or page instead of the default component.

But as we already activated ESLint to keep the quality of our code, it will complain about those suffixes.

To fix this problem we can add the following rule overrides to our .eslint config file.

Image description

Discussion (0)