mirror of
https://github.com/svg/svgo.git
synced 2025-07-31 07:44:22 +03:00
Linter fixes
This commit is contained in:
@ -23,5 +23,6 @@
|
|||||||
"unused": true,
|
"unused": true,
|
||||||
"loopfunc": true,
|
"loopfunc": true,
|
||||||
"trailing": true,
|
"trailing": true,
|
||||||
"lastsemic": true
|
"lastsemic": true,
|
||||||
|
"esversion": 6
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user