File tree 5 files changed +350
-117
lines changed
5 files changed +350
-117
lines changed Original file line number Diff line number Diff line change 25
25
- :install:npm:eslint
26
26
- :install:software:unbuffer
27
27
desc : Fix ESLint errors automatically
28
- vars :
29
- ESLINT_LOG :
30
- sh : mktemp
31
28
summary : |
32
29
# Fix Errors with ESLint Automatically
33
30
40
37
41
38
**Example fixing all files in a project:**
42
39
`task fix:js`
40
+ vars :
41
+ ESLINT_LOG :
42
+ sh : mktemp
43
43
log :
44
44
error : ESLint found some issues that need to be fixed manually
45
45
start : Auto-fixing with ESLint
Original file line number Diff line number Diff line change @@ -597,6 +597,15 @@ tasks:
597
597
status :
598
598
- type git > /dev/null
599
599
600
+ git-issue:admin :
601
+ run : once
602
+ cmds :
603
+ - git clone https://github.com/dspinellis/git-issue.git .git-issue
604
+ - |
605
+ cd .git-issue
606
+ sudo make install
607
+ - rm -rf .git-issue
608
+
600
609
gitlab-runner :
601
610
run : once
602
611
cmds :
@@ -611,15 +620,6 @@ tasks:
611
620
vars :
612
621
PACKAGE : gitleaks
613
622
614
- git-issue:admin :
615
- run : once
616
- cmds :
617
- - git clone https://github.com/dspinellis/git-issue.git .git-issue
618
- - |
619
- cd .git-issue
620
- sudo make install
621
- - rm -rf .git-issue
622
-
623
623
glab :
624
624
run : once
625
625
cmds :
Original file line number Diff line number Diff line change @@ -489,6 +489,12 @@ tasks:
489
489
success :
490
490
deps :
491
491
- :install:software:jq
492
+ summary : |
493
+ | Command property | Description |
494
+ |------------------|---------------------------------------------------------------------------------------------------------------------|
495
+ | `exit code` | Any non `0` code is considered as an unexpected error and will stop the `semantic-release` execution with an error. |
496
+ | `stdout` | Can be used for logging. |
497
+ | `stderr` | Can be used for logging. |
492
498
env :
493
499
PACKAGE_JSON :
494
500
sh : jq -r '.' package.json
@@ -498,12 +504,6 @@ tasks:
498
504
sh : mktemp
499
505
VARIABLES_JSON :
500
506
sh : jq -r '.' .variables.json
501
- summary : |
502
- | Command property | Description |
503
- |------------------|---------------------------------------------------------------------------------------------------------------------|
504
- | `exit code` | Any non `0` code is considered as an unexpected error and will stop the `semantic-release` execution with an error. |
505
- | `stdout` | Can be used for logging. |
506
- | `stderr` | Can be used for logging. |
507
507
cmds :
508
508
- jq -n --arg pkg "$PACKAGE_JSON" --arg release "$RELEASE_JSON" --arg vars "$VARIABLES_JSON"
509
509
' .["package.json"] = $pkg | .[".release.json"] = $release | .[".variables.json"] = $vars' > "$TMP"
You can’t perform that action at this time.
0 commit comments