repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/process_file/lint_and_assist.rs | crates/biome_cli/src/execute/process_file/lint_and_assist.rs | use crate::TraversalMode;
use crate::execute::diagnostics::{ResultExt, SkippedDiagnostic};
use crate::execute::process_file::workspace_file::WorkspaceFile;
use crate::execute::process_file::{FileResult, FileStatus, Message, SharedTraversalOptions};
use biome_analyze::RuleCategories;
use biome_diagnostics::{Diagnostic, ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/process_file/check.rs | crates/biome_cli/src/execute/process_file/check.rs | use crate::execute::process_file::format::format_with_guard;
use crate::execute::process_file::lint_and_assist::analyze_with_guard;
use crate::execute::process_file::workspace_file::WorkspaceFile;
use crate::execute::process_file::{FileResult, FileStatus, Message, SharedTraversalOptions};
use biome_analyze::RuleCategor... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/process_file/search.rs | crates/biome_cli/src/execute/process_file/search.rs | use crate::execute::TraversalMode;
use crate::execute::diagnostics::{ResultExt, SearchDiagnostic};
use crate::execute::process_file::workspace_file::WorkspaceFile;
use crate::execute::process_file::{FileResult, FileStatus, Message, SharedTraversalOptions};
use biome_diagnostics::{DiagnosticExt, category};
use biome_fs:... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/process_file/format.rs | crates/biome_cli/src/execute/process_file/format.rs | use crate::execute::diagnostics::{ResultExt, SkippedDiagnostic};
use crate::execute::process_file::workspace_file::WorkspaceFile;
use crate::execute::process_file::{
DiffKind, FileResult, FileStatus, Message, SharedTraversalOptions,
};
use biome_analyze::RuleCategoriesBuilder;
use biome_diagnostics::{Diagnostic, Di... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/eslint.rs | crates/biome_cli/src/execute/migrate/eslint.rs | use crate::CliDiagnostic;
use crate::diagnostics::MigrationDiagnostic;
use biome_console::{Console, ConsoleExt, markup};
use biome_deserialize::Merge;
use biome_deserialize::json::deserialize_from_json_str;
use biome_diagnostics::{DiagnosticExt, PrintDiagnostic};
use biome_fs::{FileSystem, OpenOptions};
use biome_json_... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/node.rs | crates/biome_cli/src/execute/migrate/node.rs | use std::process::Command;
use crate::{CliDiagnostic, diagnostics::MigrationDiagnostic};
/// Imports `specifier` using Node's `import()` or node's `require()` and
/// returns the JSONified content of its default export.
pub(crate) fn load_config(specifier: &str) -> Result<Resolution, CliDiagnostic> {
let content_... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/eslint_unicorn.rs | crates/biome_cli/src/execute/migrate/eslint_unicorn.rs | /// Configuration related to the
/// [Unicorn Eslint plugin](https://github.com/sindresorhus/eslint-plugin-unicorn).
///
/// ALso, the module includes implementation to convert rule options to Biome's rule options.
use biome_deserialize_macros::Deserializable;
use biome_rule_options::use_filenaming_convention;
use smal... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/eslint_jsxa11y.rs | crates/biome_cli/src/execute/migrate/eslint_jsxa11y.rs | /// Configuration related to the
/// [JSX A11y Eslint plugin](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y).
///
/// Also, the module includes implementation to convert rule options to Biome's rule options.
use biome_deserialize_macros::Deserializable;
use biome_rule_options::use_valid_aria_role;
#[derive(Debu... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/prettier.rs | crates/biome_cli/src/execute/migrate/prettier.rs | use super::{eslint_eslint::ShorthandVec, node};
use crate::CliDiagnostic;
use crate::diagnostics::MigrationDiagnostic;
use anyhow::{Context, Error};
use biome_configuration::HtmlConfiguration;
use biome_configuration::html::HtmlFormatterConfiguration;
use biome_configuration::javascript::JsFormatterConfiguration;
use b... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/eslint_typescript.rs | crates/biome_cli/src/execute/migrate/eslint_typescript.rs | use std::{cmp::Ordering, str::FromStr};
use super::eslint_eslint;
/// Configuration related to [TypeScript Eslint](https://typescript-eslint.io/).
///
/// Also, the module includes implementation to convert rule options to Biome's rule options.
use biome_deserialize::Deserializable;
use biome_deserialize_macros::Deser... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/eslint_any_rule_to_biome.rs | crates/biome_cli/src/execute/migrate/eslint_any_rule_to_biome.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
use super::{eslint_eslint, eslint_to_biome};
pub(crate) fn migrate_eslint_any_rule(
rules: &mut biome_configuration::Rules,
eslint_name: &str,
rule_severity: eslint_eslint::Severity,
options: &eslint_to_biome::MigrationOptions,
results: &... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/eslint_to_biome.rs | crates/biome_cli/src/execute/migrate/eslint_to_biome.rs | use std::collections::BTreeSet;
use super::{eslint_any_rule_to_biome::migrate_eslint_any_rule, eslint_eslint, eslint_typescript};
use biome_configuration::analyzer::SeverityOrGroup;
use biome_configuration::{self as biome_config};
use biome_console::markup;
use biome_deserialize::Merge;
use biome_diagnostics::Location... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/ignorefile.rs | crates/biome_cli/src/execute/migrate/ignorefile.rs | use biome_fs::{FileSystem, OpenOptions};
use camino::Utf8Path;
use std::io;
/// Read an ignore file that follows gitignore pattern syntax,
/// and turn them into a list of UNIX glob patterns.
pub(crate) fn read_ignore_file(
fs: &dyn FileSystem,
ignore_filename: &str,
) -> io::Result<IgnorePatterns> {
let m... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/src/execute/migrate/eslint_eslint.rs | crates/biome_cli/src/execute/migrate/eslint_eslint.rs | use biome_deserialize::{
Deserializable, DeserializableType, DeserializableTypes, DeserializableValue,
DeserializationContext, DeserializationDiagnostic, DeserializationVisitor, Merge,
};
use biome_deserialize_macros::Deserializable;
use biome_rowan::TextRange;
use rustc_hash::FxHashMap;
use std::borrow::Cow;
u... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/main.rs | crates/biome_cli/tests/main.rs | mod cases;
mod commands;
mod configs;
#[cfg(test)]
mod snap_test;
#[cfg(test)]
use snap_test::assert_cli_snapshot;
use biome_cli::{CliDiagnostic, CliSession, biome_command};
use biome_console::{BufferConsole, Console, ConsoleExt, markup};
use biome_fs::{MemoryFileSystem, OsFileSystem};
use biome_resolver::FsWithResol... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/configs.rs | crates/biome_cli/tests/configs.rs | pub const CONFIG_FORMAT: &str = r#"{
"formatter": {
"enabled": true,
"lineWidth": 160,
"indentStyle": "space",
"indentWidth": 6
}
}
"#;
pub const CONFIG_FORMAT_JSONC: &str = r#"{
// Formatting options
"formatter": {
"lineWidth": 10,
"indentStyle": "space",
"indentWidth": 8
}
}
"#;... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/snap_test.rs | crates/biome_cli/tests/snap_test.rs | use biome_cli::CliDiagnostic;
use biome_console::fmt::{Formatter, Termcolor};
use biome_console::{BufferConsole, Markup, markup};
use biome_diagnostics::termcolor::NoColor;
use biome_diagnostics::{Error, print_diagnostic_to_string};
use biome_formatter::{IndentStyle, IndentWidth};
use biome_fs::{ConfigName, FileSystemE... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/rules_via_dependencies.rs | crates/biome_cli/tests/cases/rules_via_dependencies.rs | //! Here, we put test cases where lint rules are enabled via package.json dependencies
use crate::run_cli_with_dyn_fs;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::TemporaryFs;
use bpaf::Args;
#[test]
fn enables_react_rules_via_dependencies() {
let ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/overrides_max_file_size.rs | crates/biome_cli/tests/cases/overrides_max_file_size.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_cli::CliDiagnostic;
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const FORMATTED: &str = "statement();\n";
const UNFORMATTED: &str = " statement( ) ";
const TEST_FIL... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/suppressions.rs | crates/biome_cli/tests/cases/suppressions.rs | use crate::snap_test::SnapshotPayload;
use crate::{FORMATTED, assert_cli_snapshot, run_cli};
use biome_console::BufferConsole;
use biome_fs::{FileSystemExt, MemoryFileSystem};
use bpaf::Args;
use camino::Utf8Path;
const SUPPRESS_BEFORE: &str = "(1 >= -0)";
const SUPPRESS_AFTER: &str =
"// biome-ignore lint/suspici... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/overrides_linter.rs | crates/biome_cli/tests/cases/overrides_linter.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const FIX_BEFORE: &str = "(1 >= -0)";
const FIX_AFTER: &str = "(1 >= 0)";
const DEBUGGER_BEFORE: &str = "debug... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/reporter_rdjson.rs | crates/biome_cli/tests/cases/reporter_rdjson.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const MAIN_1: &str = r#"import { z} from "z"
import { z, b , a} from "lodash"
a ==b
debugger
let f;
let f;"#;
const MAIN_2: &st... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/indent_script_and_style.rs | crates/biome_cli/tests/cases/indent_script_and_style.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const BIOME_CONFIG_INDENT: &str = r#"
{
"html": {
"formatter": {
"indentScriptAndStyle": true
}
}... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/cts_files.rs | crates/biome_cli/tests/cases/cts_files.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn should_allow_using_export_statements() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::de... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/diagnostics.rs | crates/biome_cli/tests/cases/diagnostics.rs | use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use crate::{UNFORMATTED, run_cli};
use biome_console::{BufferConsole, LogLevel};
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::{Utf8Path, Utf8PathBuf};
const TEST_CONTENTS: &str = "debugger;";
#[test]
fn logs_the_appropriate_messages_accordin... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/html.rs | crates/biome_cli/tests/cases/html.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn should_error_when_interpolation_is_disabled() {
let fs = MemoryFileSystem::default();
let mut console = BufferCons... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/reporter_junit.rs | crates/biome_cli/tests/cases/reporter_junit.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const MAIN_1: &str = r#"import { z} from "z"
import { z, b , a} from "lodash"
a ==b
debugger
let f;
let f;"#;
const MAIN_2: &st... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/css_parsing.rs | crates/biome_cli/tests/cases/css_parsing.rs | use crate::snap_test::SnapshotPayload;
use crate::{assert_cli_snapshot, run_cli};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
// Tests for --css-parse-css-modules flag
#[test]
fn check_css_parse_css_modules_true() {
let fs = MemoryFileSystem::default();
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/reporter_checkstyle.rs | crates/biome_cli/tests/cases/reporter_checkstyle.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const MAIN_1: &str = r#"import { z} from "z"
import { z, b , a} from "lodash"
a ==b
debugger
let f;
let f;"#;
const MAIN_2: &st... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/biome_json_support.rs | crates/biome_cli/tests/cases/biome_json_support.rs | use crate::configs::CONFIG_FORMAT;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use crate::{UNFORMATTED, run_cli};
use biome_console::BufferConsole;
use biome_fs::{FileSystemExt, MemoryFileSystem};
use bpaf::Args;
use camino::{Utf8Path, Utf8PathBuf};
const CUSTOM_CONFIGURATION_BE... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/linter_groups_plain.rs | crates/biome_cli/tests/cases/linter_groups_plain.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn enables_all_rules_when_group_is_on_with_default_severity() {
let mut console = BufferConsole::default();
let fs = ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/overrides_formatter.rs | crates/biome_cli/tests/cases/overrides_formatter.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const UNFORMATTED: &str = " statement( ) ";
const UNFORMATTED_JSON: &str = r#"{ "asta": ["lorem", "ipsum", "... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/linter_domains.rs | crates/biome_cli/tests/cases/linter_domains.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn does_enable_test_rules() {
let mut console = BufferConsole::default();
let fs = MemoryFileSystem::default();
l... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/assist.rs | crates/biome_cli/tests/cases/assist.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn assist_emit_diagnostic_but_doesnt_block() {
let fs = MemoryFileSystem::default();
let mut co... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/protected_files.rs | crates/biome_cli/tests/cases/protected_files.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, markup_to_string};
use biome_console::{BufferConsole, markup};
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn not_process_file_from_stdin_format() {
let fs = MemoryFileSystem::default();
let mut c... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/config_path.rs | crates/biome_cli/tests/cases/config_path.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn set_config_path_to_directory() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default();... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/reporter_github.rs | crates/biome_cli/tests/cases/reporter_github.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const MAIN_1: &str = r#"import { z} from "z"
import { z, b , a} from "lodash"
a ==b
debugger
let f;
let f;"#;
const MAIN_2: &st... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/included_files.rs | crates/biome_cli/tests/cases/included_files.rs | use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use crate::{run_cli, run_cli_with_dyn_fs};
use biome_console::BufferConsole;
use biome_fs::{MemoryFileSystem, TemporaryFs};
use bpaf::Args;
use camino::Utf8Path;
const UNFORMATTED: &str = " statement( ) ";
const FORMATTED: &str = "s... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/handle_svelte_files.rs | crates/biome_cli/tests/cases/handle_svelte_files.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const SVELTE_FILE_IMPORTS_BEFORE: &str = r#"<script lang="ts">
import Button from "./components/Button.svelte";... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/editorconfig.rs | crates/biome_cli/tests/cases/editorconfig.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn should_use_editorconfig() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default();
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/mod.rs | crates/biome_cli/tests/cases/mod.rs | //! Add here test cases that are not related directly to a command, but to specific
//! case that affects many commands
mod assist;
mod biome_json_support;
mod config_extends;
mod config_path;
mod css_parsing;
mod cts_files;
mod diagnostics;
mod editorconfig;
mod format_with_errors;
mod graphql;
mod handle_astro_files... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/reporter_terminal.rs | crates/biome_cli/tests/cases/reporter_terminal.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const MAIN_1: &str = r#"import { z} from "z"
import { z, b , a} from "lodash"
a ==b
a ==b
a ==b
a ==b
debugger
debugger
debugger
de... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/format_with_errors.rs | crates/biome_cli/tests/cases/format_with_errors.rs | use crate::snap_test::SnapshotPayload;
use crate::{assert_cli_snapshot, run_cli};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn check_format_with_errors_true() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default()... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/unknown_files.rs | crates/biome_cli/tests/cases/unknown_files.rs | use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use crate::{UNFORMATTED, run_cli};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn should_print_a_diagnostic_unknown_file() {
let fs = MemoryFileSystem::default();
let mut console = ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/handle_css_files.rs | crates/biome_cli/tests/cases/handle_css_files.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn should_not_format_files_by_default() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::defa... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/vcs_ignored_files.rs | crates/biome_cli/tests/cases/vcs_ignored_files.rs | use crate::run_cli_with_dyn_fs;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::TemporaryFs;
use bpaf::Args;
const UNFORMATTED: &str = " statement( ) ";
#[test]
fn include_vcs_ignore_cascade() {
let mut console = BufferConsole::default();
let mu... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/config_extends.rs | crates/biome_cli/tests/cases/config_extends.rs | use crate::run_cli;
use crate::run_cli_with_dyn_fs;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_formatter::LineWidth;
use biome_fs::{MemoryFileSystem, TemporaryFs};
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn extends_config_ok_formatter_no_linter() {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/tailwind_directives.rs | crates/biome_cli/tests/cases/tailwind_directives.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn should_parse_tailwind_directive() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/handle_astro_files.rs | crates/biome_cli/tests/cases/handle_astro_files.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, markup_to_string};
use biome_console::{BufferConsole, markup};
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const ASTRO_FILE_UNFORMATTED: &str = r#"---
import { something } from "file.astro";
statement ( ) ;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/monorepo.rs | crates/biome_cli/tests/cases/monorepo.rs | use crate::run_cli_with_dyn_fs;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::TemporaryFs;
use bpaf::Args;
use camino::Utf8Path;
const ROOT: &str = r#"
{
"javascript": {
"formatter": {
"quoteStyle": "double"
}
}
}
"#;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/json_parsing.rs | crates/biome_cli/tests/cases/json_parsing.rs | use crate::snap_test::SnapshotPayload;
use crate::{assert_cli_snapshot, run_cli};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
// Tests for --json-parse-allow-comments flag
#[test]
fn check_json_parse_allow_comments_true() {
let fs = MemoryFileSystem::def... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/migrate_v2.rs | crates/biome_cli/tests/cases/migrate_v2.rs | //! Migrations for Biome v2
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use crate::{run_cli, run_cli_with_dyn_fs};
use biome_console::BufferConsole;
use biome_fs::{MemoryFileSystem, TemporaryFs};
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn should_successfully_migrate_knip() {
let fs = Memor... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/reporter_gitlab.rs | crates/biome_cli/tests/cases/reporter_gitlab.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const MAIN_1: &str = r#"import { z} from "z"
import { z, b , a} from "lodash"
a ==b
a ==b
a ==b
a ==b
debugger
debugger
debugger
de... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/overrides_organize_imports.rs | crates/biome_cli/tests/cases/overrides_organize_imports.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const UNORGANIZED: &str = r#"import * as something from "../something";
import { lorem, foom, bar } from "foo";"#;
#[test]
fn does_h... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/reporter_summary.rs | crates/biome_cli/tests/cases/reporter_summary.rs | use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use crate::{run_cli, run_cli_with_server_workspace};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const PLUGIN: &str = r#"
`debugger` as $dbg where {
register_diagnostic(
message = "Foun... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/graphql.rs | crates/biome_cli/tests/cases/graphql.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const UNFORMATTED: &str = r#"type Query {
me: User
}
type User { id: ID name: String
}"#;
con... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/cases/handle_vue_files.rs | crates/biome_cli/tests/cases/handle_vue_files.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
const VUE_IMPLICIT_JS_FILE_UNFORMATTED: &str = r#"<script>
import { something } from "file.vue";
statement ( ) ;
</script>
<templa... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/ci.rs | crates/biome_cli/tests/commands/ci.rs | use crate::configs::{
CONFIG_DISABLED_FORMATTER, CONFIG_DISABLED_FORMATTER_JSONC, CONFIG_FILE_SIZE_LIMIT,
CONFIG_LINTER_DISABLED,
};
use crate::snap_test::{SnapshotPayload, assert_file_contents};
use crate::{
CUSTOM_FORMAT_BEFORE, FORMATTED, LINT_ERROR, PARSE_ERROR, UNFORMATTED, assert_cli_snapshot,
run... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/version.rs | crates/biome_cli/tests/commands/version.rs | use crate::snap_test::SnapshotPayload;
use crate::{assert_cli_snapshot, run_cli};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
#[test]
fn ok() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default();
let (fs, result) = run_cli(fs, &mut consol... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/rage.rs | crates/biome_cli/tests/commands/rage.rs | use crate::run_cli;
use crate::snap_test::{CliSnapshot, SnapshotPayload, assert_cli_snapshot};
use biome_cli::CliDiagnostic;
use biome_console::{BufferConsole, Console};
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::{Utf8Path, Utf8PathBuf};
use std::sync::{Mutex, MutexGuard};
use std::{env, fs};
#[test]
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/migrate.rs | crates/biome_cli/tests/commands/migrate.rs | use crate::snap_test::{SnapshotPayload, assert_cli_snapshot, assert_file_contents};
use crate::{run_cli, run_cli_with_dyn_fs};
use biome_console::BufferConsole;
use biome_fs::{MemoryFileSystem, TemporaryFs};
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn migrate_help() {
let fs = MemoryFileSystem::default();
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/check.rs | crates/biome_cli/tests/commands/check.rs | use crate::configs::{
CONFIG_FILE_SIZE_LIMIT, CONFIG_LINTER_DISABLED, CONFIG_LINTER_DISABLED_JSONC,
CONFIG_LINTER_DOWNGRADE_DIAGNOSTIC, CONFIG_LINTER_SUPPRESSED_GROUP,
CONFIG_LINTER_SUPPRESSED_RULE, CONFIG_LINTER_UPGRADE_DIAGNOSTIC, CONFIG_RECOMMENDED_GROUP,
};
use crate::snap_test::{SnapshotPayload, assert... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/lint.rs | crates/biome_cli/tests/commands/lint.rs | use crate::configs::{
CONFIG_FILE_SIZE_LIMIT, CONFIG_LINTER_DISABLED, CONFIG_LINTER_DISABLED_JSONC,
CONFIG_LINTER_DOWNGRADE_DIAGNOSTIC, CONFIG_LINTER_DOWNGRADE_DIAGNOSTIC_INFO,
CONFIG_LINTER_SUPPRESSED_GROUP, CONFIG_LINTER_SUPPRESSED_RULE,
CONFIG_LINTER_UPGRADE_DIAGNOSTIC, CONFIG_RECOMMENDED_GROUP,
};
u... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/search.rs | crates/biome_cli/tests/commands/search.rs | use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
use crate::{
run_cli,
snap_test::{SnapshotPayload, assert_cli_snapshot},
};
// Feel free to add content at the end of this dummy file. It shouldn't affect
// existing tests.
const CSS_FILE_CONTENT: &str = r... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/explain.rs | crates/biome_cli/tests/commands/explain.rs | use bpaf::Args;
use crate::snap_test::SnapshotPayload;
use crate::{assert_cli_snapshot, run_cli};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
#[test]
fn explain_help() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default();
let (fs, result) = run_cli(
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/mod.rs | crates/biome_cli/tests/commands/mod.rs | mod check;
mod ci;
mod explain;
mod format;
mod init;
mod lint;
mod lsp_proxy;
mod migrate;
mod migrate_eslint;
mod migrate_prettier;
mod rage;
mod search;
mod version;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/format.rs | crates/biome_cli/tests/commands/format.rs | use crate::configs::{
CONFIG_DISABLED_FORMATTER, CONFIG_FILE_SIZE_LIMIT, CONFIG_FILES_INCLUDES_EXCLUDES_STDIN_PATH,
CONFIG_FORMAT, CONFIG_FORMAT_JSONC, CONFIG_ISSUE_3175_1, CONFIG_ISSUE_3175_2,
};
use crate::snap_test::{SnapshotPayload, assert_file_contents, markup_to_string};
use crate::{
CUSTOM_FORMAT_BEF... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/init.rs | crates/biome_cli/tests/commands/init.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn init_help() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default();
let (fs, resu... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/migrate_eslint.rs | crates/biome_cli/tests/commands/migrate_eslint.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn migrate_eslintrcjson() {
let biomejson = r#"{ "linter": { "enabled": true } }"#;
let eslintrc = r#"{
"igno... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/migrate_prettier.rs | crates/biome_cli/tests/commands/migrate_prettier.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
use camino::Utf8Path;
#[test]
fn prettier_migrate() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default();
let co... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/tests/commands/lsp_proxy.rs | crates/biome_cli/tests/commands/lsp_proxy.rs | use crate::run_cli;
use crate::snap_test::{SnapshotPayload, assert_cli_snapshot};
use biome_console::BufferConsole;
use biome_fs::MemoryFileSystem;
use bpaf::Args;
#[test]
fn lsp_proxy_help() {
let fs = MemoryFileSystem::default();
let mut console = BufferConsole::default();
let (fs, result) = run_cli(
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_cli/examples/text_reporter.rs | crates/biome_cli/examples/text_reporter.rs | use biome_cli::{
DiagnosticsPayload, Execution, Reporter, ReporterVisitor, TraversalSummary, VcsTargeted,
};
use camino::Utf8Path;
/// This will be the visitor, which where we **write** the data
struct BufferVisitor(String);
/// This is the reporter, which will be a type that will hold the information needed to t... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/local_inference.rs | crates/biome_js_type_info/src/local_inference.rs | use std::borrow::Cow;
use std::str::FromStr;
use biome_js_syntax::{
AnyJsArrayBindingPatternElement, AnyJsArrayElement, AnyJsArrowFunctionParameters, AnyJsBinding,
AnyJsBindingPattern, AnyJsCallArgument, AnyJsClassMember, AnyJsConstructorParameter,
AnyJsDeclaration, AnyJsDeclarationClause, AnyJsExportDefau... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/type_data.rs | crates/biome_js_type_info/src/type_data.rs | //! Data structures for tracking type information across JS/TS files and scopes.
//!
//! Note that while our type inference is based on TypeScript and aims to be
//! compatible with TypeScript's types, we apply the same inference to
//! JavaScript files as well.
//!
//! This can be used by type-informed lint rules such... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/lib.rs | crates/biome_js_type_info/src/lib.rs | #![deny(clippy::use_self)]
mod conditionals;
mod flattening;
mod format_type_info;
mod globals;
mod globals_builder;
pub(crate) mod globals_ids;
mod helpers;
mod local_inference;
mod resolver;
mod r#type;
mod type_data;
mod type_store;
pub use conditionals::*;
pub use flattening::MAX_FLATTEN_DEPTH;
pub use globals::{... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/helpers.rs | crates/biome_js_type_info/src/helpers.rs | use std::{
borrow::Cow,
cmp::Ordering,
hash::{Hash, Hasher},
};
use hashbrown::{HashTable, hash_table::Entry};
use rustc_hash::FxHasher;
use crate::{
BindingId, Class, Interface, Intersection, Module, Namespace, Object, Resolvable,
ResolvedTypeData, ResolvedTypeId, ResolvedTypeMember, ResolverId, ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/globals.rs | crates/biome_js_type_info/src/globals.rs | //! Hardcoded global definitions.
// FIXME: Implement inference from type definitions: https://github.com/biomejs/biome/issues/5977
use std::{
borrow::Cow,
sync::{Arc, LazyLock},
};
use biome_js_syntax::AnyJsExpression;
use biome_rowan::Text;
use crate::{
Class, Function, FunctionParameter, GenericTypeP... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/type.rs | crates/biome_js_type_info/src/type.rs | //! Data structures for tracking type information across JS/TS files and scopes.
//!
//! Note that while our type inference is based on TypeScript and aims to be
//! compatible with TypeScript's types, we apply the same inference to
//! JavaScript files as well.
//!
//! This can be used by type-informed lint rules such... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/flattening.rs | crates/biome_js_type_info/src/flattening.rs | use crate::{TypeData, TypeInstance, TypeReference, TypeResolver};
mod expressions;
mod intersections;
mod unions;
use expressions::flattened_expression;
use intersections::flattened_intersection;
pub const MAX_FLATTEN_DEPTH: usize = 10; // Arbitrary depth, may require tweaking.
impl TypeData {
/// Flattens the ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/resolver.rs | crates/biome_js_type_info/src/resolver.rs | use std::{borrow::Cow, fmt::Debug};
use biome_js_syntax::AnyJsExpression;
use biome_js_type_info_macros::Resolvable;
use biome_rowan::Text;
use crate::{
GLOBAL_UNKNOWN_ID, NUM_PREDEFINED_TYPES, ScopeId, TypeData, TypeId, TypeImportQualifier,
TypeInstance, TypeMember, TypeMemberKind, TypeReference, TypeReferen... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/format_type_info.rs | crates/biome_js_type_info/src/format_type_info.rs | use crate::globals::global_type_name;
use crate::{
CallArgumentType, Class, DestructureField, Function, FunctionParameter,
FunctionParameterBinding, GenericTypeParameter, ImportSymbol, Interface, Literal,
MergedReference, NUM_PREDEFINED_TYPES, NamedFunctionParameter, Object, ObjectLiteral,
PatternFuncti... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/conditionals.rs | crates/biome_js_type_info/src/conditionals.rs | use biome_rowan::Text;
use crate::{
Literal, MergedReference, ResolvedTypeData, TypeData, TypeReference, TypeResolver,
literal::NumberLiteral,
};
use super::MAX_FLATTEN_DEPTH;
/// Provides semantic information about types for use in conditionals.
///
/// If you want to know whether a type is truthy, falsy, n... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/globals_builder.rs | crates/biome_js_type_info/src/globals_builder.rs | //! Builder for constructing GlobalsResolver with forward references support.
use std::sync::Arc;
use crate::{NUM_PREDEFINED_TYPES, TypeData, TypeId, TypeStore};
use super::globals::GlobalsResolver;
/// Builder for constructing a GlobalsResolver
pub struct GlobalsResolverBuilder {
/// Types being built. None = ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/globals_ids.rs | crates/biome_js_type_info/src/globals_ids.rs | //! Type ID constants for global types.
//!
//! TODO(tidefield): Implement a codegen for this file from TypeScript .d.ts files.
// use crate::define_global_type;
use crate::{ResolvedTypeId, TypeId};
use super::globals::GLOBAL_LEVEL;
// FIXME(tidefield): Get rid of the macro when implementing the codegen to improve c... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/type_store.rs | crates/biome_js_type_info/src/type_store.rs | use std::{
borrow::Cow,
hash::{Hash, Hasher},
num::NonZeroU32,
sync::Arc,
};
use hashbrown::{HashTable, hash_table::Entry};
use rustc_hash::FxHasher;
use crate::{Resolvable, ResolvedTypeId, TypeData, TypeId, TypeReference, TypeResolverLevel};
/// Type store with efficient lookup mechanism.
///
/// Ty... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/flattening/unions.rs | crates/biome_js_type_info/src/flattening/unions.rs | use rustc_hash::FxHashSet;
use crate::{ResolvedTypeData, TypeData, TypeReference, TypeResolver};
impl TypeData {
/// Returns an iterator over the variants of this type, while deduplicating
/// variants and flattening nested unions in the process.
///
/// Returns an iterator that yields no elements if ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/flattening/intersections.rs | crates/biome_js_type_info/src/flattening/intersections.rs | use biome_rowan::Text;
use crate::{
Class, Function, Interface, Intersection, Literal, Namespace, Object, Path, ResolvedTypeData,
ReturnType, TypeData, TypeMember, TypeMemberKind, TypeResolver,
};
pub(super) fn flattened_intersection(
intersection: &Intersection,
resolver: &mut dyn TypeResolver,
) -> ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/flattening/expressions.rs | crates/biome_js_type_info/src/flattening/expressions.rs | use std::hash::{Hash, Hasher};
use biome_rowan::Text;
use hashbrown::{HashTable, hash_table::Entry};
use rustc_hash::FxHasher;
use crate::{
CallArgumentType, DestructureField, Function, FunctionParameter, Literal, MAX_FLATTEN_DEPTH,
Resolvable, ResolvedTypeData, ResolvedTypeMember, ResolverId, TypeData, TypeM... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/src/type_data/literal.rs | crates/biome_js_type_info/src/type_data/literal.rs | use std::{borrow::Cow, ops::Neg};
use biome_js_type_info_macros::Resolvable;
use biome_rowan::Text;
#[derive(Clone, Debug, Default, Eq, Hash, PartialEq, Resolvable)]
pub struct BooleanLiteral(bool);
impl BooleanLiteral {
#[inline]
pub fn as_bool(&self) -> bool {
self.0
}
pub fn parse(s: &str... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/tests/local_inference.rs | crates/biome_js_type_info/tests/local_inference.rs | mod utils;
use biome_js_type_info::{GlobalsResolver, ScopeId, TypeData};
use utils::{
assert_type_data_snapshot, assert_typed_bindings_snapshot, get_expression,
get_function_declaration, get_variable_declaration, parse_ts,
};
#[test]
fn infer_type_of_identifier() {
const CODE: &str = r#"foo"#;
let r... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/tests/type_data.rs | crates/biome_js_type_info/tests/type_data.rs | use biome_js_type_info::*;
#[test]
fn test_resolved_type_id() {
let id = ResolvedTypeId::new(TypeResolverLevel::Global, TypeId::new(3));
assert_eq!(id.level(), TypeResolverLevel::Global);
assert_eq!(id.id(), TypeId::new(3));
assert_eq!(id.module_id(), ModuleId::new(0));
let id = id.with_module_id(... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/tests/utils.rs | crates/biome_js_type_info/tests/utils.rs | #![allow(unused)]
use std::borrow::Cow;
use std::sync::Arc;
use biome_js_formatter::context::JsFormatOptions;
use biome_js_formatter::format_node;
use biome_js_parser::{JsParserOptions, parse};
use biome_js_syntax::{
AnyJsExpression, JsVariableDeclaration, TsInterfaceDeclaration, TsTypeAliasDeclaration,
};
use bi... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/tests/flattening.rs | crates/biome_js_type_info/tests/flattening.rs | mod utils;
use biome_js_type_info::{
GlobalsResolver, ScopeId, TypeData, TypeReference, TypeResolver, TypeofExpression,
TypeofStaticMemberExpression,
};
use biome_rowan::Text;
use utils::{
HardcodedSymbolResolver, assert_type_data_snapshot, assert_typed_bindings_snapshot,
get_expression, get_function_... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/tests/resolver.rs | crates/biome_js_type_info/tests/resolver.rs | mod utils;
use biome_js_syntax::{AnyJsModuleItem, AnyJsRoot, AnyJsStatement, JsExpressionStatement};
use biome_js_type_info::{GlobalsResolver, Resolvable, ScopeId, TypeData};
use utils::{
HardcodedSymbolResolver, assert_type_data_snapshot, assert_typed_bindings_snapshot,
get_function_declaration, get_variable... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_type_info/tests/conditionals.rs | crates/biome_js_type_info/tests/conditionals.rs | mod utils;
use biome_js_type_info::{
GlobalsResolver, ScopeId, TypeData, TypeResolver, reference_to_falsy_subset_of,
};
use utils::{assert_type_data_snapshot, get_variable_declaration, parse_ts};
#[test]
fn test_reference_to_falsy_subset_of() {
const CODE: &str = r#"let foo: undefined | null | number = 1;"#;... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_analyze/src/lib.rs | crates/biome_graphql_analyze/src/lib.rs | #![deny(clippy::use_self)]
mod lint;
mod registry;
mod suppression_action;
pub use crate::registry::visit_registry;
use crate::suppression_action::GraphqlSuppressionAction;
use biome_analyze::{
AnalysisFilter, AnalyzerOptions, AnalyzerSignal, AnalyzerSuppression, ControlFlow,
LanguageRoot, MatchQueryParams, M... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_analyze/src/suppression_action.rs | crates/biome_graphql_analyze/src/suppression_action.rs | use biome_analyze::{ApplySuppression, SuppressionAction};
use biome_graphql_syntax::{GraphqlLanguage, GraphqlSyntaxToken};
use biome_rowan::{BatchMutation, TriviaPieceKind};
pub(crate) struct GraphqlSuppressionAction;
impl SuppressionAction for GraphqlSuppressionAction {
type Language = GraphqlLanguage;
fn s... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_analyze/src/lint.rs | crates/biome_graphql_analyze/src/lint.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
//! Generated file, do not edit by hand, see `xtask/codegen`
pub mod correctness;
pub mod nursery;
pub mod style;
pub mod suspicious;
::biome_analyze::declare_category! { pub Lint { kind : Lint , groups : [self :: correctness :: Correctness , self :: nurser... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_analyze/src/registry.rs | crates/biome_graphql_analyze/src/registry.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
use biome_analyze::RegistryVisitor;
use biome_graphql_syntax::GraphqlLanguage;
pub fn visit_registry<V: RegistryVisitor<GraphqlLanguage>>(registry: &mut V) {
registry.record_category::<crate::lint::Lint>();
}
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_analyze/src/lint/correctness.rs | crates/biome_graphql_analyze/src/lint/correctness.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
//! Generated file, do not edit by hand, see `xtask/codegen`
use biome_analyze::declare_lint_group;
pub mod use_graphql_named_operations;
declare_lint_group! { pub Correctness { name : "correctness" , rules : [self :: use_graphql_named_operations :: UseGrap... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.