mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 08:16:13 +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
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
command:
|
command:
|
||||||
- "style"
|
- "css"
|
||||||
- "js"
|
- "js"
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue