garronej / eslint-plugin-tss-unused-classes

Detect unused tss-react styling classes using eslint
8 stars 2 forks source link

Rule only works if styles are defined in the same file #4

Open ThiloAschebrock opened 2 years ago

ThiloAschebrock commented 2 years ago

This seems like a nice linting rule, however, it is also good practice to split the styles in a separate file. In this case the rule warns that all classes are unused. Is it possible to adjust this rule so that it also works if the styles are defined in a separate file?

Related to the same question at https://github.com/jens-ox/eslint-plugin-material-ui-unused-classes/issues/3

Scondic commented 1 year ago

Hi! Today I faced a similar problem. It would be great if this problem is solved! If there is time, I will try to send a Pull request

banoaq commented 8 months ago

Any update on this issue?