rule-capitalize-modules
Installation:

npm: npm install @hapi/rule-capitalize-modules

yarn: yarn add @hapi/rule-capitalize-modules

ESLint rule to enforce the capitalization of imported module variables.

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.

Changelog

#5
Update deps
#4
Change module namespace
#2
refactor global scope only logic
#1
Update to eslint 1.x.x and use newly exposed rule tester
clipboard