diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-21 14:18:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 14:18:59 -0700 |
commit | ffbcad3800ef086bad791c1c640b62fd72d60172 (patch) | |
tree | f350a54862928e19ba93a75b71a4c4bebcc974f3 /tests/specs/lint/lint_fix/a.ts | |
parent | 2166aa8fb6be5fdd6d607db587e236de11b6fb91 (diff) |
feat(lint): `deno lint --fix` and lsp quick fixes (#22615)
Adds a `--fix` option to deno lint. This currently doesn't work for
basically any rules, but we can add them over time to deno lint.
Diffstat (limited to 'tests/specs/lint/lint_fix/a.ts')
-rw-r--r-- | tests/specs/lint/lint_fix/a.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/specs/lint/lint_fix/a.ts b/tests/specs/lint/lint_fix/a.ts new file mode 100644 index 000000000..6a1b87bc4 --- /dev/null +++ b/tests/specs/lint/lint_fix/a.ts @@ -0,0 +1,4 @@ +import { Type } from "./test.ts"; +export type MyType = Type; +console.log(window.value); +window.fetch; |