包详细信息

hapi-capitalize-modules

continuationlabs18.6kMIT不推荐使用1.1.6

This module has moved and is now available at @hapi/rule-capitalize-modules. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

ESLint rule to enforce the capitalization of imported module variables

eslint, hapi, eslintrule, require

自述文件

hapi-capitalize-modules

Current Version Build Status via Travis CI Dependencies

ESLint rule to enforce the capitalization of imported module variables.

Rule options

global-scope-only

If the string 'global-scope-only' is passed as the first option to this rule, then it will only be enforced on assignments in the module's top level scope.