Skip to content

Commit e22ec9c

Browse files
committed
chore: fix lint issue
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 2ab073c commit e22ec9c

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/linters/.jscpd.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"threshold": 5,
3-
"ignore": [
4-
"/workspace/actions/**/README.md"
5-
]
3+
"ignore": ["/workspace/actions/**/README.md"]
64
}

.github/workflows/__shared-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
linter-env: |
2424
VALIDATE_KUBERNETES_KUBECONFORM=false
2525
VALIDATE_CHECKOV=false
26+
VALIDATE_JAVASCRIPT_PRETTIER=false
2627
2728
test-action-docker-build-image:
2829
needs: linter

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ lint: ## Execute linting
88

99
lint-fix: ## Execute linting and fix
1010
$(call run_linter, \
11+
-e FIX_JSON_PRETTIER=true \
12+
-e FIX_JAVASCRIPT_PRETTIER=true \
13+
-e FIX_JAVASCRIPT_STANDARD=true \
1114
-e FIX_YAML_PRETTIER=true \
1215
-e FIX_MARKDOWN=true \
1316
-e FIX_MARKDOWN_PRETTIER=true \

actions/docker/prune-pull-requests-image-tags/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = async ({
1111

1212
let currentPage = 1
1313
const allDeletedTags = []
14-
while (true) {
14+
for (;;) {
1515
const data = await getAllPackageVersions({
1616
github,
1717
context,

0 commit comments

Comments
 (0)