mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 18:46:11 +01: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
matrix:
command:
- "style"
- "css"
- "js"
steps:
- name: "Checkout"

View file

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

View file

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