Skip to content

Commit d4b128d

Browse files
committed
test add comments
1 parent 733f0aa commit d4b128d

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed

package.json

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"name": "grunt-htmlhint-inline",
3+
"description": "Grunt plugin for linting inline html",
4+
"version": "0.1.1",
5+
"homepage": "https://github.com/kazu69/grunt-htmlhint-inline",
6+
"main": "tasks/htmlhint-inline.js",
7+
"author": {
8+
"name": "kazu69"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git://github.com/kazu69/grunt-htmlhint-inline.git"
13+
},
14+
"bugs": {
15+
"url": "https://github.com/kazu69/grunt-htmlhint-inline/issues"
16+
},
17+
"licenses": [
18+
{
19+
"type": "MIT",
20+
"url": "https://github.com/kazu69/grunt-htmlhint-inline/blob/master/LICENSE-MIT"
21+
}
22+
],
23+
"engines": {
24+
"node": ">= 0.8.0"
25+
},
26+
"scripts": {
27+
"test": "grunt test"
28+
},
29+
"dependencies": {
30+
"htmlhint": "^0.9.6",
31+
"tempfile": "^1.1.0"
32+
},
33+
"devDependencies": {
34+
"grunt": "^0.4.5",
35+
"grunt-contrib-jshint": "^0.11.0"
36+
},
37+
"peerDependencies": {
38+
"grunt": "~0.4.5"
39+
},
40+
"keywords": [
41+
"gruntplugin",
42+
"lint",
43+
"htmlhint",
44+
"inline",
45+
"grunt"
46+
],
47+
"maintainers": [
48+
{
49+
"name": "kazu69"
50+
}
51+
],
52+
"gitHead": "4dced93d3ed7181605afd4dfbcdbd342b4a83a56",
53+
"_id": "grunt-htmlhint-inline@0.1.1",
54+
"_shasum": "bf9da01164fc5c7a2e0b118602fe513054b10562",
55+
"_from": "grunt-htmlhint-inline@*",
56+
"_npmVersion": "2.6.1",
57+
"_nodeVersion": "0.12.0",
58+
"_npmUser": {
59+
"name": "kazu69"
60+
},
61+
"dist": {
62+
"shasum": "bf9da01164fc5c7a2e0b118602fe513054b10562",
63+
"tarball": "http://registry.npmjs.org/grunt-htmlhint-inline/-/grunt-htmlhint-inline-0.1.1.tgz"
64+
},
65+
"directories": {},
66+
"_resolved": "https://registry.npmjs.org/grunt-htmlhint-inline/-/grunt-htmlhint-inline-0.1.1.tgz"
67+
}

test/index.phtml

+10
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ ecoh 'test';
1515
</script>
1616
</head>
1717
<body>
18+
<?php /*
19+
// test comment area
20+
<div>
21+
<?php // echo 'test'; ?>
22+
<img src="" alt="">
23+
<ul>
24+
<li></li>
25+
</ul>
26+
</div>
27+
*/?>
1828
<p>hoge</p>
1929
<ul id="test">
2030
<?php foreach($array as $val): ?>

0 commit comments

Comments
 (0)