ui_migration build(ci) added package and ci commands for stylelint --max-warnings=0 and --fix
This commit is contained in:
parent
c7a49ffe0e
commit
caf2157c04
2 changed files with 4 additions and 1 deletions
|
|
@ -158,6 +158,7 @@ eslint:
|
||||||
script:
|
script:
|
||||||
# Build JS application for production
|
# Build JS application for production
|
||||||
- npm run lint
|
- npm run lint
|
||||||
|
- npm run lint:style
|
||||||
|
|
||||||
# Build JS app
|
# Build JS app
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,9 @@
|
||||||
"serve": "vite serve --mode development",
|
"serve": "vite serve --mode development",
|
||||||
"build": "vite build --mode production",
|
"build": "vite build --mode production",
|
||||||
"lint": "eslint . --ignore-pattern .gitignore --max-warnings=0",
|
"lint": "eslint . --ignore-pattern .gitignore --max-warnings=0",
|
||||||
"lint:fix": "eslint . --fix --ignore-pattern .gitignore"
|
"lint:fix": "eslint . --fix --ignore-pattern .gitignore",
|
||||||
|
"lint:style": "stylelint \"src/**/*.{vue,less,css}\" --max-warnings=0",
|
||||||
|
"lint:style:fix": "stylelint \"src/**/*.{vue,less,css}\" --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^14.1.0",
|
"@vueuse/core": "^14.1.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue