ajafff/tslint-consistent-codestyle

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

srivelicheti opened this issue · 0 comments

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