mirror of https://github.com/astral-sh/ruff
Remove unused ts directive (#7829)
See: https://github.com/astral-sh/ruff/actions/runs/6421876406/job/17437188754
This commit is contained in:
parent
1eac457c1b
commit
27def479bd
|
|
@ -51,7 +51,6 @@ export default function SourceEditor({
|
||||||
const codeActionProvider = monaco?.languages.registerCodeActionProvider(
|
const codeActionProvider = monaco?.languages.registerCodeActionProvider(
|
||||||
"python",
|
"python",
|
||||||
{
|
{
|
||||||
// @ts-expect-error: The type definition is wrong.
|
|
||||||
provideCodeActions: function (model, position) {
|
provideCodeActions: function (model, position) {
|
||||||
const actions = diagnostics
|
const actions = diagnostics
|
||||||
.filter((check) => position.startLineNumber === check.location.row)
|
.filter((check) => position.startLineNumber === check.location.row)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue