{ "name": "biome", "version": "2.5.15", "summary": "Biome: formats and lints JavaScript, TypeScript, JSON, CSS and GraphQL, one fast program in place of Prettier and ESLint (Rust)", "category": "tool", "license": "MIT OR Apache-2.0", "homepage": "https://biomejs.dev/", "source": { "url": "https://github.com/biomejs/biome/archive/refs/tags/@biomejs/biome@2.5.15.tar.gz", "sha256": "0212a8f9e351e2d47580cf8371948dd477ceb01e0fef1a65f81061a2a4a39039" }, "watch": {"kind": "github-release", "repo": "biomejs/biome", "tag_regex": "^@biomejs/biome@([0-9]+\\.[0-9]+\\.[0-9]+)$", "revendor": {"tool": "cargo", "lockfile": "Cargo.lock"}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": true, "check": "bin/biome --version | has -x 'Version: 2.5.15' && t=$(mktemp -d) && p=$PWD && cd \"$t\" && printf '{}\\n' > biome.json && printf 'let a = 1\\nconst b = {x:1,y:2}\\nif (a == 1) { console.log(b) }\\n' > a.js && ! HOME=$t \"$p/bin/biome\" lint --colors=off a.js < /dev/null > lint.txt 2>&1 && has 'a.js:1:1 lint/style/useConst' < lint.txt && has 'a.js:3:7 lint/suspicious/noDoubleEquals' < lint.txt && HOME=$t \"$p/bin/biome\" format --write --colors=off a.js < /dev/null > /dev/null 2>&1 && [ \"$(cat a.js)\" = \"$(printf 'let a = 1;\\nconst b = { x: 1, y: 2 };\\nif (a == 1) {\\n\\tconsole.log(b);\\n}')\" ] && echo 'biome 2.5.15: a JavaScript file linted (useConst, noDoubleEquals at their places) and formatted to a known text'" }