hapi-capitalize-modules
Version:
ESLint rule to enforce the capitalization of imported module variables
15 lines (9 loc) • 703 B
Markdown
# hapi-capitalize-modules
[](https://www.npmjs.org/package/hapi-capitalize-modules)
[](https://travis-ci.org/continuationlabs/hapi-capitalize-modules)

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.