0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-21 21:03:16 -05:00
denoland-deno/cli
Marvin Hagemeister 615bf8a4b0
feat(unstable): type lint plugin visitor (#28005)
This PR strongly types the JS plugin visitor.

```ts
export default {
  name: "foo",
  rules: {
    bar: {
      create(ctx) {
        return {
          // Plain ast node visitor
          Identifier(node) {},

          // Exit visitor
          "Identifier:exit"(node) {},

          // Custom selectors, `node` needs to be typed manually
          "FunctionDeclaration > Identifier"(node: Deno.lint.Identifier) {}
        }
      }
    }
  }
}

```

Follow up to https://github.com/denoland/deno/pull/27977
2025-02-07 13:01:33 +01:00
..
args feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00
bench feat(ext/node): implement node:sqlite (#27308) 2025-01-28 19:30:03 +05:30
cache refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
js feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00
lib fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
lsp fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
npm feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
ops feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00
rt fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
schemas feat(unstable): add lint.plugins to config schema (#27982) 2025-02-06 08:00:23 +00:00
snapshot feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
standalone perf(compile): use bytes already in memory after downloading executable (#28000) 2025-02-06 23:24:06 -05:00
tools fix: panic with js lint plugins and invalid js syntax (#28006) 2025-02-07 12:35:44 +01:00
tsc feat(unstable): type lint plugin visitor (#28005) 2025-02-07 13:01:33 +01:00
util feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00
build.rs feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
Cargo.toml feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00
cdp.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
clippy.toml refactor: do not use deno_fs::FileSystem everywhere (#27508) 2024-12-31 11:29:07 -05:00
deno.ico
emit.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
entitlements.plist chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
factory.rs fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
file_fetcher.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
graph_container.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
graph_util.rs fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
http_util.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
integration_tests_runner.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
js.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
jsr.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
main.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
module_loader.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
node.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
task_runner.rs refactor: add 'deno_os' crate (#27655) 2025-01-14 17:29:36 +01:00
worker.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.