mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
Setup recommended eslint preset (#1345)
This is usually enough to prevent silly mistakes. Formatting will be done by prettier after merging pull requests.
This commit is contained in:
@ -108,6 +108,7 @@ function intersectInheritableAttrs(a, b) {
|
||||
|
||||
for (var n in a) {
|
||||
if (
|
||||
// eslint-disable-next-line no-prototype-builtins
|
||||
b.hasOwnProperty(n) &&
|
||||
inheritableAttrs.indexOf(n) > -1 &&
|
||||
a[n].name === b[n].name &&
|
||||
|
Reference in New Issue
Block a user