Enhance safe template linter.

- Lint directories and files in sorted order.
- Lint python blocks in Mako.
This commit is contained in:
Robert Raposa
2016-05-17 13:05:04 -04:00
parent 7ecbed43e7
commit cf3ef8aae3
3 changed files with 117 additions and 67 deletions

View File

@@ -1,32 +1,32 @@
{
"rules": {
"javascript-concat-html": 230,
"javascript-concat-html": 229,
"javascript-escape": 7,
"javascript-interpolate": 66,
"javascript-jquery-append": 114,
"javascript-jquery-html": 304,
"javascript-interpolate": 65,
"javascript-jquery-append": 113,
"javascript-jquery-html": 303,
"javascript-jquery-insert-into-target": 26,
"javascript-jquery-insertion": 30,
"javascript-jquery-insertion": 28,
"javascript-jquery-prepend": 12,
"mako-html-entities": 0,
"mako-invalid-html-filter": 33,
"mako-invalid-js-filter": 222,
"mako-js-html-string": 0,
"mako-js-missing-quotes": 0,
"mako-missing-default": 234,
"mako-missing-default": 231,
"mako-multiple-page-tags": 0,
"mako-unknown-context": 0,
"mako-unparseable-expression": 0,
"mako-unwanted-html-filter": 0,
"python-close-before-format": 0,
"python-concat-html": 28,
"python-concat-html": 27,
"python-custom-escape": 13,
"python-deprecated-display-name": 53,
"python-deprecated-display-name": 57,
"python-interpolate-html": 68,
"python-parse-error": 0,
"python-requires-html-or-text": 0,
"python-wrap-html": 279,
"python-wrap-html": 297,
"underscore-not-escaped": 709
},
"total": 2405
"total": 2426
}