Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 504070f3
authored
Mar 17, 2025
by
chen-d-yu
Committed by
GitHub
Mar 17, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: vsh stylelint script fixed (#5729)
1 parent
feab6b3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
scripts/vsh/src/lint/index.ts
scripts/vsh/src/lint/index.ts
View file @
504070f
...
@@ -13,7 +13,7 @@ async function runLint({ format }: LintCommandOptions) {
...
@@ -13,7 +13,7 @@ async function runLint({ format }: LintCommandOptions) {
// process.env.FORCE_COLOR = '3';
// process.env.FORCE_COLOR = '3';
if
(
format
)
{
if
(
format
)
{
await
execaCommand
(
`stylelint "**/*.{vue,css,less
.
scss}" --cache --fix`
,
{
await
execaCommand
(
`stylelint "**/*.{vue,css,less
,
scss}" --cache --fix`
,
{
stdio
:
'inherit'
,
stdio
:
'inherit'
,
});
});
await
execaCommand
(
`eslint . --cache --fix`
,
{
await
execaCommand
(
`eslint . --cache --fix`
,
{
...
@@ -31,7 +31,7 @@ async function runLint({ format }: LintCommandOptions) {
...
@@ -31,7 +31,7 @@ async function runLint({ format }: LintCommandOptions) {
execaCommand
(
`prettier . --ignore-unknown --check --cache`
,
{
execaCommand
(
`prettier . --ignore-unknown --check --cache`
,
{
stdio
:
'inherit'
,
stdio
:
'inherit'
,
}),
}),
execaCommand
(
`stylelint "**/*.{vue,css,less
.
scss}" --cache`
,
{
execaCommand
(
`stylelint "**/*.{vue,css,less
,
scss}" --cache`
,
{
stdio
:
'inherit'
,
stdio
:
'inherit'
,
}),
}),
]);
]);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment