Skip to content

Commit c0e42ff

Browse files
committed
hook testing 1
1 parent 838eb89 commit c0e42ff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ git add .
5050
git commit -m <commit message>
5151
```
5252

53-
- It will run `ng lint` first to lint the whole project. If there is any linting issue, it will not proceed to commit the files, else, the staged files will be formatted automatically and committed.
53+
- It will run `ng lint` first to lint the files. If there is any linting issue, it will not proceed to commit the files, else, the staged files will be formatted automatically and committed.
5454

5555
### If there are linting issues:
5656

src/app/app.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { Component } from '@angular/core';
33
@Component({
44
selector: 'app-root',
55
templateUrl: './app.component.html',
6-
styleUrls: ['./app.component.scss']
6+
styleUrls: ['./app.component.scss'],
77
})
88
export class AppComponent {
9+
LineMissingSemicolon;
910
title = 'angular-with-pre-commit-hooks';
1011
}

0 commit comments

Comments
 (0)