Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Fix broken links and typos, propose clarity improvements #1218

Closed
wants to merge 121 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
66f41bb
Docs: Fix typo in hint-typescript-config/target
IAmHopp Aug 7, 2018
a4b2463
[Docs] Missing comma in hint-amp-validator
IAmHopp Aug 7, 2018
65d56c8
[Docs] Fix typo in hint-axe
IAmHopp Aug 7, 2018
e8e0c65
[Docs] Missing comma in hint-no-http-redirects
IAmHopp Aug 7, 2018
28c6f92
[Docs] Fix typo in hint-typescript-config/target
IAmHopp Aug 7, 2018
ca2b8aa
[Docs] Fix in hint-webpack-config/is-installed
IAmHopp Aug 7, 2018
4e3321a
[Docs] Fix typos in hint-apple-touch-icons
IAmHopp Aug 7, 2018
434a4c7
[Docs] Readability improvent to hint-no-p3p
IAmHopp Aug 7, 2018
48fb0b6
[Docs] Fix typos in hint-no-disallowed-headers
IAmHopp Aug 7, 2018
c7f5e84
[Docs] Fix in hint-no-protocol-relative-urls
IAmHopp Aug 7, 2018
b050bba
[Docs] Improvement in hint-no-friendly-error-pages
IAmHopp Aug 7, 2018
7eb378a
[Docs] Missing comma in hint-axe
IAmHopp Aug 7, 2018
a685a31
Fix: Remove `no-broken-links` hint
alrra Aug 7, 2018
6547c93
🚀 configuration-web-recommended - v1.0.1 [skip ci]
alrra Aug 7, 2018
f4ec840
Chore: Update `configuration-web-recommended` to `v1.0.1` [skip ci]
alrra Aug 7, 2018
625006d
[Docs] Fix comma in hint-no-disallowed-headers
IAmHopp Aug 8, 2018
7552b99
[Docs] Fix comma in hint-no-html-only-headers
IAmHopp Aug 8, 2018
922fa44
[Docs] Fix in typescript-config/consistent-casing
IAmHopp Aug 8, 2018
f60a10d
[Docs] Fix in typescript-config/import-helpers
IAmHopp Aug 8, 2018
897b596
[Docs] Fix in hint-typescript-config/no-comments
IAmHopp Aug 8, 2018
f5aad62
[Docs] Fix comma in hint-typescript-config/strict
IAmHopp Aug 8, 2018
3fab6b3
[Docs] Fix typos in hint-typescript-config/target
IAmHopp Aug 8, 2018
d1cd515
[Docs] Fix typos in hint-no-disallowed-headers
IAmHopp Aug 8, 2018
15760ec
[Docs] Fixes typescript-config/consistent-casing
IAmHopp Aug 8, 2018
69b05ce
[Docs] Fix in typescript-config/import-helpers
IAmHopp Aug 8, 2018
94ea57d
[Docs] Fix in hint-typescript-config/no-comments
IAmHopp Aug 8, 2018
dd48409
[Docs] Fix typos in hint-typescript-config/strict
IAmHopp Aug 8, 2018
2d9e9e2
[Docs] Fix typos in hint-http-cache
IAmHopp Aug 8, 2018
b4dcc22
[Docs] Fix in hint-image-optimization-cloudinary
IAmHopp Aug 8, 2018
faee718
[Docs] Fix typos in hint-html-checker
IAmHopp Aug 8, 2018
9ed1647
[Docs] Fix typo in hint-performance-budget
IAmHopp Aug 8, 2018
539b805
[Docs] Fix typo in hint-content-type
IAmHopp Aug 8, 2018
f28391f
[Docs] Fix typos in hint-strict-transport-security
IAmHopp Aug 8, 2018
b1aa478
[Docs] Fix typo in hint-x-content-type-options
IAmHopp Aug 8, 2018
246ef6a
[Docs] Broken links in hint-meta-theme-color
IAmHopp Aug 8, 2018
648a965
[Docs] Fix typo in hint-manifest-exists
IAmHopp Aug 8, 2018
c9d9377
[Docs] Extraneous commas in hint-apple-touch-icons
IAmHopp Aug 8, 2018
df97c13
[Docs] Improvements to hint-meta-charset-utf-8
IAmHopp Aug 8, 2018
9341d03
[Docs] Fix repeated word in hint-disown-opener
IAmHopp Aug 8, 2018
9c81040
[Docs] Fix in hint-highest-available-document-mode
IAmHopp Aug 8, 2018
390964b
[Docs] Fix typo in hint-https-only
IAmHopp Aug 8, 2018
485a09a
[Docs] Fix broken link in hint-https-only
IAmHopp Aug 8, 2018
3b39eb5
[Docs] Fix typos in hint-manifest-app-name
IAmHopp Aug 8, 2018
65fbc0a
[Docs] Fix typos in hint-http-compression
IAmHopp Aug 8, 2018
455e1f6
[Docs] Readability improvement in hint-sri
IAmHopp Aug 8, 2018
71eee93
[Docs] Fixes in hint-manifest-is-valid
IAmHopp Aug 8, 2018
ed2b547
[Docs] Fix typo in hint-meta-viewport
IAmHopp Aug 8, 2018
48c9859
[Docs] Fix typo in hint-ssllabs
IAmHopp Aug 8, 2018
d73331f
[Docs] Fix in hint-validate-set-cookie-header
IAmHopp Aug 8, 2018
72bc13d
[Docs] Fix in webpack-config/esnext-typescript
IAmHopp Aug 8, 2018
b73e75b
[Docs] Fix in webpack-config/modules-false-babel
IAmHopp Aug 8, 2018
5639be7
[Docs] Fix typo in hint-no-bom
IAmHopp Aug 8, 2018
1b47c77
[Docs] Improvement in hint-webpack-config/is-valid
IAmHopp Aug 8, 2018
7e78ca2
[Docs] Fix in hint-highest-available-document-mode
IAmHopp Aug 8, 2018
84db72e
[Docs] Missing comma in hint-amp-validator
IAmHopp Aug 8, 2018
4102b10
[Docs] Undoing fix in a quote in hint-axe
IAmHopp Aug 8, 2018
471072b
[Docs] Improvement in hint-no-html-only-headers
IAmHopp Aug 8, 2018
0acadff
[Docs] Fix in typescript-config/import-helpers
IAmHopp Aug 8, 2018
85dfad5
[Docs] Fix in hint-typescript-config/no-comments
IAmHopp Aug 8, 2018
4a25ce0
[Docs] Fix comma in hint-typescript-config/strict
IAmHopp Aug 8, 2018
c6cbb41
[Docs] Readability improvement in hint-http-cache
IAmHopp Aug 8, 2018
17ff25b
[Docs] Fix typos in hint-http-cache
IAmHopp Aug 8, 2018
1cce70e
[Docs] Fix typo in hint-minified-js
IAmHopp Aug 8, 2018
86de0f7
[Docs] Fix typo in hint-html-checker
IAmHopp Aug 8, 2018
0b43fb0
Docs: Fix typos and make minor improvements
IAmHopp Aug 7, 2018
dcbef27
Docs: Add missing commas
IAmHopp Aug 7, 2018
1307d34
Docs: Fix typos and make minor improvements
IAmHopp Aug 7, 2018
c14bf77
Docs: Add missing comma
IAmHopp Aug 7, 2018
f7a70cf
Docs: Fix typos and make minor improvements
IAmHopp Aug 7, 2018
7de2f2b
Docs: Make minor improvements
alrra Aug 8, 2018
6599f4c
Docs: Fix typo
alrra Aug 8, 2018
2d0be47
Docs: Make readability improvements
IAmHopp Aug 7, 2018
6e23a74
Docs: Fix typos and make minor improvements
IAmHopp Aug 7, 2018
b82cd55
Docs: Add missing comma
IAmHopp Aug 7, 2018
353ac4d
Docs: Make minor improvement
IAmHopp Aug 7, 2018
971ae34
Docs: Add missing comma
IAmHopp Aug 8, 2018
7aa2179
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
ba8302b
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
6854c3e
Docs: Add missing comma
IAmHopp Aug 8, 2018
6dab5c8
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
7a1791d
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
d052481
Docs: Fix typo
IAmHopp Aug 8, 2018
519dc5c
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
4edd9b9
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
3ea744e
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
204fdc3
Docs: Fix typos
IAmHopp Aug 8, 2018
564548a
Docs: Make minor improvements
IAmHopp Aug 8, 2018
e56b39e
Docs: Make minor improvements
IAmHopp Aug 8, 2018
1f2dc05
Docs: Add missing comma
IAmHopp Aug 8, 2018
074139e
Docs: Fix typos and add missing link
IAmHopp Aug 8, 2018
86bd0f2
Docs: Fix typos
IAmHopp Aug 8, 2018
9f97194
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
383c95c
Docs: Make minor improvement
IAmHopp Aug 8, 2018
7aa393f
Docs: Fix typos and broken link
IAmHopp Aug 8, 2018
7e41428
Docs: Fix typo
IAmHopp Aug 8, 2018
d8fbe44
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
898a303
Docs: Add missing comma
IAmHopp Aug 8, 2018
c7713aa
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
349dfbd
Docs: Make minor improvements
IAmHopp Aug 8, 2018
ee5481d
Docs: Add missing commas
IAmHopp Aug 8, 2018
7645379
Docs: Fix typos and make minor improvements
IAmHopp Aug 8, 2018
4bdfa1a
Docs: Fix typos
IAmHopp Aug 8, 2018
fb647c6
Docs: Fix typos
IAmHopp Aug 8, 2018
653150e
Fixing conflicts.
Aug 9, 2018
984322e
[Docs] Fix typo in hint-axe
IAmHopp Aug 7, 2018
26d79ab
[Docs] Fix in hint-highest-available-document-mode
IAmHopp Aug 8, 2018
762fa31
[Docs] Undoing fix in a quote in hint-axe
IAmHopp Aug 8, 2018
ca15b37
Resolving conflicts from main repository.
Aug 9, 2018
4b40153
Docs: Improvement in hint-performance-budget
IAmHopp Aug 9, 2018
f8bc8be
Docs: Fix typo in hint-strict-transport-security
IAmHopp Aug 9, 2018
a013f98
Docs: Fix typo in hint-meta-theme-color
IAmHopp Aug 9, 2018
fde6410
Docs: Fixes in hint-manifest-exists
IAmHopp Aug 9, 2018
470f8ef
Docs: Fix typo in hint-apple-touch-icons
IAmHopp Aug 9, 2018
4377f1e
Docs: Fixes in hint-meta-charset-utf-8
IAmHopp Aug 9, 2018
06d49c9
Docs: Proposed fixes in hint-disown-opener
IAmHopp Aug 9, 2018
10eb3b0
Docs: Proposed fix in hint-manifest-app-name
IAmHopp Aug 9, 2018
814d4b2
Docs: Fix in hint-http-compression
IAmHopp Aug 9, 2018
c834041
Docs: Fix in hint-highest-available-document-mode
IAmHopp Aug 9, 2018
c20e947
Docs: Fix typo in hint-manifest-is-valid
IAmHopp Aug 9, 2018
71f96fe
Docs: Fix typo in hint-validate-set-cookie-header
IAmHopp Aug 9, 2018
bd1b4a5
Docs: Fixing a sentence in hint-no-p3p
IAmHopp Aug 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/configuration-web-recommended/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.0.1 (August 7, 2018)

