conarti / eslint-plugin-feature-sliced

Feature sliced design eslint plugin
36 stars 1 forks source link

Autofix for absolute-relative #13

Open dremedys opened 4 months ago

dremedys commented 4 months ago

Is it possible to add autofix for @conarti/feature-sliced/absolute-relative? I am not good at configuring eslint but let me know if that it is possible.

Thanks!

conarti commented 3 months ago

Hi.

I tried to implement this but I had limitations. To make this possible, the plugin needs to change its main path resolution method to get all the project paths. It wasn't possible for me because I hadn't enough time and life-resources for refactor all plugin so I decide to skip this part.

Recently, feature-sliced core team announce their own new plugin. As I don't have enough time, resources and knowledges to support my plugin and as I see that their plugin looks much better than my own, I will recommend you to migrate to their plugin when it will be released. And yes, their plugin can parse project structure and autofix for paths will be possible. I am also going to contribute to their plugin and add functionality that already have my own.