1.0.3 • Published 1 year ago

eslint-plugin-dynamic-imports v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago