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:
parent
880f995047
commit
a6710987bf
3 changed files with 4 additions and 4 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -96,7 +96,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
command:
|
||||
- "style"
|
||||
- "css"
|
||||
- "js"
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
|
|
|
@ -8,4 +8,4 @@ style-lint:
|
|||
extends: .default-frontend
|
||||
stage: lint
|
||||
script:
|
||||
- npm run ci:lint:style
|
||||
- npm run ci:lint:css
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue