mirror of https://github.com/astral-sh/ruff
Add code kind to Quick Fix action
This commit is contained in:
parent
0c215365ae
commit
bfdf972a5d
|
|
@ -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…
Reference in New Issue