Skip to content

tnslint command line execution doesn't report errors for naming-convention rule #140

@srivelicheti

Description

@srivelicheti

I see warning\squiggly in vs code for naming-convention rule violation, however if I run tslint in command line it doesn't show any errors.

image

My tslint.json

{
  "extends": [],
  "rules": {
    "naming-convention": [
      true,
      {
        "type": "default",
        "format": "camelCase",
        "leadingUnderscore": "forbid",
        "trailingUnderscore": "forbid"
      },
      {
        "type": "member",
        "modifiers": "private",
        "leadingUnderscore": "require"
      }
    ]
  },
  "rulesDirectory": ["codelyzer", "tslint-consistent-codestyle"]
}

TSLint package version being used is 5.20.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions