Skip to content

Commit

Permalink
chore: remove DSL based linter plugin (#1985)
Browse files Browse the repository at this point in the history
Due to maintenance issues, we are going to stop exploring a linter based
DSL plugins.
  • Loading branch information
Boshen authored Jan 11, 2024
1 parent e0da12a commit 0f66745
Show file tree
Hide file tree
Showing 78 changed files with 22 additions and 16,465 deletions.
2 changes: 0 additions & 2 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,5 @@ ignore:
- "crates/oxc_wasm" # Remove this once wasm is completed
- "crates/oxc_diagnostics"
- "crates/oxc_type_synthesis"
- "crates/oxc_query" # Not aiming for test coverage right now with @u9g
- "crates/oxc_linter_plugin"
- "crates/oxc_transformer" # not ready
- "crates/oxc_js_regex" # not ready
2 changes: 0 additions & 2 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
- 'crates/oxc/**'
- 'crates/oxc_cli/**'
- 'crates/oxc_linter/**'
- 'crates/oxc_query/**'
- 'crates/oxc_type_synthesis/**'
- 'crates/oxc_wasm/**'
- 'crates/oxc_prettier/**'
Expand All @@ -30,7 +29,6 @@ on:
- 'crates/oxc/**'
- 'crates/oxc_cli/**'
- 'crates/oxc_linter/**'
- 'crates/oxc_query/**'
- 'crates/oxc_type_synthesis/**'
- 'crates/oxc_wasm/**'

Expand Down
1 change: 0 additions & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ extend-exclude = [
"crates/oxc_syntax/src/xml_entities.rs",
"**/*.snap",
"pnpm-lock.yaml",
"crates/oxc_linter_plugin/examples/queries/unicorn/prefer-string-slice/rule.yml"
]

[default.extend-words]
Expand Down
169 changes: 0 additions & 169 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ oxc_transformer = { version = "0.4.0", path = "crates/oxc_transformer" }
oxc_macros = { path = "crates/oxc_macros" }
oxc_linter = { path = "crates/oxc_linter" }
oxc_type_synthesis = { path = "crates/oxc_type_synthesis" }
oxc_query = { path = "crates/oxc_query" }
oxc_linter_plugin = { path = "crates/oxc_linter_plugin" }
oxc_prettier = { path = "crates/oxc_prettier" }

oxc_tasks_common = { path = "tasks/common" }
Expand Down Expand Up @@ -130,7 +128,6 @@ static_assertions = { version = "1.1.0" }
stacker = { version = "0.1.15" }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3" }
trustfall = { version = "0.6.1" }
insta = { version = "1.34.0", features = ["glob"] }
codspeed-criterion-compat = { version = "2.3.3", default-features = false }
glob = { version = "0.3.1" }
Expand Down
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,6 @@ this lets you run the linter without a Node.js installation in your CI.
</ul>
</details>

#### Linter Plugin

We are currently developing a DSL-based plugin system.
The plugin system uses [trustfall] as its query engine and a subset of GraphQL as its query language.

You will not need to use JavaScript or Rust to write a plugin, this is useful for QAs and security researchers.

### 🔸 Resolver

Module resolution plays a crucial role in JavaScript tooling, especially for tasks like multi-file analysis or bundling. However, it can often become a performance bottleneck.
Expand Down Expand Up @@ -254,7 +247,6 @@ And also

- [@kaleidawave](https://github.com/kaleidawave) for [Ezno Type Checker](#-ezno-type-checker)
- [@zackradisic](https://github.com/zackradisic) for [tyvm](https://github.com/zackradisic/tyvm)
- [@u9g](https://github.com/u9g) for the work in progress [oxc_linter_plugin](./crates/oxc_linter_plugin)

## 📖 License

Expand Down Expand Up @@ -328,6 +320,5 @@ Oxc partially copies code from the following projects, their licenses are listed
[swc]: https://swc.rs
[tdewolff-minify]: https://github.com/tdewolff/minify
[terser]: https://terser.org
[trustfall]: https://github.com/obi1kenobi/trustfall
[vscode]: https://github.com/microsoft/vscode
[@typescript-eslint]: https://typescript-eslint.io
36 changes: 18 additions & 18 deletions crates/oxc_language_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ name = "oxc_language_server"
test = false

[dependencies]
oxc_allocator = { workspace = true }
oxc_diagnostics = { workspace = true }
oxc_linter = { workspace = true }
oxc_parser = { workspace = true }
oxc_semantic = { workspace = true }
oxc_span = { workspace = true }
dashmap = { workspace = true }
env_logger = { workspace = true }
futures = { workspace = true }
ignore = { workspace = true, features = ["simd-accel"] }
miette = { workspace = true, features = ["fancy-no-backtrace"] }
ropey = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tower-lsp = { workspace = true, features = ["proposed"] }
log = "0.4.20"
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
globset = "0.4.14"
oxc_allocator = { workspace = true }
oxc_diagnostics = { workspace = true }
oxc_linter = { workspace = true }
oxc_parser = { workspace = true }
oxc_semantic = { workspace = true }
oxc_span = { workspace = true }
dashmap = { workspace = true }
env_logger = { workspace = true }
futures = { workspace = true }
ignore = { workspace = true, features = ["simd-accel"] }
miette = { workspace = true, features = ["fancy-no-backtrace"] }
ropey = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tower-lsp = { workspace = true, features = ["proposed"] }
log = "0.4.20"
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
globset = "0.4.14"
Loading

0 comments on commit 0f66745

Please sign in to comment.