Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 351 Bytes

avoid-namespace-import.md

File metadata and controls

28 lines (21 loc) · 351 Bytes

Avoid namespace import

Rule Details

This rule aims to...

Examples of incorrect code for this rule:

import * as foo from 'foo';

Configuration

This rule takes an optional configuration:

{
  "rules": {
    "barrel-files/avoid-namespace-import": [
      2,
      {
        "allowList": ["foo"]
      }
    ]
  }
}