Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Add default project check
Browse files Browse the repository at this point in the history
  • Loading branch information
jablko committed Sep 3, 2020
1 parent 9c555b9 commit f54b716
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rules/dtHeaderRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ function walk(ctx: Lint.WalkContext<void>): void {
return;
}

lookFor(
"// Project: https://github.com/baz/foo",
"Project should be a link to the project's source code repository, not the default.");
lookFor("// Definitions by: My Self", "Author name should be your name, not the default.");
const error = validate(text);
if (error) {
Expand Down

0 comments on commit f54b716

Please sign in to comment.