Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
Fix typos (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoejessica authored and mattt committed Mar 4, 2019
1 parent f152a60 commit 7cb0535
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 2019-03-04-swift-format.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ we'll take a look at the following four tools:


For brevity, For brevity,
this article discusses only some of the Swift formatting tools available. this article discusses only some of the Swift formatting tools available.
Here are some other ones that you may want to check out Here are some other ones that you may want to check out:
[Swimat](https://github.com/Jintin/Swimat), [Swimat](https://github.com/Jintin/Swimat),
[SwiftRewriter](https://github.com/inamiy/SwiftRewriter), and [SwiftRewriter](https://github.com/inamiy/SwiftRewriter), and
[swiftfmt](https://github.com/kishikawakatsumi/swiftfmt). [swiftfmt](https://github.com/kishikawakatsumi/swiftfmt).
Expand Down Expand Up @@ -262,7 +262,7 @@ a mainstay of the Swift open source community.
With over 100 built-in rules, With over 100 built-in rules,
SwiftLint can to perform a wide variety of checks on your code --- SwiftLint can to perform a wide variety of checks on your code ---
everything from preferring `AnyObject` over `class` for class-only protocols everything from preferring `AnyObject` over `class` for class-only protocols
to so-called the "Yoda condition rule", to the so-called "Yoda condition rule",
which prescribes variables to be placed on which prescribes variables to be placed on
the left-hand side of comparison operators the left-hand side of comparison operators
(that is, `if n == 42` not `if 42 == n`). (that is, `if n == 42` not `if 42 == n`).
Expand Down Expand Up @@ -376,7 +376,7 @@ which is why we thought it worthwhile to include it in this round-up.
To use Prettier and its plugin for Swift, To use Prettier and its plugin for Swift,
you'll have to wade into the murky waters of the Node packaging ecosystem. you'll have to wade into the murky waters of the Node packaging ecosystem.
There are a few different approaches to get everything installed There are a few different approaches to get everything installed
_(because and of course there are)_, _(because of course there are)_,
but [Yarn](https://yarnpkg.com/en/) is our favorite 😻. but [Yarn](https://yarnpkg.com/en/) is our favorite 😻.


```terminal ```terminal
Expand Down Expand Up @@ -608,7 +608,7 @@ $ time swift-format Example.swift


--- ---


Based on our initial investigation (albeit limit), Based on our initial investigation (albeit limited),
`swift-format` appears to offer a reasonable set of formatting conventions. `swift-format` appears to offer a reasonable set of formatting conventions.
Going forward, it will be helpful to create more motivated examples Going forward, it will be helpful to create more motivated examples
to help inform our collective beliefs about the contours to help inform our collective beliefs about the contours
Expand Down

0 comments on commit 7cb0535

Please sign in to comment.