Miss any of our Open RFC calls?Watch the recordings here! »

cross-domain-import-linter

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"
    ]
  }

Keywords

none

Install

npm i cross-domain-import-linter

DownloadsWeekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

16.7 kB

Total Files

21

Last publish

Collaborators

  • avatar