Skip to main content

Configs

The package exports three shareable configs for staged adoption:

Use them from containerQuerySanityPluginConfigs or from extends subpath exports.

Preset matrixโ€‹

Legend: โœ… = enabled ยท โ€” = not enabled

Rule๐ŸŸก Recommended๐Ÿ”ด Strict๐ŸŸฃ All
no-block-axis-query-on-inline-size-containerโ€”โœ…โœ…
no-conflicting-container-name-declarationsโ€”โœ…โœ…
no-degenerate-container-query-conditionsโ€”โœ…โœ…
no-invalid-container-query-rangesโœ…โœ…โœ…
no-scroll-state-query-on-non-scroll-state-containerโ€”โœ…โœ…
no-size-query-on-non-size-containerโ€”โœ…โœ…
no-unknown-container-namesโ€”โœ…โœ…
no-unreachable-container-intervalsโœ…โœ…โœ…
prefer-logical-size-featuresโ€”โœ…โœ…
prefer-range-syntaxโ€”โœ…โœ…
require-breakpoint-token-usageโ€”โœ…โœ…
require-container-type-for-named-containersโ€”โœ…โœ…
require-named-containerโœ…โœ…โœ…

Which config should I use?โ€‹