ci: call the right scripts for the js lint stage
This commit is contained in:
parent
cb3935bf12
commit
4730411e9b
|
@ -52,8 +52,8 @@ lint-js:
|
||||||
script:
|
script:
|
||||||
- npm run prettier
|
- npm run prettier
|
||||||
- npm run typecheck
|
- npm run typecheck
|
||||||
- npm run eslint
|
- npm run lint
|
||||||
- npm run stylelint
|
- npm run lint:css
|
||||||
dependencies:
|
dependencies:
|
||||||
- js-dependencies
|
- js-dependencies
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
"lint": "eslint --ext js,ts app/Views/_assets",
|
"lint": "eslint --ext js,ts app/Views/_assets",
|
||||||
"lint:fix": "eslint --ext js,ts app/Views/_assets --fix",
|
"lint:fix": "eslint --ext js,ts app/Views/_assets --fix",
|
||||||
"lint:css": "stylelint \"app/Views/_assets/**/*.css\"",
|
"lint:css": "stylelint \"app/Views/_assets/**/*.css\"",
|
||||||
|
"lint:css:fix": "stylelint --fix \"app/Views/_assets/**/*.css\"",
|
||||||
"prettier": "prettier --check --ignore-path .gitignore .",
|
"prettier": "prettier --check --ignore-path .gitignore .",
|
||||||
"prettier:fix": "prettier --write --ignore-path .gitignore .",
|
"prettier:fix": "prettier --write --ignore-path .gitignore .",
|
||||||
"typecheck": "tsc",
|
"typecheck": "tsc",
|
||||||
|
|
Loading…
Reference in New Issue