diff --git a/scripts/release/README.md b/scripts/release/README.md index 3dbb26c5b7d8..d89679b18d16 100644 --- a/scripts/release/README.md +++ b/scripts/release/README.md @@ -6,7 +6,7 @@ node ./scripts/release/release.js --version NEW_VERSION ``` -The script its own `package.json` so we can reinstall the root's `node_modules/` while making the release. +The script has its own `package.json` so we can reinstall the root's `node_modules/` while making the release. ## Credits diff --git a/scripts/release/steps/bump-prettier.js b/scripts/release/steps/bump-prettier.js index cfed3455b66d..a8dfb314c14f 100644 --- a/scripts/release/steps/bump-prettier.js +++ b/scripts/release/steps/bump-prettier.js @@ -5,8 +5,8 @@ const semver = require("semver"); const { logPromise, readJson, writeJson } = require("../utils"); async function format() { - await execa("yarn", ["lint", "--fix"]); - await execa("yarn", ["lint-docs", "--fix"]); + await execa("yarn", ["lint:eslint", "--fix"]); + await execa("yarn", ["lint:prettier", "--write"]); } async function commit(version) { diff --git a/scripts/release/steps/run-tests.js b/scripts/release/steps/run-tests.js index 970f5f78c7dc..5aeb5bdf6df2 100644 --- a/scripts/release/steps/run-tests.js +++ b/scripts/release/steps/run-tests.js @@ -3,7 +3,7 @@ const { runYarn, logPromise } = require("../utils"); module.exports = async function() { - await logPromise("Running linter", runYarn("lint")); - await logPromise("Running linter on docs", runYarn("lint-docs")); + await logPromise("Running linter", runYarn("lint:eslint")); + await logPromise("Running linter on docs", runYarn("lint:prettier")); await logPromise("Running tests", runYarn("test")); };