mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 23:56:13 +02:00

[TASK] Rename the CSS lint npm command (#1406)

The name of the command should reflect the type of file that gets
linted.

This is a pre-patch to #1396.
This commit is contained in:
Oliver Klee 2024-07-30 20:46:53 +02:00 committed by GitHub
parent 880f995047
commit a6710987bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
command: command:
- "style" - "css"
- "js" - "js"
steps: steps:
- name: "Checkout" - name: "Checkout"

View file

@ -8,4 +8,4 @@ style-lint:
extends: .default-frontend extends: .default-frontend
stage: lint stage: lint
script: script:
- npm run ci:lint:style - npm run ci:lint:css

View file

@ -16,8 +16,8 @@
"scripts": { "scripts": {
"ci:lint:js": "eslint 'Resources/Public/**/*.js'", "ci:lint:js": "eslint 'Resources/Public/**/*.js'",
"fix:lint:js": "eslint 'Resources/Public/**/*.js' --quiet --fix", "fix:lint:js": "eslint 'Resources/Public/**/*.js' --quiet --fix",
"ci:lint:style": "stylelint Resources/Public/**/*.css", "ci:lint:css": "stylelint Resources/Public/**/*.css",
"fix:lint:style": "stylelint Resources/Public/**/*.css --fix" "fix:lint:css": "stylelint Resources/Public/**/*.css --fix"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^9.2.0", "eslint": "^9.2.0",