-
I wanted to merge all the config files like while this is fairly easy to achieve and possible, in order for me to be able to extend in an eslint config file i need to prefix the package name with this pose a problem for me since in the tsconfig i have to write and calling a package name is there a workaround to this so that i dont have to prefix it with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
There isn’t currently a workaround. You can optionally create a plugin with the configs you want to share, so you could have eslint-plugin-config and then use “plugin:config/node” in your extends field. |
Beta Was this translation helpful? Give feedback.
-
It looks like this problem disappears with new flat configurations - see https://eslint.org/docs/latest/use/configure/configuration-files-new. |
Beta Was this translation helpful? Give feedback.
There isn’t currently a workaround. You can optionally create a plugin with the configs you want to share, so you could have eslint-plugin-config and then use “plugin:config/node” in your extends field.