## Bug fixes / Improvements

* [[`a685a314c2`](https://github.com/webhintio/hint/commit/a685a314c277235a5df9156ef925be49bbccdafd)] - Fix: Remove `no-broken-links` hint (by [`Cătălin Mariș`](https://github.com/alrra)).


# 1.0.0 (August 7, 2018)

1 change: 0 additions & 1 deletion packages/configuration-web-recommended/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"meta-charset-utf-8": "error",
"meta-viewport": "error",
"no-bom": "error",
"no-broken-links": "error",
"no-disallowed-headers": "error",
"no-friendly-error-pages": "error",
"no-html-only-headers": "error",
Expand Down
3 changes: 1 addition & 2 deletions packages/configuration-web-recommended/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@hint/hint-meta-charset-utf-8": "^1.0.0",
"@hint/hint-meta-viewport": "^1.0.0",
"@hint/hint-no-bom": "^1.0.0",
"@hint/hint-no-broken-links": "^1.0.2",
"@hint/hint-no-disallowed-headers": "^1.0.0",
"@hint/hint-no-friendly-error-pages": "^1.0.0",
"@hint/hint-no-html-only-headers": "^1.0.0",
Expand Down Expand Up @@ -55,5 +54,5 @@
"hint": "^3.0.1"
},
"repository": "webhintio/hint",
"version": "1.0.0"
"version": "1.0.1"
}
4 changes: 2 additions & 2 deletions packages/hint-amp-validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ HTML of your page.

