mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 23:25:14 +00:00
Add code kind to Quick Fix action
This commit is contained in:
parent
0c215365ae
commit
bfdf972a5d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export default function SourceEditor({
|
|||
.filter((check) => check.fix)
|
||||
.map((check) => ({
|
||||
title: check.fix
|
||||
? check.fix.message ?? `Fix ${check.code}`
|
||||
? `${check.code}: ${check.fix.message}` ?? `Fix ${check.code}`
|
||||
: "Autofix",
|
||||
id: `fix-${check.code}`,
|
||||
kind: "quickfix",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue