Skip to content

fernandoalava/pre-commit-tslint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

pre-commit-tslint

Just another tslint hook for pre-commit

How to use

  • Install pre-commit
  • In the root directory of your project add a new file with this name .pre-commit-config.yaml
  • Add the following lines in the file:
- repo: https://github.com/fernandoalava/pre-commit-tslint
  rev: 1.0.3 # always use the last version
  hooks:
    - id: tslint
      args: ['--project','tsconfig.json'] # you can add more parameters if you require, the tsconfig.json must have all rules for your project.

About

pre-commit plugin uses tslint

Resources

Stars

Watchers

Forks

Packages

No packages published