cross-domain-import-linter
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

TO DO

  • Get list of files to validate.
  • Read file.
  • Get list of imports from file.
  • Check if files are from other domains.
  • Print report with list of files

Options

  • list of common directories
  • regex to validate crossdomain imports
  "cdil": {
    "globRegex": "src/**/*.js",
    "directoriesToValidate": [
      "components",
      "containers"
    ]
  }

Readme

Keywords

none

Package Sidebar

Install

npm i cross-domain-import-linter

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

16.7 kB

Total Files

21

Last publish

Collaborators

  • mariuszkalinski