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.

clipboard