mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
(cherry picked from commit 47354fa7d3
)
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
822781c820
commit
7be703762e
1 changed files with 2 additions and 2 deletions
|
@ -16,9 +16,9 @@ echo '--- Lint: eslint'
|
|||
# after possibly commiting fixed files to the repo
|
||||
set +e;
|
||||
if is_pr && ! is_auto_commit_disabled; then
|
||||
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 6 node scripts/eslint --no-cache --fix
|
||||
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 4 node scripts/eslint --no-cache --fix
|
||||
else
|
||||
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 6 node scripts/eslint --no-cache
|
||||
git ls-files | grep -E '\.(js|mjs|ts|tsx)$' | xargs -n 250 -P 4 node scripts/eslint --no-cache
|
||||
fi
|
||||
|
||||
eslint_exit=$?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue