文件名称:html-defects
文件大小:28KB
文件格式:ZIP
更新时间:2024-05-30 21:03:18
JavaScript
安装 npm install -- save @ jgch / html - defects 入门 // The defect checker module const hd = require ( '@jgch/html-defects' ) ; // The rule classes const TagsWithoutAttributesRule = require ( './ruleTagsWithoutAttributes.js' ) ; // Instantiating the rules with options const rules = [ { definition : new TagsWithoutAttributesRule ( ) , options : [ { img : 'alt' , } ,
【文件预览】:
html-defects-master
----ruleHeaderWithoutTags.js(2KB)
----rules.js(742B)
----ruleTagsWithoutAttributes.js(741B)
----test.js(1KB)
----gettingStarted.js(672B)
----ruleEqualNumberOfOpeningClosingTags.js(910B)
----ruleTagQuantityComparison.js(2KB)
----writeFile.txt(112B)
----html-defects.js(11KB)
----results.txt(319B)
----exampleUsage.js(707B)
----.gitignore(103B)
----readme.md(12KB)
----package-lock.json(59KB)
----test.html(540B)
----package.json(619B)