Spelling fixes (#1580)

This commit is contained in:
Ville Skyttä
2018-03-18 18:30:32 +02:00
committed by chris48s
parent 3a47bb38ac
commit 0710c3b8f4
4 changed files with 12 additions and 12 deletions

View File

@@ -151,7 +151,7 @@ The following numbering explains what happens in the corresponding lines.
1. All badges are preceded by a comment.
This allows other developers to find the badge regardless of implementation.
Usally, badges with an similar topic have their implementation close to each other's.
Usually, badges with a similar topic have their implementation close to each other's.
2. The [regular expression][regex] matches the path behind the host name in the URL, e.g. `img.shields.io`.
```
/^\/docker\/automated\/([^\/]+)\/([^\/]+)\.(svg|png|gif|jpg|json)$/

View File

@@ -59,7 +59,7 @@ t.create('licence for Invaild Package')
.expectJSON({ name: 'bower', value: 'invalid' });
t.create('Version label should be `no releases` if no offical version')
t.create('Version label should be `no releases` if no official version')
.get('/v/bootstrap.json')
.intercept(nock => nock('https://libraries.io')
.get('/api/bower/bootstrap')

View File

@@ -49,7 +49,7 @@ const isPhpVersionReduction = withRegex(/^((>= \d+(\.\d+)?)|(\d+\.\d+(, \d+\.\d+
const isStarRating = withRegex(/^(?=.{5}$)(\u2605{0,5}[\u00BC\u00BD\u00BE]?\u2606{0,5})$/);
// Required to be > 0, beacuse accepting zero masks many problems.
// Required to be > 0, because accepting zero masks many problems.
const isMetric = withRegex(/^[1-9][0-9]*[kMGTPEZY]?$/);
const isMetricOpenIssues = withRegex(/^[1-9][0-9]*[kMGTPEZY]? open$/);

View File

@@ -57,7 +57,7 @@ t.create('monthly downloads (invalid)')
- 2.7.3.2
- 2.0rc1
- 0.1.30b10
are prefectly legal.
are perfectly legal.
We'll run this test againt a project that follows SemVer...
*/