code-copter-analyzer-shortrequire

1.0.1 • Public • Published

Build Status

Summary

This plugin works with code-copter to fail testing if any module loaded via require is not sibling (e.g. './module-name) or as a global dependency (e.g. 'module-name').

The idea is to enforce pure encapsulation through the proper use of file, folder and npm modules.

Package Sidebar

Install

npm i code-copter-analyzer-shortrequire

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • jtheriault