mirror of
https://github.com/svg/svgo.git
synced 2025-07-28 09:22:00 +03:00
Format all plugins with prettier
This commit is contained in:
@ -16,13 +16,11 @@ exports.description = 'removes raster images (disabled by default)';
|
||||
*
|
||||
* @author Kir Belevich
|
||||
*/
|
||||
exports.fn = function(item) {
|
||||
|
||||
if (
|
||||
item.isElem('image') &&
|
||||
item.hasAttrLocal('href', /(\.|image\/)(jpg|png|gif)/)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
exports.fn = function (item) {
|
||||
if (
|
||||
item.isElem('image') &&
|
||||
item.hasAttrLocal('href', /(\.|image\/)(jpg|png|gif)/)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user