akveo / styleguide

5 stars 5 forks source link

refactor: split angular rules on code and template rules #23

Closed sashaqred closed 2 years ago

sashaqred commented 2 years ago

Split single angular config on code and template rules for better reusability and extension

zankevich commented 2 years ago

@sashaqred, what is the motivation to do so?

sashaqred commented 2 years ago

It would be simpler to combine the rules and apply them to different file types. For example, for *.ts files we apply ts and angular rules, for *.html we apply angular-template rules.

zankevich commented 2 years ago

It would be simpler to combine the rules and apply them to different file types. For example, for *.ts files we apply ts and angular rules, for *.html we apply angular-template rules.

Do you think we will have cases where we will not combine angular and angular-template rules?