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:
@ -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)
|
||||
|
@ -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"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user