mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 23:25:14 +00:00
Use trailingComma: 'all' (#1457)
This commit is contained in:
parent
2c7464604a
commit
9db825c731
9 changed files with 19 additions and 16 deletions
|
@ -44,7 +44,7 @@ export default function SourceEditor({
|
|||
check.code === "F401" || check.code === "F841"
|
||||
? [MarkerTag.Unnecessary]
|
||||
: [],
|
||||
}))
|
||||
})),
|
||||
);
|
||||
|
||||
const codeActionProvider = monaco?.languages.registerCodeActionProvider(
|
||||
|
@ -81,7 +81,7 @@ export default function SourceEditor({
|
|||
}));
|
||||
return { actions, dispose: () => {} };
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
return () => {
|
||||
|
@ -93,7 +93,7 @@ export default function SourceEditor({
|
|||
(value: string | undefined) => {
|
||||
onChange(value ?? "");
|
||||
},
|
||||
[onChange]
|
||||
[onChange],
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue