Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngularTslintRules

Extra rules for tslint with angular

Enable the rule in your tslint.json:

  "class-suffix": true,

class-suffix

This rule check that the Typescript files contains a combination of prefix + '.' + suffix.

Example: 'app.module.ts', 'app.component.ts', 'app.component.spec.ts'

You can use custom the rule:

 "class-suffix": [true, {
      "prefix": [
        "component",
        "service",
        "module",
        "directive",
        "model",
        "pipe",
        "tools"
      ],
      "suffix": [
        "ts",
        "spec.ts",
      ],
      "ignore": [
        "public_api.ts"
      ]
    }],

About

Extra rules for tslint with angular

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages