htmllint / grunt-htmllint

HTML5 linting and validation.
ISC License
14 stars 17 forks source link

Maximum call stack size exceeded #10

Open ericrange opened 10 years ago

ericrange commented 10 years ago

wtf???

util.js:35 var str = String(f).replace(formatRegExp, function(x) { ^ RangeError: Maximum call stack size exceeded

in my gruntfile:

htmllint: {
            your_target: {
                options: {

                },
                src: [
                    '/bower/**/*.html'
                ]
            }
        }
coalman commented 10 years ago

Looking into this and having a hard time reproducing, a couple of questions:

Also, thanks for reporting!

ericrange commented 10 years ago

-1. no :/ -2.

{
  "name": "",
  "main": "index.js",
  "version": "0.0.0",
  "homepage": """,
  "authors": [

  ],
  "license": "MIT",
  "private": true,
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "jquery": "~2.1.1",
    "polymer": "Polymer/polymer#~0.4.2",
    "paper-elements": "Polymer/paper-elements#~0.4.2",
    "core-elements": "Polymer/core-elements#~0.4.2",
    "moment": "~2.8.3"
  }
}

-3. the latest version(yesterday installed)