Open AndreaPontrandolfo opened 4 months ago
Also, i'm sorry to report that it's not working for me.
Used it like this (in flat config):
import paths from 'eslint-plugin-paths';
export default [
{
plugins: { paths },
rules: {
'paths/alias': 2,
},
}
]
I see no warnings from Eslint
Node v20.10.0 eslint: v8.57.0 typescript: v5.3.3
It's not fully clear to me how to setup the plugin in a FlatConfig, meaning
eslint.config.js
, the docs could be expanded on that.