Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 0b21f8e

Browse files
committed
Update to w3c-html-validator v0.7
1 parent c7c8906 commit 0b21f8e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
_Gulp plugin to validate HTML using the W3C Markup Validation Service_
55

6-
[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/center-key/gulp-w3c-html-validator/blob/master/LICENSE.txt)
6+
[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/center-key/gulp-w3c-html-validator/blob/main/LICENSE.txt)
77
[![npm](https://img.shields.io/npm/v/gulp-w3c-html-validator.svg)](https://www.npmjs.com/package/gulp-w3c-html-validator)
88
[![Vulnerabilities](https://snyk.io/test/github/center-key/gulp-w3c-html-validator/badge.svg)](https://snyk.io/test/github/center-key/gulp-w3c-html-validator)
99
[![Build](https://travis-ci.org/center-key/gulp-w3c-html-validator.svg)](https://travis-ci.org/center-key/gulp-w3c-html-validator)
@@ -16,7 +16,7 @@ Install module into your project:
1616
$ npm install --save-dev gulp-w3c-html-validator
1717
```
1818

19-
## 2) Define task
19+
## 2) Define Task
2020
Create a task in your **gulpfile.js**:
2121
```javascript
2222
// Imports
@@ -36,7 +36,7 @@ const task = {
3636
gulp.task('validate-html', task.validateHtml);
3737
```
3838

39-
## 3) Custom reporting
39+
## 3) Custom Reporting
4040
The results are also added onto each file object under `validationResults`, containing `success` (boolean)
4141
and `messages` (Array).
4242

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"plugin-error": "~1.0",
4747
"through2": "~4.0",
4848
"vinyl": "~2.2",
49-
"w3c-html-validator": "~0.6"
49+
"w3c-html-validator": "~0.7"
5050
},
5151
"devDependencies": {
5252
"jshint": "~2.13",

task-runner.sh.command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ setupTools() {
2929
releaseInstructions() {
3030
cd $projectHome
3131
repository=$(grep repository package.json | awk -F'"' '{print $4}' | sed s/github://)
32-
package=https://raw.githubusercontent.com/$repository/master/package.json
32+
package=https://raw.githubusercontent.com/$repository/main/package.json
3333
version=v$(grep '"version"' package.json | awk -F'"' '{print $4}')
3434
pushed=v$(curl --silent $package | grep '"version":' | awk -F'"' '{print $4}')
3535
released=$(git tag | tail -1)

0 commit comments

Comments
 (0)