Yes, you can decide if you want to receive errors only, or also
warnings found by [`amphtml-validator`][amphtml-validator].
By default all warnings and errors are reported. If you prefer to
see only the errors you can use the following hint configuration
By default, all warnings and errors are reported. If you prefer to
see only the errors, you can use the following hint configuration
in your [`.hintrc`][hintrc] file:

```json
Expand Down
26 changes: 13 additions & 13 deletions packages/hint-apple-touch-icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

## Why is this important?

Since `iOS 1.1.3` Safari for iOS has supported a way for developers
Since `iOS 1.1.3`, Safari for iOS has supported a way for developers
to specify an image that will be used to represent the web site/app
on the homescreen. The image is known as the [touch icon][touch icons].
on the home screen. The image is known as the [touch icon][touch icons].

Note: As of `iOS 11.1.0` Safari for iOS [supports the web app manifest
Note: As of `iOS 11.1.0`, Safari for iOS [supports the web app manifest
file][safari 11.1] which provides a standard, cross-browser way of
defining, among other, the icons browsers can use in various contexts
(homescreen, application menu, etc.). However, Safari ignores the icons
(home screen, application menu, etc.). However, Safari ignores the icons
defined in the web app manifest and still uses the non-standard
`apple-touch-icon`.

Expand Down Expand Up @@ -40,13 +40,13 @@ sizes is not recommended as:

* It will increase the size of the pages with very little to no
real benefit (most users will probably not add the site to their
homescreens).
home screens).

* Most sizes will probably never be used as iOS devices get upgraded
pretty quickly, so [most iOS users will be on the latest 2 versions
of iOS][app store stats], and using newer devices.
quickly, so [most iOS users will be on the latest 2 versions
of iOS][app store stats] and using newer devices.

* The `180×180px` image, if needed, [will be automatically down scaled
* The `180×180px` image, if needed, [will be automatically downscaled
by Safari, and the result of the scaling is generally ok][icon
scaling].

Expand All @@ -57,11 +57,11 @@ as users upgrade their devices and their iOS version.

Other notes:

* Not declaring the touch icon in the page, and having it in the
* Not declaring the touch icon in the page and having it in the
root of the site is not recommended as [Apple usually changes
what is requested by default][h5bp issue 1622].

* In older versions of Safari for iOS the [`precomposed` keyword][icon
* In older versions of Safari for iOS, the [`precomposed` keyword][icon
effects] could be used to prevent iOS from adding different visual
effects to the touch icon (i.e. rounded corners, drop shadow,
reflective shine). Starting with iOS 7 no special effects are applied
Expand All @@ -75,12 +75,12 @@ Other notes:
## What does the hint check?

The hint checks if a single `apple-touch-icon` declaration exists in
the `<head>`, and it:
the `<head>`, and:

* has `rel="apple-touch-icon"`
* it has `rel="apple-touch-icon"`
* the declared image is accessible (e.g.: doesn’t result in a `404`),
a `PNG`, and its size is `180×180px`
* does not include the `sizes` attribute
* it does not include the `sizes` attribute

### Examples that **trigger** the hint

Expand Down
6 changes: 3 additions & 3 deletions packages/hint-axe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ Web impacts the lives of people with disabilities, the overlap with
digital divide issues, and Web accessibility as an aspect of corporate
social responsibility.
>
> Another important consideration for organizations is that web i
> Another important consideration for organizations is that web
accessibility is required by laws and policies in some cases.

***From [WAI’s Introduction to Web Accessibility][wai].***

## What does the hint check?

By default this hint runs all the [WCAG 2.0][wcag 2.0] Level A and
By default, this hint runs all the [WCAG 2.0][wcag 2.0] Level A and
Level AA rules included in [axe-core][axe core] with `document` as
the target. Visit the [full list of default enabled rules][axe rules]
for more information of what they do.
Expand Down Expand Up @@ -133,7 +133,7 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:

## Further Reading

* [Deque Univeristy](https://dequeuniversity.com/)
* [Deque University](https://dequeuniversity.com/)
* [aXe core GitHub page][axe core]
* [Web Accessibility Initiative (WAI)](https://www.w3.org/WAI/)

Expand Down
2 changes: 1 addition & 1 deletion packages/hint-content-type/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ charset for the response as, among other:
## What does the hint check?

The hint checks if responses include the `Content-Type` HTTP response
header and its value contains the appropiate media type and charset
header and its value contains the appropriate media type and charset
for the response.

### Examples that **trigger** the hint
Expand Down
16 changes: 8 additions & 8 deletions packages/hint-disown-opener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Links that have `target="_blank"`, such as

* [a security problem][security problem]

When using `target="_blank"` the page that was linked to gains
When using `target="_blank"`, the page that was linked to gains
access to the original page’s [`window.opener`][window.opener].
This allows it to redirect the original page to whatever it wants,
a technique frequently used for malicious attacks on the user.
Expand All @@ -27,9 +27,9 @@ Links that have `target="_blank"`, such as

* [a performance problem][performance problem]

Most modern browsers are multi-process. However, due to the
synchronous cross-window access the DOM allows via `window.opener`,
in most browsers pages launched via `target="_blank"` end up in
Most modern browsers are multi-process. However, in most browsers,
due to the synchronous cross-window access the DOM allows via
`window.opener`, pages launched via `target="_blank"` end up in
the same process as the origin page, and that can lead to the pages
experiencing jank.

Expand All @@ -43,7 +43,7 @@ Links that have `target="_blank"`, such as
Notes:

* Not all browsers [support][noopener support] `rel="noopener"`,
so in order to ensure that things work as expected in as many
so to ensure that things work as expected in as many
browsers as possible, by default, the hint requires both the
`noopener` and `noreferrer` values to be specified. However,
if all the [targeted browsers](../index.md#browser-configuration)
Expand All @@ -54,8 +54,8 @@ Notes:

* Security isn’t really a problem here.
* When it comes to performance, making same origin links open in
their own process actually works against optimizations that some
browsers do in order to keep multiple same origin tabs within
their own process works against optimizations that some
browsers do to keep multiple same origin tabs within
the same process (e.g. share the same event loop).

Check [`Can the hint be configured?`](#can-the-hint-be-configured)
Expand All @@ -66,7 +66,7 @@ Notes:
elements][html5sec].

* In the future there may be a [CSP valueless property][csp valueless
property] property that will prevent the `window.opener` reference
property] that will prevent the `window.opener` reference
from being set.

## What does the hint check?
Expand Down
5 changes: 3 additions & 2 deletions packages/hint-highest-available-document-mode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Notes:

## What does the hint check?

By default the hint checks if the `X-UA-Compatible` response header is
By default, the hint checks if the `X-UA-Compatible` response header is
sent with the value of `IE=edge`, and that the `meta` tag isn’t used.

### Examples that **trigger** the hint for defaults
Expand Down Expand Up @@ -361,7 +361,7 @@ In the [`.hintrc`][hintrc] file:

Also, note that this hint takes into consideration the [targeted
browsers][targeted browsers], and if Internet Explorer 8/9/10 aren’t
among them, it will suggest removing the `meta` tag or/and not sending
among them, it will suggest removing the `meta` tag and/or not sending
the HTTP response header.

## How to use this hint?
Expand Down Expand Up @@ -416,4 +416,5 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:
[mod_mime]: https://httpd.apache.org/docs/current/mod/mod_mime.html

<!-- IIS Links -->

[url rewrite]: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-the-url-rewrite-module
12 changes: 6 additions & 6 deletions packages/hint-html-checker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
> Adhering to the W3C’s standards has a lot to offer to both the
> developers and the web users: It provides better browser compatibility,
> helps to avoid potential problems with accessibility/usability,
> and makes it easier for future maintainance.
> and makes it easier for future maintenance.
>
> The Nu Html Checker(v.Nu) serves as the backend of
> [html5.validator.nu][html5 validator], and
> [validator.w3.org/nu][w3 validator].
> It also provides a [web service interface][validator interface].

This hint interacts with this service via [`request`][request],
and is able to test both remote websites and local server instances.
This hint interacts with this service via [`request`][request]
and can test both remote websites and local server instances.

## What does the hint check?

Expand All @@ -36,14 +36,14 @@ the positive cases contain two sections:
behavior—so that, say, you’d end up with some unintuitive, unexpected
result in the DOM.

For explanation behind those requirements, please checkout:
For explanation behind those requirements, please check out:

* [rationale for syntax-level errors](https://www.w3.org/TR/html/introduction.html#syntax-errors)
* [rationale for restrictions on content models and on attribute values](https://www.w3.org/TR/html/introduction.html#restrictions-on-content-models-and-on-attribute-values)

## Can the hint be configured?

By default only the first occurance of each error/warning is reported
By default, only the first occurrence of each error/warning is reported
when validating the markup. However, you can configure the hint to view
the complete list.

Expand Down Expand Up @@ -87,7 +87,7 @@ the message of `Invalid attribute`:
```

