Commit 232c1542 authored by Richard Crosby's avatar Richard Crosby

fix(scripts): remove superfluous yarn from scripts

parent 611818e6
Pipeline #20024 passed with stages
in 21 seconds
......@@ -9,9 +9,9 @@
"scripts": {
"---SECTION:CODE QUALITY---": "----------- CODE QUALITY ------------",
"lint": "yarn lint:json && yarn lint:markdown",
"lint:json": "yarn jsonlint-cli package.json src/**/*.json",
"lint:yaml": "yarn yamllint **/*.yaml **/*.yml --ignore=node_modules/**/*.yaml --ignore=node_modules/**/*.yml",
"lint:markdown": "yarn markdownlint **/*.md --ignore node_modules --ignore CHANGELOG.md",
"lint:json": "jsonlint-cli package.json src/**/*.json",
"lint:yaml": "yamllint **/*.yaml **/*.yml --ignore=node_modules/**/*.yaml --ignore=node_modules/**/*.yml",
"lint:markdown": "markdownlint **/*.md --ignore node_modules --ignore CHANGELOG.md",
"health:comment": "Runs all checks (linters, flow, tests etc) to gauge the overall code health",
"health": "node scripts/healthcheck.js"
},
......@@ -31,13 +31,13 @@
"husky": {
"hooks": {
"commit-msg:comment": "Ensure that commit messages adhere to the conventionalcommits.org standard",
"commit-msg": "yarn commitlint -E HUSKY_GIT_PARAMS",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-merge:comment": "Automatically run 'yarn install' on post-merge if `yarn.lock` changed",
"post-merge": "$(pwd)/scripts/post-merge-or-rebase-githook.sh",
"post-rewrite:comment": "Automatically run 'yarn install' on post-rewrite if `yarn.lock` changed",
"post-rewrite": "$(pwd)/scripts/post-merge-or-rebase-githook.sh",
"pre-commit:comment": "Makes sure we don't commit bad code",
"pre-commit": "yarn lint-staged",
"pre-commit": "lint-staged",
"pre-push:comment": "Run healthcheck on prepush to ensure no bad code makes it to GitLab",
"pre-push": "yarn health"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment