You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Proofread quick-start.md
I did some proofreading and grammar checking on the quick start. Hopefully this is helpful since most users will land here first!
* Second pass quick-start.md
Copy file name to clipboardExpand all lines: website/guide/quick-start.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@ head:
8
8
9
9
# Quick Start
10
10
11
-
You can unleash `ast-grep`'s power at your finger tips within few keystrokes in command line!
11
+
You can unleash `ast-grep`'s power at your fingertips in a few keystrokes on the command line!
12
12
13
-
Let's try its power of by rewriting some code in a moderately large codebase: [TypeScript](https://github.com/microsoft/TypeScript/).
13
+
Let's see it in action by rewriting code in a moderately large codebase: [TypeScript](https://github.com/microsoft/TypeScript/).
14
14
15
-
Our task is to rewrite old defensive code that checks nullable nested method calls to the new shiny [optional chaining operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining)`?.`.
15
+
Our task is to rewrite old defensive code that checks nullable nested method calls to use the shiny new[optional chaining operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining)`?.`.
16
16
17
17
## Installation
18
18
First, install `ast-grep`. It is distributed by [npm](https://www.npmjs.com/package/@ast-grep/cli), [cargo](https://crates.io/crates/ast-grep), [homebrew](https://formulae.brew.sh/formula/ast-grep) and [macports](https://ports.macports.org/port/ast-grep/). You can also build it [from source](https://github.com/ast-grep/ast-grep#installation).
0 commit comments