cross-domain-import-linter
cross-domain-import-linter
Last updated 2 years ago by mariuszkalinski .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cross-domain-import-linter 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.1                                ...           latest (2 years ago)

2 Versions

  • 0.0.1                                ...           2 years ago
  • 0.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |