0.0.1 • Published 12 months ago

nx-import-filter v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

NX import filter

Used in an NX monorepo.

A typescript language service plugin, for filtering out symbols from editor completion, for libraries that fail the @nx/enforce-module-boundaries eslint rule. (In VSCode might need a "Typescript: Restart TS server")

Usage

You should have a valid eslint configuration file, that uses the @nx/enforce-module-boundaries eslint rule.

Installation:

npm i nx-import-filter
// tsconfig.base.json

{
  "compilerOptions": {
    //...
    "plugins": [
      {
        "name": "nx-import-filter"
      }
    ]
  }
}
0.0.1

12 months ago