Alternative, you can pass in an array if you have more than one type
of messages to ignore:
of message to ignore:

```json
{
Expand Down
22 changes: 11 additions & 11 deletions packages/hint-http-cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ validate that the page and resources have a good caching strategy:
* static resources such as JavaScript, CSS, images, etc.:
* have a long expiry value (>= 1 year)
* use the `immutable` directive
* follow some kind of filename/path based revving, and not
* follow filename/path-based revving, and not
one based on query string parameters (see: [problems with
proxys][revving files])
proxies][revving files])

The built-in regular expressions for file revving are:

Expand Down Expand Up @@ -153,7 +153,7 @@ Cache-Control: max-age=31536000, immutable
...
```

A page with `no-cache` :
A page with `no-cache`:

```text
HTTP/... 200 OK
Expand Down Expand Up @@ -219,7 +219,7 @@ Important notes:
# of a `.htaccess` file where only the `<Files>` directive
# can be used, reason why the best that can be done is match
# all files named `favicon.ico` (but that should work fine
# if filename/path based revving is used)
# if filename/path-based revving is used)
#
# See also: https://httpd.apache.org/docs/current/sections.html#file-and-web.

Expand Down Expand Up @@ -276,7 +276,7 @@ Also note that:
* The above snippet works with Apache `v2.2.0+`, but you need to
have [`mod_expires`][mod_expires] and [`mod_headers`][mod_headers]
[enabled][how to enable apache modules]
in order for it to take effect.
for it to take effect.

* If you have access to the [main Apache configuration file][main
apache conf file] (usually called `httpd.conf`), you should add
Expand Down Expand Up @@ -321,8 +321,8 @@ with `cache-control: max-age=31536000, immutable`:
</configuration>
```

