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": {
"phantom": false,
"describe": false,
"before": false,
"it": false
},
"node": true,
"strict": "global",
"expr": true,
"curly": false,
"camelcase": true,
"eqeqeq": false,
"-W041": false,
"-W008": false,
"forin": false,
"immed": true,
"multistr": true,
"newcap": true,
"nonew": true,
"quotmark": "single",
"undef": true,
"unused": true,
"loopfunc": true,
"trailing": true,
"lastsemic": true
}
{
"globals": {
"phantom": false,
"describe": false,
"before": false,
"it": false
},
"node": true,
"strict": "global",
"expr": true,
"curly": false,
"camelcase": true,
"eqeqeq": false,
"-W041": false,
"-W008": false,
"forin": false,
"immed": true,
"multistr": true,
"newcap": true,
"nonew": true,
"quotmark": "single",
"undef": true,
"unused": true,
"loopfunc": true,
"trailing": true,
"lastsemic": true,
"esversion": 6
}

View File

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