Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

448 B
Raw Blame
id: tsx-no-document-has-selector
language: tsx
severity: error
message: Don't anchor a :has() selector on html, body or :root.
note: |-
  While such a rule is in the stylesheet, Chrome restyles the whole document on
  every element insertion or removal, which made typing in composers lag by
  hundreds of milliseconds. Derive the state in JS instead.
files:
  - apps/web/**
rule:
  kind: string_fragment
  regex: (^|[^-\w])(html|body|:root):has\(