Skip to content

Constructor with lowercase #3

@julioneljunior

Description

@julioneljunior

exports.getTimer = function(){

my code:

const Chronographjs = require('chronographjs');
...
ctx.timer = new Chronographjs.getTimer();

semistandard log:

× semistandard --fix:
semistandard: Semicolons For All! (https://github.com/standard/semistandard)
  {my-project}\timer.middleware.js:6:33: A constructor name should not start with a lowercase letter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions