File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ module.exports = {
4343
4444## Options
4545
46- You can pass select [ html-validate.org] ( https://html-validate.org/ ) cli options .
46+ You can pass select [ html-validate.org cli options ] ( https://html-validate.org/usage/ cli.html ) .
4747
4848### ` path `
4949
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const schema = require('./schema.json');
44
55class HTMLValidatePlugin {
66 constructor ( options = { } ) {
7- // validate the options being passed through the plugin options
7+ // validate options being passed through the plugin
88 validateOptions ( schema , options , 'HTMLValidatePlugin' ) ;
99
1010 Object . assign (
@@ -62,10 +62,7 @@ class HTMLValidatePlugin {
6262 compiler . hooks . done . tap ( 'HTMLValidatePlugin' , ( ) => {
6363 // set up cli payload
6464 const userParams = `${ this . path } .${ this . getExtensions ( ) } ${ this . getConfig ( ) } ` ;
65- const spawnParams = {
66- shell : true ,
67- /*inherit color output */ stdio : 'inherit' ,
68- } ;
65+ const spawnParams = { shell : true , stdio : 'inherit' } ;
6966
7067 this . runCliBasedOnScope ( userParams , spawnParams ) ;
7168 } ) ;
Original file line number Diff line number Diff line change 22 "type" : " object" ,
33 "properties" : {
44 "path" : {
5+ "description" : " Specifies the directories/files for html-validate to search." ,
56 "type" : " string"
67 },
78 "extensions" : {
9+ "description" : " Specifies the file extensions to use when searching for files in directories." ,
810 "type" : " array"
911 },
1012 "config" : {
13+ "description" : " Specify a different configuration file." ,
1114 "type" : " string"
1215 },
1316 "global" : {
17+ "description" : " Specify the run context of html-validate." ,
1418 "type" : " boolean"
1519 }
1620 },
You can’t perform that action at this time.
0 commit comments