eslint-plugin-html
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "eslint-plugin-html", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "An ESLint plugin to extract and lint scripts from HTML files.", | ||
@@ -22,3 +22,3 @@ "repository": { | ||
"devDependencies": { | ||
"eslint": "^1.10.3", | ||
"eslint": "^2.1.0", | ||
"mocha": "^2.2.4" | ||
@@ -25,0 +25,0 @@ }, |
@@ -8,3 +8,3 @@ eslint-plugin-html | ||
Supported HTML extensions: `.html`, `.xhtml`, `.htm`, `.vue`, `.hbs`, `.mustache` | ||
Supported HTML extensions: `.html`, `.xhtml`, `.htm`, `.vue`, `.hbs`, `.mustache`, `.php` | ||
@@ -11,0 +11,0 @@ Only script tags with no type attribute, with a type attribute containing a standard JavaScript MIME type such as `text/javascript` or `application/javascript`, or `text/babel` will be linted. |
@@ -48,3 +48,3 @@ "use strict"; | ||
var currentInfos; | ||
var allowedExtensions = ["htm", "html", "xhtml", "vue", "hbs", "mustache"]; | ||
var allowedExtensions = ["htm", "html", "xhtml", "vue", "hbs", "mustache", "php"]; | ||
@@ -51,0 +51,0 @@ var htmlProcessor = { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8785
0