oxc/tasks/website/Cargo.toml
DonIsaac 8f2a566f9f test(linter): ensure rule docs have valid syntax (#4644)
Adds tests for rule documentation by
1. Compiling doc markdown into HTML, which ensures docs use valid markdown syntax
2. Converts the generated HTML into JSX and parses the results with the parser, ensuring the generated HTML is valid

Has the added benefit of adding a lot of JSX test cases to the parser. I've also fixed all violations for these tests in this PR.
2024-08-10 05:03:09 +00:00

40 lines
911 B
TOML

[package]
name = "website"
version = "0.0.0"
publish = false
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[[bin]]
name = "website"
test = false
doctest = false
[lib]
doctest = false
[dependencies]
oxc_linter = { workspace = true }
oxlint = { path = "../../apps/oxlint" }
pico-args = { workspace = true }
serde_json = { workspace = true }
schemars = { workspace = true }
handlebars = { workspace = true }
serde = { workspace = true }
bpaf = { workspace = true, features = ["docgen"] }
[dev-dependencies]
oxc_allocator = { workspace = true }
oxc_diagnostics = { workspace = true }
oxc_parser = { workspace = true }
oxc_span = { workspace = true }
insta = { workspace = true }
markdown = { version = "1.0.0-alpha.18" }
scraper = { version = "0.20.0" }
[package.metadata.cargo-shear]
ignored = ["bpaf"]