From 4730411e9b4f04c9594927ba597b7131b6ab4093 Mon Sep 17 00:00:00 2001 From: Yassine Doghri Date: Tue, 25 May 2021 08:22:07 +0000 Subject: [PATCH] ci: call the right scripts for the js lint stage --- .gitlab-ci.yml | 4 ++-- package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8c6a991..0729c602 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,8 +52,8 @@ lint-js: script: - npm run prettier - npm run typecheck - - npm run eslint - - npm run stylelint + - npm run lint + - npm run lint:css dependencies: - js-dependencies diff --git a/package.json b/package.json index 92a7a2d2..ce64eeb8 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "lint": "eslint --ext js,ts app/Views/_assets", "lint:fix": "eslint --ext js,ts app/Views/_assets --fix", "lint:css": "stylelint \"app/Views/_assets/**/*.css\"", + "lint:css:fix": "stylelint --fix \"app/Views/_assets/**/*.css\"", "prettier": "prettier --check --ignore-path .gitignore .", "prettier:fix": "prettier --write --ignore-path .gitignore .", "typecheck": "tsc",