This rule aims to...
Examples of incorrect code for this rule:
import * as foo from 'foo';
This rule takes an optional configuration:
{
"rules": {
"barrel-files/avoid-namespace-import": [
2,
{
"allowList": ["foo"]
}
]
}
}