Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Allowing / Denying Multiple Lints
* `all` - All categories listed above except `nursery`. Does not enable plugins
automatically.
-A, --allow=NAME Allow the rule or category (suppress the lint)
-W, --warn=NAME Deny the rule or category (emit a warning)
-W, --warn=NAME Warn on the rule or category (emit a warning)
-D, --deny=NAME Deny the rule or category (emit an error)
Enable/Disable Plugins
Expand Down
7 changes: 0 additions & 7 deletions packages/cli/rules/vite-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ rule:
regex: 'vite\s+(-v|--version)'
fix: vp


# vite => vp dev (handles all cases: with/without env var prefix and flag args)
# Match command_name to preserve env var prefix and arguments
# Excludes subcommands like "vite build", "vite test", etc.
Expand All @@ -27,7 +26,6 @@ rule:
regex: 'vite\s+[^-]'
fix: vp dev


# vite <subcommand> => vp <subcommand> (handles vite build, vite test, vite dev, etc.)
# Match command_name when followed by a subcommand, replace only the command name
---
Expand All @@ -41,7 +39,6 @@ rule:
regex: 'vite\s+[^-]'
fix: vp


# oxlint => vp lint (handles all cases: with/without env var prefix and args)
# Match command_name to preserve env var prefix and arguments
---
Expand All @@ -52,7 +49,6 @@ rule:
regex: '^oxlint$'
fix: vp lint


# oxfmt => vp fmt
---
id: replace-oxfmt
Expand All @@ -62,7 +58,6 @@ rule:
regex: '^oxfmt$'
fix: vp fmt


# vitest => vp test
---
id: replace-vitest
Expand All @@ -72,7 +67,6 @@ rule:
regex: '^vitest$'
fix: vp test


# lint-staged => vp staged
---
id: replace-lint-staged
Expand All @@ -82,7 +76,6 @@ rule:
regex: '^lint-staged$'
fix: vp staged


# tsdown => vp pack
---
id: replace-tsdown
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"@oxc-node/core": "catalog:",
"@tsdown/css": "catalog:",
"@tsdown/exe": "catalog:",
"@vitejs/devtools": "^0.4.10",
"@vitejs/devtools": "^0.4.11",
"es-module-lexer": "^1.7.0",
"hookable": "^6.0.1",
"magic-string": "^0.30.21",
Expand Down
Loading
Loading