-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 new link checker to ensure local files and anchor ilnks are checked
- Loading branch information
Showing
10 changed files
with
465 additions
and
223 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{"pattern": "dco.txt"}, | ||
{"pattern": ".*?templates.*?"}, | ||
{"pattern": "TBD"} | ||
], | ||
"_aliveComment": "Some sites return 403 from GH Actions check; 400 from twitter (login redirect)", | ||
"aliveStatusCodes": [ | ||
0, | ||
200, | ||
206, | ||
400, | ||
403, | ||
429, | ||
500, | ||
503 | ||
], | ||
"headers": { | ||
"User-Agent": "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3" | ||
}, | ||
"httpHeaders": [ | ||
{ | ||
"urls": ["https://www.linkedin.com/company/commonhaus-foundation/"], | ||
"headers": { | ||
"User-Agent": "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3" | ||
} | ||
} | ||
] | ||
} |
58 changes: 53 additions & 5 deletions
58
.github/package-lock.json → .github/linter/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"type": "module", | ||
"scripts": { | ||
"build": "npx tsc -p tsconfig.json", | ||
"lint": "npm run build && node ./dist/validate.js" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^22.10.2", | ||
"link-check": "^5.4.0", | ||
"markdown-link-check": "^3.13.6", | ||
"markdownlint": "^0.35.0", | ||
"marked": "^15.0.3", | ||
"typescript": "^5.7.2", | ||
"yaml": "^2.3.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ES2020", | ||
"module": "ESNext", | ||
"moduleResolution": "node", | ||
"outDir": "./dist", | ||
"esModuleInterop": true, | ||
"noImplicitAny": false, | ||
"noEmitOnError": true, | ||
"removeComments": false, | ||
"sourceMap": true, | ||
}, | ||
"include": [ | ||
"validate.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} |
Oops, something went wrong.