1
1
mirror of https://github.com/theoludwig/html-w3c-validator.git synced 2025-05-21 23:21:29 +02:00

chore: remove usage of git hooks (husky, lint-staged, commitlint) + usage of node --run

This commit is contained in:
2024-11-09 16:10:02 +01:00
parent cc6a1278a1
commit e9a62072cf
22 changed files with 2316 additions and 4521 deletions

View File

@ -40,8 +40,8 @@ await test("html-w3c-validator", async (t) => {
{ recursive: true, force: true },
)
await execa("npm", ["install"])
const { exitCode } = await execa("npm", [
"run",
const { exitCode } = await execa("node", [
"--run",
"test:html-w3c-validator",
])
assert.strictEqual(exitCode, 0)

View File

@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/master/schema/html-w3c-validatorrc-schema.json",
"$schema": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/main/schema/html-w3c-validatorrc-schema.json",
"files": ["./build/index.html"],
"severities": ["info", "warning", "error"]
}