1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-29 20:21:14 +03:00

Linter fixes

This commit is contained in:
GreLI
2016-08-25 22:20:14 +03:00
parent cf20f5c6ca
commit c6f77d99ec
2 changed files with 28 additions and 28 deletions

View File

@ -1,27 +1,28 @@
{ {
"globals": { "globals": {
"phantom": false, "phantom": false,
"describe": false, "describe": false,
"before": false, "before": false,
"it": false "it": false
}, },
"node": true, "node": true,
"strict": "global", "strict": "global",
"expr": true, "expr": true,
"curly": false, "curly": false,
"camelcase": true, "camelcase": true,
"eqeqeq": false, "eqeqeq": false,
"-W041": false, "-W041": false,
"-W008": false, "-W008": false,
"forin": false, "forin": false,
"immed": true, "immed": true,
"multistr": true, "multistr": true,
"newcap": true, "newcap": true,
"nonew": true, "nonew": true,
"quotmark": "single", "quotmark": "single",
"undef": true, "undef": true,
"unused": true, "unused": true,
"loopfunc": true, "loopfunc": true,
"trailing": true, "trailing": true,
"lastsemic": true "lastsemic": true,
} "esversion": 6
}

View File

@ -38,7 +38,6 @@ exports.fn = function(data, params) {
currentIDstring, currentIDstring,
IDs = new Map(), IDs = new Map(),
referencesIDs = new Map(), referencesIDs = new Map(),
idPrefix = 'id-', // prefix IDs so that values like '__proto__' don't break the work
hasStyleOrScript = false; hasStyleOrScript = false;
/** /**