1.0.3 • Published 9 months ago

eslint-plugin-dynamic-imports v1.0.3

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

eslint-plugin-dynamic-imports

Installation

npm install --save-dev eslint-plugin-dynamic-imports

All rules are off by default, and you are able to configure them in your .eslintrc

{
  "plugins": ["dynamic-imports"],
  "rules": {
    "dynamic-imports/no-literal-expressions": 2,
    "dynamic-imports/no-restricted-paths": [2, "path/to/module", "**/foo/**"]
  }
}

Rules

Take a look at the rules documentation to adjust them more precisely for your needs:

1.0.3

9 months ago

1.0.2

9 months ago

1.0.0

9 months ago