In the example above you want to have your JavaScript, CSS, images, etc.
under the `static` folder, and your HTML elesewhere. If your static
In the example above, you want to have your JavaScript, CSS, images, etc.
under the `static` folder, and your HTML elsewhere. If your static
content is in another folder change the path of `<location path="static">`
to the right one.

Expand All @@ -346,7 +346,7 @@ Yes, you can configure:

### `max-age`

By default the recommended value for the page is `Cache-Control: no-cache`
By default, the recommended value for the page is `Cache-Control: no-cache`
or a `max-age` equal or less to 3 minutes. For the resources `max-age` should
be greater or equal to 1 year. You can change this as follows:

Expand All @@ -359,11 +359,11 @@ be greater or equal to 1 year. You can change this as follows:

### Custom regular expressions for revving files

If none on the built-in regular expressions work for your use case, you
If none of the built-in regular expressions work for your use case, you
can provide your own via the `revvingPatterns` property. This property
accepts an `Array` of escaped `RegExp`:

in then [`.hintrc`][hintrc] file:
in the [`.hintrc`][hintrc] file:

```json

Expand All @@ -381,7 +381,7 @@ in then [`.hintrc`][hintrc] file:
```

Also pay attention to the escaping. The example above will validate
that static resources follow a convention similar to the following
that static resources follow a convention like the following
one:

```text
Expand Down
Loading