Commit a0ad087
committed
docs(faq): trim Q3 answer — drop "Two layers." opener and Semgrep-compat repeat
Two cleanups to the "What are AST-pattern rules?" answer:
- Removed the meta-framing opener "Two layers." — the two-layer
structure (rules + engine) reads clearly from the first two
sentences without the heading.
- Removed the duplicate Semgrep/ast-grep compatibility claim. The
first sentence already establishes the rule format is shared with
Semgrep and ast-grep; the closing clause "the rule format is the
same one you'd write for Semgrep or ast-grep" repeats it.
Final closing: "When a rule fires on safe code, you refine it directly."
Dropped the obsolete "opens with the two-layer framing" vitest
assertion that hard-coded the removed opener. The remaining five
assertions still hold — AST-pattern rules, Whole-program taint
analysis, AST-pattern matchers, ast-grep, and Semgrep all still
appear in the text.1 parent 281dada commit a0ad087
2 files changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments